Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 21:51:25 +0100 (CET)
From:      Ingo Flaschberger <if@xip.at>
To:        Dave Raven <dave@raven.za.net>
Cc:        freebsd-net@freebsd.org
Subject:   RE: Hping/Ping
Message-ID:  <alpine.LFD.1.00.0802262136550.17127@filebunker.xip.at>
In-Reply-To: <040401c878b2$eac6fb80$c054f280$@za.net>
References:  <03cb01c8789b$04aade30$0e009a90$@za.net> <alpine.LFD.1.00.0802261831490.17127@filebunker.xip.at> <03cf01c8789e$f15b0860$d4111920$@za.net> <alpine.LFD.1.00.0802261848010.17127@filebunker.xip.at> <03d001c878a0$bf3d8680$3db89380$@za.net> <alpine.LFD.1.00.0802261902560.17127@filebunker.xip.at> <03de01c878a3$90cc7560$b2656020$@za.net> <alpine.LFD.1.00.0802261920440.17127@filebunker.xip.at> <03e501c878a5$588f1c50$09ad54f0$@za.net> <alpine.LFD.1.00.0802261930300.17127@filebunker.xip.at> <03e601c878a6$87380980$95a81c80$@za.net> <alpine.LFD.1.00.0802261940340.17127@filebunker.xip.at> <03ef01c878a9$8aa08180$9fe18480$@za.net> <alpine.LFD.1.00.0802262020320.17127@filebunker.xip.at> <03f901c878ac$ea20df30$be629d90$@za.net> <alpine.LFD.1.00.0802262027270.17127@filebunker.xip.at> <040401c878b2$eac6fb80$c054f280$@za.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Dave,

> intr_queue_drops was rising very quickly, after changing queue_maxlen to 500
> (from 50) the problems all went away. What's a reasonable value for that for
> a high load box (5000+ interrupts a second) ?

http://devwiki.pfsense.org/Tuning?show_comments=1
they set it to 3000

intel em-cards have a buffer of max. 4096

some more talks & tuning:
http://osdir.com/ml/freebsd.devel.net/2002-10/msg00072.html
http://osdir.com/ml/freebsd.devel.net/2002-10/msg00104.html

> Also, while over a 1000 pings have gone through fine now, a minute or two
> after I made the change I saw this --
>
> 64 bytes from x.x.x.x: icmp_seq=25 ttl=255 time=0.465 ms
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> 64 bytes from x.x.x.x: icmp_seq=35 ttl=255 time=0.294 ms
>
> It hasn't happened again (and I hope it doesn't) - but is that something I
> should look for?

try todo a netstat -m when you get the buffer errors.

and increase:
net.inet.tcp.sendspace

just to be shure, you have a 1000mbit link?


Kind regards,
 	Ingo Flaschberger




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LFD.1.00.0802262136550.17127>