Date: Thu, 22 May 2008 02:20:09 -0400 From: "Ansar Mohammed" <ansarm@gmail.com> To: "'Jeremy Chadwick'" <koitsu@FreeBSD.org> Cc: freebsd-pf@freebsd.org Subject: RE: ALTQ and bandwidth limiting Message-ID: <006601c8bbd3$e3b654d0$ab22fe70$@com> In-Reply-To: <20080522042936.GA24418@eos.sc1.parodius.com> References: <002d01c8bba7$96128db0$c237a910$@com> <20080522042936.GA24418@eos.sc1.parodius.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ok, I got a bit further. I compiled in ALTQ and I am using Class Based Queueing. Here is a snippet of my pf.conf altq on le1 cbq bandwidth 100Mb queue { std, cifs, http } queue std bandwidth 88.5Mb cbq(default) queue cifs bandwidth 1500Kb cbq queue http bandwidth 1Mb cbq Here is the problem, no matter what value I set for the CBQ Queue, its at least 1/4 of the actual configured maximum. So I configured http for 1Mb, the max throughput I get is 288Mb. Can anyone explain why? > -----Original Message----- > From: Jeremy Chadwick [mailto:koitsu@FreeBSD.org] > Sent: May 22, 2008 12:30 AM > To: Ansar Mohammed > Cc: freebsd-pf@freebsd.org > Subject: Re: ALTQ and bandwidth limiting > > On Wed, May 21, 2008 at 09:02:59PM -0400, Ansar Mohammed wrote: > > Hello All, > > > > Is there a way using PF and ALTQ that I can set a policy to restrict > a > > particular host to a maximum network speed? > > > > I would like to simulate low speed connection using pf. > > I believe ipfw dummynet has the capability you're looking for. See the > ipfw manpage, section "TRAFFIC SHAPER". > > -- > | Jeremy Chadwick jdc at parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006601c8bbd3$e3b654d0$ab22fe70$>