Skip to contentSkip to conversation

use of 'BW'(bandwidth) parameter in CBQ

LARTC Amit Kucheria 2 participants 2 messages May 21, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I tried setting the 'BW' parameter to 10Mbps for a 100Mbps link. Then i sent traffic as fast as I could and I got throughput of 95Mbps.

So i guess that parameter is not used for rate-limiting a flow. What is it used for?

Regards,
Amit

Signature · 12 lines
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 7 lines · Amit Kucheria

Hi all,

I tried setting the 'BW' parameter to 10Mbps for a 100Mbps link. Then i sent traffic as fast as I could and I got throughput of 95Mbps.

So i guess that parameter is not used for rate-limiting a flow. What is it used for?

The bandwidth parameter is used for internal calculations and should be set to the NIC speed. So 100Mbit for a 100mbit NIC. If you want to limit the speed, you will have to add the bounded option and set the rate to the speed you want to limit the traffic.

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/