From owner-freebsd-net@FreeBSD.ORG Tue Dec 16 20:32:34 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0AED916A4CE for ; Tue, 16 Dec 2003 20:32:34 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B6D843D55 for ; Tue, 16 Dec 2003 20:32:32 -0800 (PST) (envelope-from billf@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1098) id 4C91A5C7AD; Tue, 16 Dec 2003 20:32:32 -0800 (PST) Date: Tue, 16 Dec 2003 20:32:32 -0800 From: Bill Fumerola To: Kevin Stevens Message-ID: <20031217043232.GC82802@elvis.mu.org> References: <2B766ABB-3027-11D8-A624-000A95775140@battleface.com> <38E6743A-3044-11D8-B24B-000A959CEE6A@pursued-with.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38E6743A-3044-11D8-B24B-000A959CEE6A@pursued-with.net> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.9-MUORG-20031210 i386 cc: freebsd-net@freebsd.org Subject: Re: suffering from poor network performance... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: billf@mu.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Dec 2003 04:32:34 -0000 [ this isn't really -net material ] On Tue, Dec 16, 2003 at 07:50:57PM -0800, Kevin Stevens wrote: > >First, Barney was correct: using "ping -f" will run into the ICMP > >response limitation. Try using "ping -i 0.01 _hostname_", instead, > >and you may find out that you don't have a problem with packet loss at > >all at this lower speed. > > I wish I had a FreeBSD box to check this on, but from an OS X G5 to an > Athlon WinXP box (both at 100% CPU from distribfolding client: which is completely irrelevant because your winxp machine doesn't have the aforementioned icmp response limiter. > That's through a cheap Gb switch. Just a data point. ... albiet a useless one. [ SECURE !1 ]$ sudo ping -f choker.corp PING choker.corp.yahoo.com (216.145.52.228): 56 data bytes .............................................................^C --- choker.corp.yahoo.com ping statistics --- 459 packets transmitted, 398 packets received, 13% packet loss round-trip min/avg/max/stddev = 0.221/0.227/0.302/0.010 ms $ dmesg | tail -1 (~) Limiting icmp ping response from 246 to 200 packets/sec [choker.corp(ttyq0)-fumerola Tue16Dec/20:27:57] [ SECURE !4 ]$ sudo sysctl net.inet.icmp.icmplim=0 net.inet.icmp.icmplim: 200 -> 0 [scurvy.corp(ttyp1)-fumerola Tue16Dec/20:28:19] [ SECURE !3 ]$ sudo ping -f -c 10000 choker.corp PING choker.corp.yahoo.com (216.145.52.228): 56 data bytes .. --- choker.corp.yahoo.com ping statistics --- 10000 packets transmitted, 10000 packets received, 0% packet loss -- - bill fumerola / fumerola@yahoo-inc.com / billf@FreeBSD.org