IFB + HFSC

This is a discussion on IFB + HFSC within the Linux Networking forums, part of the Linux Forums category; Hello, tc class add dev ifb0 parent 1:1 classid 1:2 hfsc sc m2 450kbit ul m2 512kbit tc ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-04-2008
Rafał M
 
Posts: n/a
Default IFB + HFSC

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
  #2 (permalink)  
Old 05-04-2008
Andy Furniss
 
Posts: n/a
Default Re: IFB + HFSC

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
  #3 (permalink)  
Old 05-05-2008
Rafał M
 
Posts: n/a
Default Re: IFB + HFSC

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

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



All times are GMT +1. The time now is 10:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0