Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73913 - iproute2-2.6.9.20040831 shows false units for rates in tc
Summary: iproute2-2.6.9.20040831 shows false units for rates in tc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-09 08:02 UTC by b52
Modified: 2005-01-15 17:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description b52 2004-12-09 08:02:19 UTC
Hi,
when i use "tc -s -d class ls dev ppp0" i get
.....
class htb 1:31 parent 1:3 leaf 31: prio 6 quantum 1000 rate 1Kbit ceil 250Kbit burst 0b/8 mpu 0b overhead 0b cburst 0b/8 mpu 0b overhead 0b level 0 
 Sent 1139102108 bytes 1122359 pkts (dropped 10507, overlimits 0 requeues 0) 
 rate 29245bit 28pps backlog 99p 
 lended: 4526 borrowed: 1117734 giants: 0
 tokens: -1490946 ctokens: -47416
......
The actual rate is written in bitspersec, but this are bytespersec. I sent with approximately 230kbit this moment.
Should be fixed, its confusing :)

Reproducible: Always
Steps to Reproduce:
1.tc -s -d class ls dev [yourdev]




Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -mmmx -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=i686 -mmmx -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distcc distlocks fixpackages
sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.inode.at ftp://gentoo.inode.at/source
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
rsync://linux.rz.ruhr-uni-bochum.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
rsync://ftp.join.uni-muenster.de/gentoo/"
MAKEOPTS="-j6"
PKGDIR="/data-asterix/share/ftp/gentoo"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X509 acl activefilter amd apache2 autofs berkdb bitmap-fonts cdr cgi clamav
crypt cups drac ethereal f77 fastcgi fax foomaticdb fortran freetds fullrpc gdbm
gif gpm imap innodb ipalias ipv6 isdn jpeg kerberos ldap libg++ libwww mad
maildir md5sum memlimit mmx mysql nagios-dns nagios-ntp nagios-ping nagios-ssh
ncurses nls oav pam parse-clocks pcap perl php png python readline samba sasl
skey slang snmp socks5 spell sse ssl tcpd tcsim tiff transparent-proxy usb
virus-scan x86 xml2 zlib"
Comment 1 SpanKY gentoo-dev 2005-01-12 20:11:37 UTC
have you tried 2.6.9.20041019-r1 ?
Comment 2 b52 2005-01-15 17:37:28 UTC
Yes, its solved in the ~x86 2.6.9.20041019-r1 Version.
I guess it wasnt too hard to solve :)