* [LARTC] fairness queing: sfq, etc.
@ 2002-04-10 0:44 David Koski
2002-04-10 2:04 ` Patrick McHardy
2002-04-11 14:42 ` Wojtek Sawasciuk
0 siblings, 2 replies; 3+ messages in thread
From: David Koski @ 2002-04-10 0:44 UTC (permalink / raw)
To: lartc
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
as that would evenly divide bandwidth among users. Is this correct? If so, is
there an alternative qdisc that would provide the above?
Regards,
David Koski
david@KosmosIsland.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] fairness queing: sfq, etc.
2002-04-10 0:44 [LARTC] fairness queing: sfq, etc David Koski
@ 2002-04-10 2:04 ` Patrick McHardy
2002-04-11 14:42 ` Wojtek Sawasciuk
1 sibling, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2002-04-10 2:04 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] fairness queing: sfq, etc.
2002-04-10 0:44 [LARTC] fairness queing: sfq, etc David Koski
2002-04-10 2:04 ` Patrick McHardy
@ 2002-04-11 14:42 ` Wojtek Sawasciuk
1 sibling, 0 replies; 3+ messages in thread
From: Wojtek Sawasciuk @ 2002-04-11 14:42 UTC (permalink / raw)
To: lartc
On Wed, 10 Apr 2002, Patrick McHardy wrote:
> 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.
The WRR (http://wipl-wrr.sourceforge.net/wrr.html) scheduler can do this job.
Wojtek Sawasciuk
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-11 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 0:44 [LARTC] fairness queing: sfq, etc David Koski
2002-04-10 2:04 ` Patrick McHardy
2002-04-11 14:42 ` Wojtek Sawasciuk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.