All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mindaugas Riauba" <mind@bi.lt>
To: lartc@vger.kernel.org
Subject: [LARTC] Traffic is exceeding limits
Date: Wed, 18 Dec 2002 12:23:13 +0000	[thread overview]
Message-ID: <marc-lartc-104021428723515@msgid-missing> (raw)


  I'm trying to setup traffic shaping for a customer.
Machine is RedHat 7.3 with kernel-smp-2.4.18-18.7.x.
HZQ2.

  But when I try to load link (using netcat and discard /
chargen services) bytes count (tc -s qdisc show, sfq qdisc)
goes quite well over 512kbit (~560kbit). With UDP I can
even go over 1mbit.

  What can be done to ensure tighter limits?

  Thanks,

  Mindaugas

  burst and cburst were set by tc and equals 2175b. r2q = 10.

  No more tc rules exists now.

$TC qdisc del dev eth0 root
$TC qdisc del dev eth1 root

$TC qdisc add dev eth0 root handle 1: htb
$TC qdisc add dev eth1 root handle 1: htb

$TC class add dev eth0 parent 1: classid 1:200 htb rate 512kbit
$TC class add dev eth1 parent 1: classid 1:200 htb rate 512kbit

$TC qdisc add dev eth0 parent 1:200 handle 200: sfq perturb 10
$TC qdisc add dev eth1 parent 1:200 handle 200: sfq perturb 10

$TC filter add dev eth0 parent 1: protocol ip prio 1 u32 match ip src $ip
flowid 1:200
$TC filter add dev eth1 parent 1: protocol ip prio 1 u32 match ip dst $ip
flowid 1:200

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

             reply	other threads:[~2002-12-18 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-18 12:23 Mindaugas Riauba [this message]
2002-12-18 21:40 ` [LARTC] Traffic is exceeding limits Stef Coene

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-104021428723515@msgid-missing \
    --to=mind@bi.lt \
    --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.