All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] 1k: 1000 or 1024?
@ 2006-02-23 17:12 Andreas Hasenack
  2006-02-24  3:35 ` gypsy
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Hasenack @ 2006-02-23 17:12 UTC (permalink / raw)
  To: lartc

The docs[1][2] suggest it's 1024, but tc says something else:

# tc qdisc add dev eth0 root tbf rate 1kbps latency 50ms burst 1500

# tc -s qdisc ls dev eth0
qdisc tbf 8009: rate 8000bit burst 1499b lat 48.8ms
                     ^^^^^^^
 Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
 rate 0bit 0pps backlog 0b 0p requeues 0



If 1k were 1024, then I would have 8192bit above.


1. http://www.docum.org/docum.org/faq/cache/74.html
2.http://ds9a.nl/2.4Networking/howto/lartc.qdisc.html#LARTC.QDISC.EXPLAIN

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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

end of thread, other threads:[~2006-02-24  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 17:12 [LARTC] 1k: 1000 or 1024? Andreas Hasenack
2006-02-24  3:35 ` gypsy

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.