Re: Poor network performance for clients in 100MB to Gigabit environment

2008-07-02 Thread Ingo Flaschberger
Dear David, try to enable flow-control at the gig-e switch and freebsd network card. Kind regards, ingo flaschberger geschaeftsleitung --- netstorage-crossip-flat:fee powered by crossip communications gmbh --- sebastian kneipp gasse 1 a-10

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Paul
SMP DISABLED on my Opteron 2212 (ULE, Preemption on) Yields ~750kpps in em0 and out em1 (one direction) I am miffed why this yields more pps than a) with all 4 cpus running and b) 4 cpus with lagg load balanced over 3 incoming connections so 3 taskq threads I would be willing to set up test e

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Ingo Flaschberger
Dear Paul, SMP DISABLED on my Opteron 2212 (ULE, Preemption on) Yields ~750kpps in em0 and out em1 (one direction) I am miffed why this yields more pps than a) with all 4 cpus running and b) 4 cpus with lagg load balanced over 3 incoming connections so 3 taskq threads because less locking,

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Paul
Ipfw rule was simply allow ip from any to any :) This is 64bit i'm testing now.. I have a 32 bit install I tested on another machine but it only has bge NIC and wasn't performing as well so I'll reinstall 32 bit on this 2212 and test then drop in the (3ghz) and test. I still don't like the

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Ingo Flaschberger
Dear Paul, I still don't like the huge hit ipfw and lagg take :/ I think, you can't use fastforward with with lagg. ** I tried polling in UP mode and I got some VERY interesting results.. CPU is 44% idle (idle polling isn't on) but I'm getting errors! It's doing 530kpps with ipfw loaded,

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Stefan Lambrev
Hi Ingo Flaschberger wrote: Dear Paul, I still don't like the huge hit ipfw and lagg take :/ You have to try PF, then you will respect IPFW again ;) -cut- So my maximum without polling is close to 800kpps but if I push that it starts locking me from doing things, or how many kpps do you

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Adrian Chadd
2008/7/2 Stefan Lambrev <[EMAIL PROTECTED]>: > Do not know for Paul but, I want to be able to route (and/or bridge to > handle) 600-700mbps syn flood, > which is something like 1500kpps in every direction. Is it unrealistic? > If the code is optimized to fully utilize MP I do not see a reason why

Re: Route messages

2008-07-02 Thread Mike Tancsa
At 05:24 AM 7/1/2008, Bjoern A. Zeeb wrote: On Tue, 1 Jul 2008, Bjoern A. Zeeb wrote: Hi, On Tue, 1 Jul 2008, Andre Oppermann wrote: Hi, Mike Tancsa wrote: I am thinking http://lists.freebsd.org/pipermail/cvs-src/2008-April/090303.html is the commit ? If I revert to the prev version, the i

Re: Route messages

2008-07-02 Thread Andre Oppermann
Bjoern A. Zeeb wrote: On Tue, 1 Jul 2008, Bjoern A. Zeeb wrote: Hi, On Tue, 1 Jul 2008, Andre Oppermann wrote: Hi, Mike Tancsa wrote: I am thinking http://lists.freebsd.org/pipermail/cvs-src/2008-April/090303.html is the commit ? If I revert to the prev version, the issue goes away. Ha,

Re: kern/124540: [tcp] RTM_MISS with the transit packets

2008-07-02 Thread bz
Synopsis: [tcp] RTM_MISS with the transit packets Responsible-Changed-From-To: freebsd-net->bz Responsible-Changed-By: bz Responsible-Changed-When: Wed Jul 2 13:52:56 UTC 2008 Responsible-Changed-Why: My fault most likely, patch out for review already. http://www.freebsd.org/cgi/query-pr.cgi?pr=

Re: Route messages

2008-07-02 Thread Bjoern A. Zeeb
On Wed, 2 Jul 2008, Mike Tancsa wrote: Hi, Index: sys/netinet/ip_input.c === RCS file: /shared/mirror/FreeBSD/r/ncvs/src/sys/netinet/ip_input.c,v retrieving revision 1.332.2.2 diff -u -p -r1.332.2.2 ip_input.c --- sys/netinet/ip_in

Re: Route messages

2008-07-02 Thread Mike Tancsa
At 09:51 AM 7/2/2008, Andre Oppermann wrote: Andre, could you review this? Yes, this should fix the problem. I haven't tested the patch though. It works for me in the lab and on one production machine I patched early this morning. ---Mike -- Andre Index: sys/netinet/ip_input.

Re: kern/124225: [ndis] [patch] ndis network driver sometimes loses network connection

2008-07-02 Thread cokane
Synopsis: [ndis] [patch] ndis network driver sometimes loses network connection Responsible-Changed-From-To: freebsd-net->cokane Responsible-Changed-By: cokane Responsible-Changed-When: Wed Jul 2 14:56:51 UTC 2008 Responsible-Changed-Why: PR refers to a recent commit of changes that I made, I wil

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Paul
Fastforward works with lagg , lagg just has some issues that need to be fixed, even on UP system. It has the same issue as IPFW. kern.polling.idlepoll_sleeping: 1 kern.polling.stalled: 806 kern.polling.suspect: 97861 kern.polling.phase: 0 kern.polling.enable: 0 kern.polling.handlers: 2 kern.poll

Re: Route messages

2008-07-02 Thread Paul
Works for me on test machine.. I was expecting a performance increase, but nothing changed.. Just no more route messages, zebra will be happy. Bjoern A. Zeeb wrote: On Wed, 2 Jul 2008, Mike Tancsa wrote: Hi, Index: sys/netinet/ip_input.c =

Re: A query regarding SCTP congestion control

2008-07-02 Thread sazzadur rahman
Hello, I need to get SCTP congestion window data for research purpose. I collected cwnd data from SCTP sender running on FreeBSD 7.0 machine by using KTR kernel log. After that, I tried to plot cwnd vs. time and generated graph. But I am unable to explain the graph and it is very different compared

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Freddie Cash
On Mon, Jun 30, 2008 at 6:39 PM, Ingo Flaschberger <[EMAIL PROTECTED]> wrote: >> I'm curious now... how do you change individual device polling via sysctl? > > not via sysctl, via ifconfig: > > # enable interface polling > /sbin/ifconfig em0 polling > /sbin/ifconfig em1 polling > /sbin/ifconfig em2

Re: connect(): Operation not permitted

2008-07-02 Thread Stef
Kian Mohageri wrote: > On Sun, May 18, 2008 at 3:33 AM, Johan Ström <[EMAIL PROTECTED]> wrote: >> On May 18, 2008, at 9:19 AM, Matthew Seaman wrote: >> >>> Johan Ström wrote: >>> drop all traffic)? A check with pfctl -vsr reveals that the actual rule inserted is "pass on lo0 inet from 123

arplookup x.x.x.x failed: host is not on local network

2008-07-02 Thread Peter Jeremy
I'm occasionally seeing pairs of messages like the following on my NAT host: arplookup 192.168.181.114 failed: host is not on local network arpresolve: can't allocate route for 192.168.181.114 In my particular configuration, there are dual subnets between the NAT and target host. My initial assum

Re: Freebsd IP Forwarding performance (question, and some info) [7-stable, current, em, smp]

2008-07-02 Thread Paul
Preliminary 32 bit results... When I started out it looked like 32 bit was worse than 64 bit, but it's just the timers are different. For instance, 4000 hz in 64 bit gives better results than 4000hz in 32 bit. Low HZ gives better result with polling on in 32 bit Bottom line, so far I'm not able