netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: "George P Nychis" <gnychis@cmu.edu>
Cc: "George Nychis" <gnychis@cmu.edu>,
	lartc@mailman.ds9a.nl, netdev@vger.kernel.org
Subject: Re: [LARTC] how to change classful netem loss probability?
Date: Fri, 28 Apr 2006 10:24:21 -0700	[thread overview]
Message-ID: <20060428102421.7d304ca6@localhost.localdomain> (raw)
In-Reply-To: <32923.128.2.140.234.1146187103.squirrel@128.2.140.234>

Loss was broken, patch sent.

The following works now:

# tc qdisc add dev eth1 root handle 1:0 netem loss 20%

# tc qdisc add dev eth1 parent 1:1 handle 10: tbf \
  rate 256kbit buffer 1600 limit 3000
# ping -f -c 1000 shell

1000 packets transmitted, 781 received, 21% packet loss, time 3214ms
rtt min/avg/max/mdev = 0.187/0.398/3.763/0.730 ms, ipg/ewma 3.217/0.538 ms

# tc qdisc chang dev eth1 handle 1: netem loss 1%
# ping -f -c 1000 shell

1000 packets transmitted, 990 received, 1% packet loss, time 2922ms
rtt min/avg/max/mdev = 0.187/2.739/3.298/0.789 ms, ipg/ewma 2.924/2.084 ms



  reply	other threads:[~2006-04-28 17:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 17:24   ` Stephen Hemminger [this message]
2006-05-04 23:35     ` George P Nychis
2006-05-05 15:08     ` where i can find this netem patch? George Nychis
2006-05-05 17:15       ` [Netem] " 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=20060428102421.7d304ca6@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).