[LARTC] Re: How bytecount works?

Linux Advanced Routing and Traffic Control

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

 



On Thursday 28 February 2002 10:26, you wrote:
> I'd look into sources of tc because I can't remember whether
> k in kbps and kbit means 1000 or 1024. But I rather Cced it
> to LARTC. Anybody knows ?
> devik
See howto :

mbps =3D 1024 kbps =3D 1024 * 1024 bps =3D> byte/s
mbit =3D 1024 kbit =3D> kilo bit/s.
mb =3D 1024 kb =3D 1024 * 1024 b =3D> byte
mbit =3D 1024 kbit =3D> kilo bit.
 Internally, the number is stored in bps and b.=20

But when tc prints the rate, it uses following :=20
1Mbit =3D 1024 Kbit =3D 1024 * 1024 bps =3D> bit/s

Stef


--=20

stef.coene@docum.org
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"


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