Skip to contentSkip to conversation

Best relation (value) of rate and burst in TBF and HTB

LARTC Cheng Kwok Wing, William 2 participants 2 messages Aug 1, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

I'm going to setup a linux traffic control box and has decided to adapt HTB.

What should be the best relation(value) of rate and burst? I mean the formula used to calculate burst give rate or vice verse.

I think the bandwidth of NIC and CPU processing speed are also important in the calculation above. What else are important??

Thanks a lot,
Willim

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 5 lines · William

Hi,

I'm going to setup a linux traffic control box and has decided to adapt HTB.

Quoted 7 lines

What should be the best relation(value) of rate and burst? I mean the formula used to calculate burst give rate or vice verse.

I think the bandwidth of NIC and CPU processing speed are also important in the calculation above. What else are important??

Rate and burst do not really influence the CPU. The more classes you have, the more load it will give. But I once shaped 5.000 parallel streams on a 10mbit connection with 486, 25hz, 8MB ram. I used htb and the box survived the test without the load becoming bigger then 1.00.
If you use latest htb, you only need a rate parameter. The burst will be callulated for you.

Stef

Signature · 7 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/