Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 13:04:53 +0300
From:      vladone <vladone@spaingsm.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Re[2]: dummynet patch
Message-ID:  <477488950.20050920130453@spaingsm.com>
In-Reply-To: <20050919122154.GM51142@obiwan.tataz.chchile.org>
References:  <97663975.20050917141303@spaingsm.com> <20050919122154.GM51142@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, thanks! But is a little redundant and confused to pass packets to
multiple pipe and queue. Isn't more elegant to put an option on queue
that limit maximum bandwitdth to that queue (like "bw" option for pipe)?
I dont know programming (not well), but i think that, can do the job,
if is put an supplementary condition, to verify if bandwidth
allocated for that queue is less or great than an "bw" parameter.
An queue declaration like:
  ipfw queue 1 config weight 10 pipe 1 bw 128kbits/s
  ipfw queue 2 config weight 20 pipe 1 bw 256kbits/s
is more clear and efficiently.
This mean that an queue receive bandwidth according with they weight
but no more that value indicated by "bw" parameter.
Someone with experience and that know code for dummynet, can make easy
(i think) an patch for that.




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