From owner-freebsd-hackers Tue Feb 9 23:42:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25781 for freebsd-hackers-outgoing; Tue, 9 Feb 1999 23:42:56 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id XAA25775 for ; Tue, 9 Feb 1999 23:42:54 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id GAA17352; Wed, 10 Feb 1999 06:27:21 +0100 From: Luigi Rizzo Message-Id: <199902100527.GAA17352@labinfo.iet.unipi.it> Subject: Re: Dummynet pipes truble To: smith@scn.ru Date: Wed, 10 Feb 1999 06:27:21 +0100 (MET) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <36C0FE36.9A2116D8@scn.ru> from "Vladimir N. Kovalev" at Feb 10, 99 10:33:55 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > The bw values are rounded (or truncated ?) to some near integer > > depending on the value of HZ and it could be that setting too low a > > bandwidth results in 0 which means unlimited. > > The value of HZ in my kernel equal to 1000. > And then I set bw to 1KB, I get bandwidth value equal to 8 Kbit/s, like this : if i remember well dummynet cannot set the BW to less than 1 byte/tick, that means 8000 bit/s with HZ=1000. I have to fix this... apart from this there might be parsing problem in the ipfw command. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message