On Sat, Jan 07, 2012 at 10:48:34AM +0000, Stuart Henderson wrote: > In gmane.os.openbsd.misc, you wrote: > > I'm trying to troubleshoot some performance issues for high speed data > > transfers across a long network path with a fairly high bandwidth delay. > > Any difference between TCP and UDP? > > As a test to help pinpoint things, can you try passing the traffic > near the top of your ruleset with 'pass quick..flags any no state'? > Or with PF ddisabled if that's possible? > > Anything in syslog from PF? How about after pfctl -xmisc? > > Is this path using the same network interface as you've used in > local tests? > > Always worth including dmesg, irq assignments might be interesting. > > Are any interfaces marked 'down'? > > Are you using pfsync? > > Doing any bridging or just routing? >
And have a look at "systat mbuf" and the values of LIVELOCKS and the per interface ALIVE and CWM counters. If the LIVELOCKS counter increases often or the CWM is very low then this could explain the traffic issues since the interfaces will drop a small amount of packets and this will cause a larger traffic drop on long distance TCP sessions. -- :wq Claudio