Skip to contentSkip to conversation

Understanding of HTB classes

LARTC Vinod Chandran 2 participants 4 messages Jun 9, 2005 – Jun 13, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

I have configured HTB classes on my public interface. I have split the bandwidth among two subclasses say 1:2 and 1:3.
Lets say if I configure the rate limit of say 1:2 as 250kbps with a ceil setting of 1000kbps,
I presume it means that the class can have bandwidth upto 1000kbps, provided the bandwidth is unused, if not it is assured a bandwidth of 250kbps.

Is my understanding correct in this regards when it comes to unbounded classes?

Please let me know,

Thanks and Regards,
Vinod C

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

#1 lore raw
Quoted 9 lines · Vinod Chandran

Hi all,

I have configured HTB classes on my public interface. I have split the bandwidth among two subclasses say 1:2 and 1:3.
Lets say if I configure the rate limit of say 1:2 as 250kbps with a ceil setting of 1000kbps,
I presume it means that the class can have bandwidth upto 1000kbps, provided the bandwidth is unused, if not it is assured a bandwidth of 250kbps.

Rate is guarenteed (remember to tc bps = bytes/sec)

Quoted 3 lines

Is my understanding correct in this regards when it comes to unbounded classes?

Don't know what you mean.

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

#2 lore raw
In reply to Vinod Chandran

When child class is out of bandwidth(ie the rate given to it) , it can borrow the bandwidth from the parent class upto its ceil limit, provided the bandwidth is unused.
Is this correct?

Regards,
Vinod C

Quoted 16 lines · Andy Furniss
Quoted 9 lines · Vinod Chandran

Hi all,

I have configured HTB classes on my public interface. I have split the bandwidth among two subclasses say 1:2 and 1:3.
Lets say if I configure the rate limit of say 1:2 as 250kbps with a ceil setting of 1000kbps,
I presume it means that the class can have bandwidth upto 1000kbps, provided the bandwidth is unused, if not it is assured a bandwidth of 250kbps.

Rate is guarenteed (remember to tc bps = bytes/sec)

Quoted 1 line
Quoted 8 lines
Quoted 2 lines

Is my understanding correct in this regards when it comes to unbounded classes?

Don't know what you mean.

Andy.

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

#3 lore raw
In reply to Vinod Chandran
Quoted 4 lines · Vinod Chandran

When child class is out of bandwidth(ie the rate given to it) , it can borrow the bandwidth from the parent class upto its ceil limit, provided the bandwidth is unused.
Is this correct?

Yes - also if it has siblings under the same parent the spare bandwidth will be divided between them according to prio and if prios are the same, and parent ceil = childrens ceils, quantum, which if you don't specify gets calculated from rates.

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