Re: Router performance - high BDP and low transfer speeds

2012-01-09 Thread Graham Allan
On 1/8/2012 2:12 PM, Claudio Jeker wrote: Large buffer sizes may cause bursty traffic. So it is possible that these bursts cause packet drops and retransmits. Packet drops on OpenBSD can be seen on the ip input queue (sysctl net.inet.ip.ifq.drops) and on the individual interfaces (netstat -i / -

Re: Router performance - high BDP and low transfer speeds

2012-01-08 Thread Claudio Jeker
On Sun, Jan 08, 2012 at 01:50:54PM -0600, Graham Allan wrote: > On 1/7/2012 4:48 AM, 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

Re: Router performance - high BDP and low transfer speeds

2012-01-08 Thread Graham Allan
On 1/7/2012 4:48 AM, 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. As a test to help pinpoint things, can you try passing the traffic n

Re: Router performance - high BDP and low transfer speeds

2012-01-08 Thread Graham Allan
On 1/8/2012 8:59 AM, Claudio Jeker wrote: 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 a

Re: Router performance - high BDP and low transfer speeds

2012-01-08 Thread Claudio Jeker
On Sat, Jan 07, 2012 at 10:48:34AM +, 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?

Re: Router performance - high BDP and low transfer speeds

2012-01-07 Thread Graham Allan
On 1/6/2012 11:13 PM, Hassan Monfared wrote: Hi, have you tried timeout and optimization settings in PF ? try : set optimization high-latency or set optimization conservative Thanks for the ideas. I did consider the high-latency setting, but have not tried it. My understanding (which might be

Re: Router performance - high BDP and low transfer speeds

2012-01-07 Thread Graham Allan
On 1/7/2012 4:48 AM, 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? I haven't been able to compare

Re: Router performance - high BDP and low transfer speeds

2012-01-07 Thread Stuart Henderson
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

Re: Router performance - high BDP and low transfer speeds

2012-01-06 Thread Hassan Monfared
Hi, have you tried timeout and optimization settings in PF ? try : set optimization high-latency or set optimization conservative also try set timeout . and watch the limits of state tables and set the properly if needed. Regards On Sat, Jan 7, 2012 at 5:17 AM, Graham Allan wrote: > Hi,

Router performance - high BDP and low transfer speeds

2012-01-06 Thread Graham Allan
Hi, I'm trying to troubleshoot some performance issues for high speed data transfers across a long network path with a fairly high bandwidth delay. The router is running OpenBSD 4.6 - admittedly well overdue for an update to 5.0, but I did briefly test 5.0 on a backup machine and saw much th