From owner-freebsd-net@FreeBSD.ORG Tue Feb 10 05:10:35 2004 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 B34DC16A503 for ; Tue, 10 Feb 2004 05:10:35 -0800 (PST) Received: from mail.valuehost.co.uk (mail.valuehost.co.uk [62.25.99.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 114BB43D2F for ; Tue, 10 Feb 2004 05:10:35 -0800 (PST) (envelope-from bjorn@eikeland.info) Received: (qmail 32384 invoked by uid 89); 10 Feb 2004 13:10:25 +0000 Received: from unknown (HELO beer.eikeland.info) (bjorn@eikeland.info@80.202.106.8) by mail.valuehost.co.uk with SMTP; 10 Feb 2004 13:10:25 +0000 To: Chuck Swiger References: <4028C9A9.7090503@mac.com> Message-ID: From: Bjorn Eikeland Content-Type: text/plain; format=flowed; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 10 Feb 2004 14:08:57 +0100 In-Reply-To: <4028C9A9.7090503@mac.com> User-Agent: Opera7.23/FreeBSD M2 build 518 cc: "freebsd-net@freebsd.org" Subject: Re: dummynet = local taffic > 100ms - help! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 10 Feb 2004 13:10:35 -0000 På Tue, 10 Feb 2004 07:08:09 -0500, skrev Chuck Swiger : > Bjorn Eikeland wrote: > [ ... ] >> DUMMYNET and HZ=10000 is in the kernel. >> >> Any suggestions what can be causing this? (I've only got the one nic, >> and use a adsl router for internett) > > I seem to recall some issues with setting HZ very fast, in that it > breaks the uniqueness assumptions made by TCP sequence generation if HZ > > 1000. Dummynet does want better than the standard 10ms granularity > (HZ=100), so perhaps you might try HZ=1000 and see whether that makes > any difference. > > You might also consider increasing the queue length of your pipes when > using prioriziation--- are you seeing packets being dropped? My bad, HZ is 1000 will try queue lengts, but havent seen any packets getting dropped. Have included ping statistics below: --- localhost ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.039/0.055/0.074/0.011 ms --- 10.0.0.2 ping statistics --- (My box) 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 30.989/114.977/162.977/36.056 ms --- 10.0.0.3 ping statistics --- (Host on my LAN) 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.224/0.247/0.300/0.024 ms --- 80.202.106.8 ping statistics --- (ADSL routers public ip) 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 18.992/54.928/88.982/21.957 ms --- www.google.akadns.net ping statistics --- 10 packets transmitted, 10 packets received, 0% packet loss round-trip min/avg/max/stddev = 103.102/140.079/189.990/24.000 ms