From: George Nychis <gnychis@cmu.edu>
To: LARTC@mailman.ds9a.nl, netdev@vger.kernel.org
Subject: [LARTC] how to change classful netem loss probability?
Date: Wed, 26 Apr 2006 22:46:30 +0000 [thread overview]
Message-ID: <444FF846.7050600@cmu.edu> (raw)
Hi,
I am using netem to add loss and then adding another qdisc within netem
according to the wiki. Then i want to change the netem drop probability
without having to delete the qdisc and recreate it. I try it but I get
invalid argument:
thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1%
thorium-ini hedpe # tc qdisc add dev ath0 parent 1:1 handle 10: xcp
capacity 54Mbit limit 500
thorium-ini hedpe # tc -s qdisc ls dev ath0
qdisc netem 1: limit 1000 loss 1%
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc xcp 10: parent 1:1 capacity 52734Kbit limit 500p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
thorium-ini hedpe # tc qdisc change dev ath0 root handle 1:0 netem drop 1%
RTNETLINK answers: Invalid argument
thorium-ini hedpe # tc qdisc change dev ath0 root netem drop 1%
RTNETLINK answers: Invalid argument
any ideas?
Thanks!
George
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
WARNING: multiple messages have this Message-ID (diff)
From: George Nychis <gnychis@cmu.edu>
To: LARTC@mailman.ds9a.nl, netdev@vger.kernel.org
Subject: how to change classful netem loss probability?
Date: Wed, 26 Apr 2006 18:46:30 -0400 [thread overview]
Message-ID: <444FF846.7050600@cmu.edu> (raw)
Hi,
I am using netem to add loss and then adding another qdisc within netem
according to the wiki. Then i want to change the netem drop probability
without having to delete the qdisc and recreate it. I try it but I get
invalid argument:
thorium-ini hedpe # tc qdisc add dev ath0 root handle 1:0 netem drop 1%
thorium-ini hedpe # tc qdisc add dev ath0 parent 1:1 handle 10: xcp
capacity 54Mbit limit 500
thorium-ini hedpe # tc -s qdisc ls dev ath0
qdisc netem 1: limit 1000 loss 1%
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc xcp 10: parent 1:1 capacity 52734Kbit limit 500p
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
thorium-ini hedpe # tc qdisc change dev ath0 root handle 1:0 netem drop 1%
RTNETLINK answers: Invalid argument
thorium-ini hedpe # tc qdisc change dev ath0 root netem drop 1%
RTNETLINK answers: Invalid argument
any ideas?
Thanks!
George
next reply other threads:[~2006-04-26 22:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-26 22:46 George Nychis [this message]
2006-04-26 22:46 ` how to change classful netem loss probability? George Nychis
2006-04-28 1:18 ` [LARTC] " George P Nychis
2006-04-28 1:18 ` George P Nychis
2006-04-28 17:24 ` Stephen Hemminger
2006-04-28 17:24 ` Stephen Hemminger
2006-05-04 23:35 ` George P Nychis
2006-05-04 23:35 ` George P Nychis
2006-05-05 15:08 ` [LARTC] where i can find this netem patch? George Nychis
2006-05-05 15:08 ` George Nychis
2006-05-05 17:15 ` [LARTC] Re: [Netem] " Stephen Hemminger
2006-05-05 17:15 ` Stephen Hemminger
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=444FF846.7050600@cmu.edu \
--to=gnychis@cmu.edu \
--cc=LARTC@mailman.ds9a.nl \
--cc=netdev@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.