Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2005 13:51:09 +0300
From:      Volodya Pelekh <vpeleh@mail.lviv.ua>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re[2]: Problem with dummynet
Message-ID:  <1961417412.20050812135109@mail.lviv.ua>
In-Reply-To: <42FB83E1.5020706@mac.com>
References:  <1591062177.20050811190036@mail.lviv.ua> <42FB7A5A.5060802@mac.com> <875355983.20050811194820@mail.lviv.ua> <42FB83E1.5020706@mac.com>

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

Thanks
When i set HZ=1000, delay stay normal, i try this on may
test computer, but i think it will be working and on server
Thank you

Thursday, August 11, 2005, 7:59:13 PM, You wrote:
> Volodya Pelekh wrote:
>> Yes it set at default value
>> sysctl kern.clockrate
>> kern.clockrate: { hz = 100, tick = 10000, profhz = 1024, stathz = 128 }
>> 
>> but in freebsd 4.5, 5.3 in my network this set in HZ 100 too, and i
>> have not this problem on those computers

> How much of a difference changing HZ makes may depend on a lot of things such
> as whether you are using device polling, etc, but if you care about reducing
> the latency observed by network stats to below 10 ms, adding:

> kern.hz="1000"

> ...to /boot/loader.conf and rebooting is definitely worth the try.  As the
> manpage for dummynet itself says:

>      Generally, the following options are required:

>             options IPFIREWALL
>             options DUMMYNET
>             options HZ=1000         # strongly recommended

>       Additionally, one may want to increase the number of mbuf clusters (used
>       to store network packets) according to the sum of the bandwidth-delay
>       products and queue sizes of all configured pipes.


> Also, you ought to upgrade that 4.5 system to 4.11 if you can, there are some
> significant security issues which have been issued between the two, BTW.



----------------------------------------------------------------------
UARNet
Volodymyr Pelekh           Tel: +38 0322 97 91 16
E-mail                     mailto:vpeleh@mail.lviv.ua      
----------------------------------------------------------------------




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