Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 14:08:57 +0100
From:      Bjorn Eikeland <bjorn@eikeland.info>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: dummynet = local taffic > 100ms - help!
Message-ID:  <opr25n47dcomdbx5@localhost>
In-Reply-To: <4028C9A9.7090503@mac.com>
References:  <opr24pm6dnomdbx5@localhost> <4028C9A9.7090503@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
På Tue, 10 Feb 2004 07:08:09 -0500, skrev Chuck Swiger <cswiger@mac.com>:

> 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



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