Skip to contentSkip to conversation

how to guarantee 1/numflows bandwidth to each flow

LARTC Scott Mcdermott 4 participants 4 messages May 9, 2005 – May 11, 2005

lore
Share & tools
lore
#0 lore raw

I am looking for a simple way to guarantee to each flow going through my traffic control point 1/numflows of bandwidth. I thought using SFQ would do this effectively but it appears to be quite unfair: a very high speed download that fills the pipe easily starves smaller flows to the point where it becomes unusable (especially if they are at all interactive)

Because numflows is dynamic, I'm not sure how I would have the bandwidth allocated to each flow change dynamically and automatically as flows are added and removed.

Anyone have an idea how to implement this? Thanks.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#1 lore raw

if u find sfq unfair u can try WRR.
but if for example one flow is eating all the badwidth and a new flow starts, the new has to "claim" he's part by going from slow transfer to fast one.
u can try making normal QOS based on classes and give one class to every customer. should work best. remember to do the same on both upload and download

Quoted 20 lines · Scott Mcdermott

I am looking for a simple way to guarantee to each flow going through my traffic control point 1/numflows of bandwidth. I thought using SFQ would do this effectively but it appears to be quite unfair: a very high speed download that fills the pipe easily starves smaller flows to the point where it becomes unusable (especially if they are at all interactive)

Because numflows is dynamic, I'm not sure how I would have the bandwidth allocated to each flow change dynamically and automatically as flows are added and removed.

Anyone have an idea how to implement this? Thanks.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Signature · 2 lines
Miłego Dnia
Krystian Antoni

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#2 lore raw

Re: [LARTC] how to guarantee 1/numflows bandwidth to each

In reply to Scott Mcdermott
Quoted 9 lines · Scott Mcdermott

I am looking for a simple way to guarantee to each flow going through my traffic control point 1/numflows of bandwidth. I thought using SFQ would do this effectively but it appears to be quite unfair: a very high speed download that fills the pipe easily starves smaller flows to the point where it becomes unusable (especially if they are at all interactive)

Quoted 5 lines

Because numflows is dynamic, I'm not sure how I would have the bandwidth allocated to each flow change dynamically and automatically as flows are added and removed.

Anyone have an idea how to implement this? Thanks.

Perhaps you should look at esfq rather than sfq. esfq lets you specify quantum in bytes, depth in flows, limit in packets, and a source or dest hash. Don't apply any sfq to what Wondershaper calls "interactive".

You need to match esfq to the kernel version; 2.6 uses a different esfq than 2.4.
--
buck
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw

Re: [LARTC] how to guarantee 1/numflows bandwidth to each

In reply to Scott Mcdermott
Quoted 7 lines · Scott Mcdermott

I am looking for a simple way to guarantee to each flow going through my traffic control point 1/numflows of bandwidth. I thought using SFQ would do this effectively but it appears to be quite unfair: a very high speed download that fills the pipe easily starves smaller flows to the point where it becomes unusable (especially if they are at all interactive)

If you are shaping from the "wrong" end of the bottleneck then you need to back off from link speed to get control - and it still won't be perfect.

It's best to priorotise interactive traffic and not mix it with bulk traffic.

Andy.

Quoted 5 lines

Because numflows is dynamic, I'm not sure how I would have the bandwidth allocated to each flow change dynamically and automatically as flows are added and removed.

Quoted 7 lines

Anyone have an idea how to implement this? Thanks.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc