Networking Forums

Networking Forums > Computer Networking > Linux Networking > IFB + HFSC

Reply
 
 
Rafa³ M
Guest
Posts: n/a

 
      05-04-2008, 08:39 AM
Hello,

tc class add dev ifb0 parent 1:1 classid 1:2 hfsc sc m2 450kbit ul m2
512kbit
tc class add dev ifb0 parent 1:1 classid 1:3 hfsc sc m2 62kbit ul m2
512kbit

why i don't have guaranteed bandwidth 450 and 62? when i set ul m2 450
and 62 then bandwidth is splited OK, but when i shutdown downloading
1:2, 1:3 not go to 512

please help!
 
Reply With Quote
 
 
 
 
Andy Furniss
Guest
Posts: n/a

 
      05-04-2008, 08:37 PM
Rafa³ M wrote:
> Hello,
>
> tc class add dev ifb0 parent 1:1 classid 1:2 hfsc sc m2 450kbit ul m2
> 512kbit
> tc class add dev ifb0 parent 1:1 classid 1:3 hfsc sc m2 62kbit ul m2
> 512kbit
>
> why i don't have guaranteed bandwidth 450 and 62? when i set ul m2 450
> and 62 then bandwidth is splited OK, but when i shutdown downloading
> 1:2, 1:3 not go to 512
>
> please help!


I never really used hfsc, I did some tests once and found it's not
really quite like the hfsc in the sigcom paper in that it relies on
individual rt classes being backlogged rather than the link, which means
you can't get it to be packet perfect for slow links, so I kind of gave
up trying to learn how to configure it, as it seemed like a waste of
time for shaping on a slow wan, though people who shape lan would
probably like it the way it is.

To totally contradict myself - depending on setup I think you could make
it behave better than htb if you have many bulk classes as long as you
use ls classes - which you should for bulk, not that any of the examples
I've seen seem to.

If you ever use it on eth rather than ifb remember it will by default
drop unclassified traffic - so either make a default class or remember
to tc filter arp.

As for your setup - try without the ul on the leafs but add sc rate
512kbit ul rate 512kbit to the parent class 1:1.

Andy.
 
Reply With Quote
 
Rafa³ M
Guest
Posts: n/a

 
      05-05-2008, 03:44 PM
On 4 Maj, 22:37, Andy Furniss <s...@andyfurniss.entadsl.com> wrote:
> Rafa³ M wrote:
> > Hello,

>
> > tc class add dev ifb0 parent 1:1 classid 1:2 hfsc sc m2 450kbit ul m2
> > 512kbit
> > tc class add dev ifb0 parent 1:1 classid 1:3 hfsc sc m2 62kbit ul m2
> > 512kbit

>
> > why i don't have guaranteed bandwidth 450 and 62? when i set ul m2 450
> > and 62 then bandwidth is splited OK, but when i shutdown downloading
> > 1:2, 1:3 not go to 512

>
> > please help!

>
> I never really used hfsc, I did some tests once and found it's not
> really quite like the hfsc in the sigcom paper in that it relies on
> individual rt classes being backlogged rather than the link, which means
> you can't get it to be packet perfect for slow links, so I kind of gave
> up trying to learn how to configure it, as it seemed like a waste of
> time for shaping on a slow wan, though people who shape lan would
> probably like it the way it is.
>
> To totally contradict myself - depending on setup I think you could make
> it behave better than htb if you have many bulk classes as long as you
> use ls classes - which you should for bulk, not that any of the examples
> I've seen seem to.
>
> If you ever use it on eth rather than ifb remember it will by default
> drop unclassified traffic - so either make a default class or remember
> to tc filter arp.
>
> As for your setup - try without the ul on the leafs but add sc rate
> 512kbit ul rate 512kbit to the parent class 1:1.
>
> Andy.


very thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HFSC traffic shaping for voice avlee Linux Networking 0 04-04-2007 08:56 AM
qdisc htb versus hfsc vincent perrier Linux Networking 0 06-25-2004 10:34 PM



1 2 3 4 5 6 7 8 9 10 11