From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Wed, 10 Apr 2002 02:04:50 +0000 Subject: Re: [LARTC] fairness queing: sfq, etc. Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi ! David Koski schrieb: > > The documentation (2.4routing) seems to imply that SFQ balances on a per > connection basis. It would seem to be more fair to balance on a source ip basis SFQ places packets in slots based on a hash function. Then each slot is dequeud in a round-robin fashion. > as that would evenly divide bandwidth among users. Is this correct? If so, is > there an alternative qdisc that would provide the above? I don't think there is a qdiscs for this but SFQ should be easy to change. Changing the hash function to something like iph->saddr % SFQ_HASH_DIVISOR should be enough .. Bye, Patrick _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/