Problem with dummynet

Volodya Pelekh vpeleh at mail.lviv.ua
Fri Aug 12 10:56:01 GMT 2005


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 at mail.lviv.ua      
----------------------------------------------------------------------



More information about the freebsd-ipfw mailing list