On Mon, 6 Dec 1999, Ajit Anvekar wrote:

> Hello,
>    I am using CBQ on a 2.2.12 Linux Box (machine A) and am limiting
> traffic from a certain IP address (machine B) to 200K bit/sec using the
> cbq-init script that comes with Redhat6.1 . When I ftp a large file
> between the A and B, I get rates of 200K bit/sec. But if the file sizes
> are lesser than 100K I get rates rates as high as 45K byte/sec. Moreover,
> if I ping B from A, after having limited B's traffic to 32Kbit,  I do not
> see ping times that match transmission times on a 32K bit link. 
> 
> Can this behaviour be achieved using CBQ ?? Is there some other means of
> achieving the same on Linux ??
> 
> Thanking you in advance for your help,
> Ajit


        You are *not* providing a virtual 256Kbit circuit, and the
ping times/transmission times will *not* reflect a 256Kbit line.


        What you are doing is providing (assuming it is set up
correctly) a limit on the average throughput.  Depending on the
averaging time and maxburst settings they can kick higher, but overall
limited to 256Kbit.


        From the sound of it the max burst is set a bit high, and so
for small bursty traffic it overruns the allocation.

 ---
As folks might have suspected, not much survives except roaches, 
and they don't carry large enough packets fast enough...
        --About the Internet and nuclear war.


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
  • CBQ help Ajit Anvekar
    • Christopher E. Brown

Reply via email to