From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Sat, 04 Jun 2005 13:35:24 +0000 Subject: Re: [LARTC] New HTB-derived qdisc for accounting? Message-Id: <42A1AE1C.6030306@trash.net> List-Id: References: <42A1A26A.1010700@gmx.net> In-Reply-To: <42A1A26A.1010700@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Carl-Daniel Hailfinger wrote: > Proposal: > ---------------------------------- > Another idea would be to create a qdisc HTBQ (HTB with quota) > derived from HTB with the following characteristics: > > htb_rate=min(htbq_rate, (alreadysent=>htbq_squota)?((htbq_quota-alreadysent)/remtime):htbq_rate) Why do you want to decrease speed as the quota is approached? Wouldn't a simple per-class quota or a quota-ematch work as well? Regards Patrick _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc