Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Doug Barton
On 07/03/2012 23:29, Alexander V. Chernikov wrote: > On 04.07.2012 01:29, Doug Barton wrote: Just curious ... what's the MTU on your FreeBSD box, and the Linux box? > > In this particular setup - 1500. You're probably meaning type of mbufs > which are allocated by ixgbe driver? 1500 for both?

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Alexander V. Chernikov
On 04.07.2012 12:13, Doug Barton wrote: On 07/03/2012 23:29, Alexander V. Chernikov wrote: On 04.07.2012 01:29, Doug Barton wrote: Just curious ... what's the MTU on your FreeBSD box, and the Linux box? In this particular setup - 1500. You're probably meaning type of mbufs which are allocated

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Luigi Rizzo
On Wed, Jul 04, 2012 at 12:46:09PM +0400, Alexander V. Chernikov wrote: > On 04.07.2012 12:13, Doug Barton wrote: > >On 07/03/2012 23:29, Alexander V. Chernikov wrote: > >>On 04.07.2012 01:29, Doug Barton wrote: > >Just curious ... what's the MTU on your FreeBSD box, and the Linux box? > >> > >

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Alexander V. Chernikov
On 04.07.2012 13:12, Luigi Rizzo wrote: Alex, i am sure you are aware that in FreeBSD we have netmap too Yes, I'm aware of that :) which is probably a lot more usable than packetshader (hw independent, included in the OS, also works on linux...) I'm actually not talking about usability and com

lagg speed trouble

2012-07-04 Thread Vyacheslav Kulikovskyy
i have sever with two 1G links (em) aggregated by lagg0 after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 or em1 I'm using nginx in own CDN. and server don't limited my mbufs, irq, or anything else.. only lagg0 errors ( netstat -w 1 -I em0 input (em0)

Re: lagg speed trouble

2012-07-04 Thread Damien Fleuriot
On 7/4/12 1:30 PM, Vyacheslav Kulikovskyy wrote: > i have sever with two 1G links (em) aggregated by lagg0 > > after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 > or em1 > > I'm using nginx in own CDN. and server don't limited my mbufs, irq, or > anything else.. only lagg0

Re: lagg speed trouble

2012-07-04 Thread Vyacheslav Kulikovskyy
>Do the ports on the switch report any layer 2 error, by chance ? I don't have access to swith, but without lagg0 i have near 980Mbit's on one em0 network link. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ne

problem on ipfw using mac addresses

2012-07-04 Thread h bagade
Hi all, I have a problem using ipfw firewall. I have a topology connected as below: A(192.168.1.55) - (192.168.1.1)my_sys(192.168.2.1) ---(192.168.2.12)B I've set the rule "ipfw add 1 deny icmp from any to any" on my_sys, which works correctly. I can't ping from A to B by the rule. Then

setting up dns server

2012-07-04 Thread m s
Hi all. I want to config FreeBSD as a dns server. I did below configuration but when I use "nslookup" command it doesn't work. I also enabled named service in rc.conf file and put my ip as a nameserver in "resolv.conf". what am I missing?is there anything else I should do? any help would be appric

Re: problem on ipfw using mac addresses

2012-07-04 Thread Andrey V. Elsukov
On 04.07.2012 17:04, h bagade wrote: > Hi all, > > I have a problem using ipfw firewall. I have a topology connected as below: > > A(192.168.1.55) - (192.168.1.1)my_sys(192.168.2.1) > ---(192.168.2.12)B > > I've set the rule "ipfw add 1 deny icmp from any to any" on my_sys, which > works

Re: problem on ipfw using mac addresses

2012-07-04 Thread Paul A. Procacci
Have you set net.link.ether.ipfw? ~Paul On Wed, Jul 04, 2012 at 05:34:04PM +0430, h bagade wrote: > Hi all, > > I have a problem using ipfw firewall. I have a topology connected as below: > > A(192.168.1.55) - (192.168.1.1)my_sys(192.168.2.1) > ---(192.168.2.12)B > > I've set the rule "ip

Re: setting up dns server

2012-07-04 Thread Paul A. Procacci
- What bind listening? (Can you see it with netstat?) - What port is it listening to? - What errors (if any) are in the error log? I'm afraid your question really isn't a specific FreeBSD problem. You might have better luck on the BIND mailing list. ~Paul On Wed, Jul 04, 2012 at 06:43:00AM -070

how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Budnev Vladimir
Good day to all. What is the correct way to distinguish udp packets that obtained by application and were send on 255.255.255.255 ip addr from those that were send to unicast ip? Seems it is impossible with read/recvfrom so we'v made that with libpcap. It coul be done with directly bpf api w

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Luigi Rizzo
On Wed, Jul 04, 2012 at 01:54:01PM +0400, Alexander V. Chernikov wrote: > On 04.07.2012 13:12, Luigi Rizzo wrote: > >Alex, > >i am sure you are aware that in FreeBSD we have netmap too > Yes, I'm aware of that :) > > >which is probably a lot more usable than packetshader > >(hw independent, includ

Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Nikolay Denev
On Jul 4, 2012, at 6:08 PM, Budnev Vladimir wrote: > Good day to all. > > What is the correct way to distinguish udp packets that obtained by > application and were send on 255.255.255.255 ip addr from those that were > send to unicast ip? > > Seems it is impossible with read/recvfrom so we'v

Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?

2012-07-04 Thread Budnev Vladimir
07/04/12 19:37, Nikolay Denev пишет: On Jul 4, 2012, at 6:08 PM, Budnev Vladimir wrote: Good day to all. What is the correct way to distinguish udp packets that obtained by application and were send on 255.255.255.255 ip addr from those that were send to unicast ip? Seems it is impossible w

Re: lagg speed trouble

2012-07-04 Thread Jason Hellenthal
An ifconfig -v lagg0 might be useful here netstat -m and maybe more that others can advise on. On Wed, Jul 04, 2012 at 02:58:30PM +0300, Vyacheslav Kulikovskyy wrote: > >Do the ports on the switch report any layer 2 error, by chance ? > > I don't have access to swith, but without lagg0 i have

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Lev Serebryakov
Hello, Alexander. You wrote 4 июля 2012 г., 12:46:09: AVC> http://shader.kaist.edu/packetshader/ (and links there) are good example AVC> of what is going on. But HOW?! GPU has very high "preparation" and data transfer cost, how it could be used for such small packets of data, as 1.5-9K data

Re: FreeBSD 10G forwarding performance @Intel

2012-07-04 Thread Alexander V. Chernikov
On 04.07.2012 23:37, Lev Serebryakov wrote: Hello, Alexander. You wrote 4 июля 2012 г., 12:46:09: AVC> http://shader.kaist.edu/packetshader/ (and links there) are good example AVC> of what is going on. But HOW?! GPU has very high "preparation" and data transfer cost, how it could be use

Re: lagg speed trouble

2012-07-04 Thread Andrew Thompson
On 4 July 2012 23:30, Vyacheslav Kulikovskyy wrote: > i have sever with two 1G links (em) aggregated by lagg0 > > after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 > or em1 > > I'm using nginx in own CDN. and server don't limited my mbufs, irq, or > anything else.. only lag

Re: setting up dns server

2012-07-04 Thread Doug Barton
On 07/04/2012 06:43, m s wrote: > I want to config FreeBSD as a dns server. You don't mention what kind of name server you want, but from the rest of your post I'm assuming that you want a local resolver. If that's the case, your best bet is to stick with all of the defaults in the base currently,

Re: lagg speed trouble

2012-07-04 Thread Eugene Grosbein
04.07.2012 18:30, Vyacheslav Kulikovskyy пишет: > i have sever with two 1G links (em) aggregated by lagg0 > > after 1700Megabits i have collisions/errors on lagg0 port, but not on em0 > or em1 > > I'm using nginx in own CDN. and server don't limited my mbufs, irq, or > anything else.. only lagg0