Skip to contentSkip to conversation

HTB + tc line

LARTC LuisMi 2 participants 4 messages Mar 7, 2002 – Mar 12, 2002

lore
Share & tools
lore

LuisMi

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did here...
[root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbps

and then...

[root@echelon root]# tc -s -d class show dev eth0
class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b cburst 106440b/8 mpu 0b quantum 60000 level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0 injects: 0
tokens: 8316 ctokens: 8316

My question is...
rate 80Mbit ceil 80Mbit?????????????????????

I have a 10mbps link over ethernet (realtek 8029), no fast-ethernet Is that correct? 80 Mbit?

Thanks

- --

+-------------------------------------------------------------------+
| Luis Miguel Cruz.                                                 |
|                                                                   |
|  [ADPSOFT] http://www.adpsoft.com                                 |
|  "Connecting your business"                                       |
|                                                                   |
|  irc.irc-hispano.org -> #redhat                                   |
|  http://www.flcnet.es/tbe/luismi                                  |
|  Canal IRC para usuarios RedHat Linux                             |
|								    |
|  Public Key: http://www.flcnet.es/tbe/luismi/nadie/luismi_adp.asc |
+-------------------------------------------------------------------+

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjyH/fMACgkQvQHLTzrFJlet5ACfdfyVwudUIF70SayCi549Uqv8 HrUAn17iSn5rNoL0COb76ZaFQm3bAyKU
=kRjW
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 16 lines · LuisMi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did here...
[root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbps

and then...

[root@echelon root]# tc -s -d class show dev eth0
class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b cburst 106440b/8 mpu 0b quantum 60000 level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0 injects: 0
tokens: 8316 ctokens: 8316

Quoted 2 lines

My question is...
rate 80Mbit ceil 80Mbit?????????????????????

That is OK.
10mbps = 10mbyte/s = 80 mbit/s = 80Mbit
And you provided no ceil so ceil = rate.

Stef

Signature · 6 lines
[email protected]
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
author
#2 lore raw
In reply to LuisMi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 17 lines · Stef Coene
Quoted 16 lines · LuisMi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did here...
[root@echelon root]# tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbps

and then...

[root@echelon root]# tc -s -d class show dev eth0
class htb 1:1 root prio 0 rate 80Mbit ceil 80Mbit burst 106440b/8 mpu 0b cburst 106440b/8 mpu 0b quantum 60000 level 0
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
lended: 0 borrowed: 0 giants: 0 injects: 0
tokens: 8316 ctokens: 8316

Quoted 5 lines
Quoted 2 lines

My question is...
rate 80Mbit ceil 80Mbit?????????????????????

That is OK.
10mbps = 10mbyte/s = 80 mbit/s = 80Mbit
And you provided no ceil so ceil = rate.

well, I was talking about 10 megabits not megabytes. How can I tell 10 megabits to tc command line?

Thanks

LuisMi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjyNOSQACgkQvQHLTzrFJlddFQCcC3vyejmKlnzhC1Ebpoh+qSAK eo0AoI4qZwUdxMdfwK/9lkzgyA+vXUpj
=wubt
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to LuisMi
Quoted 2 lines

well, I was talking about 10 megabits not megabytes. How can I tell 10 megabits to tc command line?

See lartc HOWTO :
http://lartc.org/HOWTO/cvs/2.4routing/output/2.4routing-9.html

Stef

Signature · 8 lines
[email protected]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/