From: "Srikanth Goteti" <gsns@hotmail.com>
To: lartc@vger.kernel.org
Subject: [LARTC] tc
Date: Mon, 01 Apr 2002 00:03:15 +0000 [thread overview]
Message-ID: <marc-lartc-101761947929316@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101764910022606@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
Hi,
I am using the followings commands to execute to control bandwidth between
192.168.1.5 - 192.168.1.4 to 50Mbps
but when I run these series of commands and check the bandwidth between these I get only 19Mbps.
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
/sbin/tc class add dev eth0 parent 10:0 classid 10:1 cbq bandwidth 100Mbit rate 100Mbit weight 10Mbit maxburst 20 avpkt 1000 allot 1514 prio 3
/sbin/tc class add dev eth0 parent 10:1 classid 10:10 cbq bandwidth 100Mbit rate 50Mbit weight 5Mbit maxburst 20 avpkt 1000 allot 1514 prio 3 bounded
/sbin/tc filter add dev eth0 parent 10:0 protocol ip prio 3 u32 match ip dst 192.168.1.4 flowid 10:10
I am also displaying the output of qdisc and class of tc
---------------------------------------------------------------
# /sbin/tc -s qdisc show dev eth0
qdisc cbq 10: rate 100Mbit (bounded,isolated) prio no-transmit
Sent 26177842 bytes 18063 pkts (dropped 0, overlimits 5406)
borrowed 0 overactions 0 avgidle 62 undertime 0
-----------------------------------------------------------------
# /sbin/tc -s class show dev eth0
class cbq 10: root rate 100Mbit (bounded,isolated) prio no-transmit
Sent 26792774 bytes 19823 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 62 undertime 0
class cbq 10:10 parent 10:1 rate 50Mbit (bounded) prio 3
Sent 24900652 bytes 16554 pkts (dropped 0, overlimits 7194)
borrowed 0 overactions 1314 avgidle 1657 undertime 0
class cbq 10:1 parent 10: rate 100Mbit prio 3
Sent 24900652 bytes 16554 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 60 undertime 0
Thanks in advance,
regards,
Srikanth Goteti
Research Assitant,
Dept. of Computer Science,
University of Houston
[-- Attachment #2: Type: text/html, Size: 3517 bytes --]
next prev parent reply other threads:[~2002-04-01 0:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1980-01-05 16:14 [LARTC] tc Stef Coene
2001-12-04 17:21 ` Sebastian Taralunga
2001-12-06 12:28 ` bert hubert
2002-04-01 0:03 ` Srikanth Goteti [this message]
2002-04-30 20:20 ` Waters
2005-04-25 8:08 ` [LARTC] TC Grace Baldonasa
2005-04-25 8:48 ` Daniel Harold L.
2005-04-25 9:00 ` Grace Baldonasa
2005-04-25 9:29 ` Grace Baldonasa
2005-04-25 10:19 ` Daniel Harold L.
2005-04-25 10:45 ` Grace Baldonasa
2005-04-25 10:55 ` Jesper Lund
2005-04-25 11:21 ` Andy Furniss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101761947929316@msgid-missing \
--to=gsns@hotmail.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.