All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hoomaan Naimi naimi@afranet.com
To: lartc@vger.kernel.org
Subject: [LARTC] tc troubles
Date: Mon, 23 Oct 2000 10:27:22 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216829@msgid-missing> (raw)

<PRE>Hi all,
Its a while we are trying to use &quot;tc&quot; for bandwidth control. But each time
we apply tc rules  to the network, we experience a lot of service
degradation. The usage we are mostly concerned about, is bandwidth control
of a group of IP addresses. We mark that subnet with IPChains and then apply
the tc rules. These are the rules applied to eth5 in order to limit the
uplink of packets marked &quot;7&quot; by ipchains:
# /sbin/tc class sh dev eth5
class cbq 40: root rate 100Mbit (bounded,isolated) prio no-transmit
class cbq 40:1 parent 40: rate 100Mbit prio no-transmit
class cbq 40:300 parent 40:1 leaf 8025: rate 200Kbit (bounded) prio 5
# /sbin/tc qdisc sh dev eth5
qdisc tbf 8025: rate 200Kbit burst 25Kb lat 1us
qdisc cbq 40: rate 100Mbit (bounded,isolated) prio no-transmit
[<A HREF="mailto:root@qos-1">root@qos-1</A> naimi]# /sbin/tc filter sh dev eth5
filter parent 40: protocol ip pref 1 fw
filter parent 40: protocol ip pref 1 fw handle 0x7 classid 40:300
filter parent 40: protocol ip pref 80 u32
filter parent 40: protocol ip pref 80 u32 fh 800: ht divisor 1
filter parent 40: protocol ip pref 80 u32 fh 800::800 order 2048 key ht 800
bkt 0 flowid 40:100

As I mentioned, the service degraded severely: pig time of internet sites
increased about 300-500 ms!!
Does anybody know what is wrong with my configuration?

Best Regards
Hoomaan Naimi
Afranet Network Administrator





</PRE>

             reply	other threads:[~2000-10-23 10:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-23 10:27 Hoomaan [this message]
2000-10-23 11:24 ` [LARTC] tc troubles Hoomaan

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-98373938216829@msgid-missing \
    --to=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.