From owner-freebsd-net@FreeBSD.ORG Tue Feb 26 20:51:28 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF940106566C for ; Tue, 26 Feb 2008 20:51:28 +0000 (UTC) (envelope-from if@xip.at) Received: from chile.gbit.at (ns1.xip.at [193.239.188.99]) by mx1.freebsd.org (Postfix) with ESMTP id 202B413C44B for ; Tue, 26 Feb 2008 20:51:27 +0000 (UTC) (envelope-from if@xip.at) Received: (qmail 30414 invoked from network); 26 Feb 2008 21:51:26 +0100 Received: from unknown (HELO filebunker.xip.at) (86.59.10.180) by chile.gbit.at with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Feb 2008 21:51:26 +0100 Date: Tue, 26 Feb 2008 21:51:25 +0100 (CET) From: Ingo Flaschberger To: Dave Raven In-Reply-To: <040401c878b2$eac6fb80$c054f280$@za.net> Message-ID: References: <03cb01c8789b$04aade30$0e009a90$@za.net> <03cf01c8789e$f15b0860$d4111920$@za.net> <03d001c878a0$bf3d8680$3db89380$@za.net> <03de01c878a3$90cc7560$b2656020$@za.net> <03e501c878a5$588f1c50$09ad54f0$@za.net> <03e601c878a6$87380980$95a81c80$@za.net> <03ef01c878a9$8aa08180$9fe18480$@za.net> <03f901c878ac$ea20df30$be629d90$@za.net> <040401c878b2$eac6fb80$c054f280$@za.net> User-Agent: Alpine 1.00 (LFD 882 2007-12-20) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: RE: Hping/Ping X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2008 20:51:28 -0000 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