All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re: [ANNOUCE] iproute2 update
@ 2004-06-08 22:32 alex
  2004-06-08 22:42 ` alex
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: alex @ 2004-06-08 22:32 UTC (permalink / raw)
  To: lartc

Stephen,

Perhaps it is time to fix iproute2 interpretation of kbit/mbit/gbit.

Currently, they are interpreted as powers of 2 (i.e. 10mbit = 
10*1024*1024), which is absolutely incorrect when dealing with networking, 
as line speeds are always interpreted in decimal.

Example: 10Mbit ethernet is 10 000 000 bits/second. Someone who may be 
trying to rate-limit outbound traffic is bound for a surprise when tc's 
10mbit does not match physical line characteristic.

Other examples: 28k modem is 28000 bit/s, 56k is 56000, OC-3 SONET 
(155Mbit) is 155000000 bit/s, etc.  There isn't a technology that is 
quoted with kbits meaning 1024bit/s.

-alex

On Tue, 8 Jun 2004, Stephen Hemminger wrote:

> A new version of the iproute2 utilities is available to handle the new
> extensions for 2.6.7.
> 	* Based on the last known good version of iproute2 from Alexy
> 	* Included most of the vendor patches (except for the stupid ones).
> 	* Got rid of lots of the glibc workarounds,  I intend this to build
> 	  and run on 2.6 (and 2.4) only.
> 	* Fixed some parsing and formatting bugs.
> 	* Added gigabit as a rate.
> 	* Added HTB and delay scheduler
> 	* Added support for new tcp_info extensions to ss
> 
> The website is:
> 	http://developer.osdl.org/dev/iproute2
> and the download is in:
> 	http://developer.osdl.org/dev/iproute2/download
> 
> This version builds with 2.6.7 as the kernel include files, so either have
> the files in /usr/include/linux up to date or modify the top level Makefile
> to point to a kernel build.  Will workout a way to build on 2.4 next.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

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

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

end of thread, other threads:[~2004-06-10 19:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 22:32 [LARTC] Re: [ANNOUCE] iproute2 update alex
2004-06-08 22:42 ` alex
2004-06-08 23:31 ` Stephen Hemminger
2004-06-09  0:31 ` Andreas Klauer
2004-06-09  5:00 ` Michael Renzmann
2004-06-09 16:38 ` Federico Figueroa C.
2004-06-09 17:16 ` Jose Luis Domingo Lopez
2004-06-09 17:48 ` ThE LinuX_KiD
2004-06-09 19:21 ` Stef Coene
2004-06-09 19:56 ` pf.vd.vlugt
2004-06-09 20:37 ` Stephen Hemminger
2004-06-09 23:09 ` Ed Wildgoose
2004-06-10 19:45 ` Stef Coene

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.