From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter V. Saveliev" Date: Sat, 06 Oct 2007 01:47:45 +0000 Subject: Re: [LARTC] shaping by packet count rather than bytes ? Message-Id: <200710060547.46008.peet@altlinux.org> List-Id: References: <47064579.3020001@boreham.org> In-Reply-To: <47064579.3020001@boreham.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org В сообщении от Saturday 06 October 2007 05:16:38 David Boreham написал(а): > David Boreham wrote: > >> iptables: limit, hashlimit, dstlimit work on pps basis. > > > > ! yes, I'd thought about that stuff but somehow > > discounted it as 'not worthy' for traffic shaping. > > Actually, I remember now why iptables doesn't work : > > All it does is drop the excess packets over the limit. > Simple packet drop works for ordinary tcp congestion algorithms as a channel overload, and tcp decreases speed. So works RED policing filters and so on. Beside of this, iptables can _accept_ a packet :) You can try to mark and queue the excess packets. -- Peter V. Saveliev _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc