Re: imprecision in bandwidth measurement

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tilman Giese (Global View) wrote:
Hi,

I am experiencing a curious phenomenon. I limited the bandwidth for a specific client to 750KBit. It works well despite of the fact that the client always gets a little bit more bandwidth (around 770KBit to 780KBit). I used different bandwidth and traffic measurement tools like ntop, nettimer or ipac. All show the same, a little bit more bandwidth than allowed. The factor by which the specified bandwidth is increased seems to be proportional to the specified bandwidth. But where is the problem. Is it only a different way of traffic measurement or is this a bug? Maybe, does it depend on some command arguments to create the classes?


tc uses 1024 instead of 1000 as factor for kbit (1024^2 for mbit). Usually when talking about network equipment kbit means 1000bit/s
and mbit means 1000000bit/s. In your case, 750*24bit/s = 18000bit/s off.
The iproute-rates patch at trash.net/~kaber/hfsc is meant to fix this.


Best regards,
Patrick

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux