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 On Thu, 28 Feb 2002, pkm wrote:> Here: 372000 bits / s = 46500 bytes / s. Now the kb I ask to htb are > made of 1000 or of 1024 bytes? > > >
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 ? > devikSee howto : mbps = 1024 kbps = 1024 * 1024 bps => byte/s mbit = 1024 kbit => kilo bit/s. mb = 1024 kb = 1024 * 1024 b => byte mbit = 1024 kbit => kilo bit. Internally, the number is stored in bps and b. But when tc prints the rate, it uses following : 1Mbit = 1024 Kbit = 1024 * 1024 bps => bit/s Stef -- stef.coene@docum.org More QOS info : docum.org Title : "Using Linux as bandwidth manager"