All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peteris Krumins <newsgroups@lf.lv>
To: lartc@vger.kernel.org
Subject: [LARTC] (simplified) Rate precision
Date: Sat, 01 Nov 2003 20:32:32 +0000	[thread overview]
Message-ID: <marc-lartc-106772021820294@msgid-missing> (raw)


 Hello gentleman,

  i wrote a few days ago but did not receive any answers.

  I simplified the problem and even wrote a quick example
  which demonstrates the innacurate rate precision:

tc qdisc del dev eth0 root >/dev/null 2>&1
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:101 htb rate 2048kbit
tc qdisc add dev eth0 parent 1:101 handle 101: sfq perturb 10
tc filter add dev eth0 protocol ip parent 1: prio 5 handle 101 fw flowid 1:101
iptables -A PREROUTING -t mangle --src <ip_address> -j MARK --set-mark 101

  The example above should shape the speed to 2mbit (2048kbit) but
  unfortunately the real speed is only 1920kbit..

  Tthe only solution I have found is to add the missing rate.

  Linux 2.4.20 vanilla.

  Any comments?


P.Krumins

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2003-11-01 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-01 20:32 Peteris Krumins [this message]
2003-11-03  0:37 ` [LARTC] (simplified) Rate precision Andreas Klauer

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-106772021820294@msgid-missing \
    --to=newsgroups@lf.lv \
    --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.