Skip to contentSkip to conversation

ESFQ not working?

LARTC Osgaldo Suanzes 3 participants 3 messages May 26, 2003

lore
Share & tools
lore
#0 lore raw

hi, there.

#!/bin/sh
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 1 tc class add dev eth1 parent 1: classid 1:1 htb rate 32kbps tc qdisc add dev eth1 parent 1:1 handle 10: esfq

This is my script to shape my download traffic on eth1 down to
32KB(ADSL%6kbit).
How can I be sure the esfq disc is properly attached to the class? If I comment out the ESFQ line, I have quiet the same results of
behaviour when I start downloading
from different boxes on that lan attached to eth1. (2 boxes downloading
are not having 50% each from the bandwitdth,
and 3 boxes downloading neither have 33,3% of the available bandwidth)
ESFQ is supposed to be "fair" ? or not?

Something wrong on the script? If not how can I enhance my
settings?
Is there a way to see that ESFQ, SFQ is working?

Thanks , Osgaldo

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 8 lines · Osgaldo Suanzes

hi, there.

#!/bin/sh
tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1: htb default 1 tc class add dev eth1 parent 1: classid 1:1 htb rate 32kbps tc qdisc add dev eth1 parent 1:1 handle 10: esfq

Quoted 9 lines

This is my script to shape my download traffic on eth1 down to
32KB(ADSL%6kbit).
How can I be sure the esfq disc is properly attached to the class? If I comment out the ESFQ line, I have quiet the same results of
behaviour when I start downloading
from different boxes on that lan attached to eth1. (2 boxes downloading
are not having 50% each from the bandwitdth,
and 3 boxes downloading neither have 33,3% of the available bandwidth)
ESFQ is supposed to be "fair" ? or not?

Yes. But it creates fairness between flows. And a flow is determined by ports and ip-addresses.
I never tried esfq so I don't know how it should behave.

Quoted 3 lines

Something wrong on the script? If not how can I enhance my
settings?
Is there a way to see that ESFQ, SFQ is working?

Not that I know.

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Osgaldo Suanzes

On Mon, 26 May 2003 19:52:08 +0200
Stef Coene <[email protected]> wrote:

[ cut ]
: Yes. But it creates fairness between flows. And a flow is determined by : ports and ip-addresses.
: I never tried esfq so I don't know how it should behave.

I personally couldn't achieve this. Maybe the authoer can help us?

Signature · 5 lines
_____________________________________________________________

"Engineering does not require science. Science helps a lot but
people built perfectly good brick walls long before they knew
why cement works."	-Alan Cox