All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: How bytecount works?
@ 2002-02-28  9:26 Martin Devera
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Devera @ 2002-02-28  9:26 UTC (permalink / raw)
  To: lartc

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? 
> 
> 
> 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] Re: How bytecount works?
@ 2002-03-01  7:50 Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2002-03-01  7:50 UTC (permalink / raw)
  To: lartc

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 = 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 : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-01  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-01  7:50 [LARTC] Re: How bytecount works? Stef Coene
  -- strict thread matches above, loose matches on Subject: below --
2002-02-28  9:26 Martin Devera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.