From owner-freebsd-hackers Tue Feb 9 23:54:47 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA26968 for freebsd-hackers-outgoing; Tue, 9 Feb 1999 23:54:47 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from keep.scn.ru (keep.scnet.ru [195.239.174.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA26955 for ; Tue, 9 Feb 1999 23:54:33 -0800 (PST) (envelope-from smith@scn.ru) Received: from scn.ru (quick.scnet.ru [195.239.174.3]) by keep.scn.ru (8.9.1/8.9.1) with ESMTP id OAA25583; Wed, 10 Feb 1999 14:53:04 +0700 (KRS) Message-ID: <36C139C9.17B09702@scn.ru> Date: Wed, 10 Feb 1999 14:48:25 +0700 From: "Vladimir N. Kovalev" Reply-To: smith@scn.ru Organization: Sibchallenge Telecom Inc. X-Mailer: Mozilla 4.07 [en] (Win95; I) MIME-Version: 1.0 To: Luigi Rizzo CC: freebsd-hackers@FreeBSD.ORG Subject: Re: Dummynet pipes truble References: <199902100527.GAA17352@labinfo.iet.unipi.it> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Luigi Rizzo wrote: > > > 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. Thanks ! Vladimir Kovalev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message