Re: pf performance?

2013-04-28 Thread Gleb Smirnoff
Kajetan, On Fri, Apr 26, 2013 at 09:50:17PM +0200, Kajetan Staszkiewicz wrote: K> > > > How do you count the 140kpps value? One interface, both, in, out? I'd K> > > > like to relate this somehow to my values. K> > > K> > > Well, generally we see 80kpps rx and 40kpps tx. But I have seen the rx

RE: TF_NEEDSYN flag never set.

2013-04-28 Thread Barry Spinney
Yes, I switched over to using src_current.tar.gz, and that specific bug seems to be gone. Thanx a lot. BUT, the original reason I was looking so closely at this code, still remains a mystery to me. In particular, the comment on lines 2716-2717 of tcp_input.c, along with the following statemen

Re: TF_NEEDSYN flag never set.

2013-04-28 Thread Juli Mallett
On Sun, Apr 28, 2013 at 3:31 PM, Barry Spinney wrote: > (p.s. I doubt it matters which version of code, but to be precise this is > from the > /pub/FreeBSD/development/tarballs named "src_stable_6.tar.gz" dated > "4/21/2013 01:15 AM", > gotten from ftp1.us.freebsd.org)

Re: TF_NEEDSYN flag never set.

2013-04-28 Thread Mark Johnston
On Sun, Apr 28, 2013 at 10:31:48PM +, Barry Spinney wrote: > I am sorry if this is a dumb question, but I was trying to understand the > FreeBSD TCP stack, > and In particular I was trying to understand the use of the TF_NEEDSYN flag. > This flag > is referenced a number of times in tcp_inpu

TF_NEEDSYN flag never set.

2013-04-28 Thread Barry Spinney
I am sorry if this is a dumb question, but I was trying to understand the FreeBSD TCP stack, and In particular I was trying to understand the use of the TF_NEEDSYN flag. This flag is referenced a number of times in tcp_input.c and tcp_output.c, but I don't think that it can ever be set. In par

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-04-28 Thread Barney Cordoba
The point of lists is to be able to benefit from other's experiences so you don't have to waste your time "trying" things that others have already done. I'm not pontificating. I've done the tests. There's no reason for every person who is having to exact same problem to do the same tests over and

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-04-28 Thread Jack Vogel
Try setting your queues to 1, run some tests, then try setting your queues to 2, then to 4... its called tuning, and rather than just pontificating about it, which Barney so loves to do, you can discover what works best. I ran tests last week preparing for a new driver version and found the best re

Re: using netmap

2013-04-28 Thread Sami Halabi
Thank you. I've started using pkt-gen in virtualbox, 2 machines singlwe core-i7 3612QM core, with em cards internal. I see that the sender send about 950 kpps but the receiver is far less (around 200kpps max). Any suggestions why this? Sami On Apr 26, 2013 11:23 AM, "Luigi Rizzo" wrote: > On Fri

Re: forwarding/ipfw/pf evolution (in pps) on -current

2013-04-28 Thread Olivier Cochard-Labbé
On Thu, Apr 25, 2013 at 11:28 AM, Andre Oppermann wrote: > > > Again one has to be really careful drawing any firm conclusions from this > as it was measured on a Pentium4 and UP kernel (GENERIC would add WITNESS > and INVARIANT overhead as well). > > The Pentium4 is about the worst micro-architec

Re: High CPU interrupt load on intel I350T4 with igb on 8.3

2013-04-28 Thread Barney Cordoba
--- On Fri, 4/26/13, "Clément Hermann (nodens)" wrote: > From: "Clément Hermann (nodens)" > Subject: High CPU interrupt load on intel I350T4 with igb on 8.3 > To: freebsd-net@freebsd.org > Date: Friday, April 26, 2013, 7:31 AM > Hi list, > > We use pf+ALTQ for trafic shaping on some routers.