How much can I increase net.inet.ip.ifq.maxlen ?

I'm now at 2048 and still seeing increase in net.inet.ip.ifq.drops. This morning, it was at 21280 and now at 21328.

I've change the système for a temporary more powerfull one (core 2 quad + 2 dual 82571EB) while I'm commanding and building new server and now the congestion have dropped from 3.9 to 0.8.

Something I must specify, I use bi-nat to save public ip address and have thousand of bi-nat rule divided in some anchors.

Thanks

Michel

Le 2012-08-19 08:21, Stuart Henderson a écrit :
On 2012-08-14, Michel Blais <mic...@targointernet.com> wrote:
I maybe found something, congestion seem high when I check with pftcl -si.

I don't think it's hardware related since CPU is under 50% use.

I saw this tread where Henning suggest to raise net.inet.ip.ifq.maxlen
so I raided it to 512 instead of 256.
http://old.nabble.com/PF-congestion-question-td7088168.html

It's a old thread so I wanted to know if it's still a good idea to raise
this sysctl value.
If you are seeing increases in net.inet.ip.ifq.drops, then yes it
usually is a good idea to increase the queue length.

Reply via email to