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 11:24:00 +0000	[thread overview]
Message-ID: <marc-lartc-98373938216830@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373938216829@msgid-missing>

<PRE>Dear Sir,
The question exactly arises from here:
How can I monitor the impact of these several settings on the network
performance?
How can I monitor the size of the queues, log the packets dropped ,....?
I would be thankful if you recommend me some tools or APIs for doing these
tasks.

Best Regards
Hoomaan Naimi
Afranet Network Administrator
----- Original Message -----
From: &quot;bert hubert&quot; &lt;<A HREF="mailto:ahu@ds9a.nl">ahu@ds9a.nl</A>&gt;
To: &quot;Hoomaan Naimi&quot; &lt;<A HREF="mailto:naimi@afranet.com">naimi@afranet.com</A>&gt;
Sent: Monday, October 23, 2000 1:59 PM
Subject: Re: [LARTC] tc troubles


&gt;<i> On Mon, Oct 23, 2000 at 01:45:22PM +0330, Hoomaan Naimi wrote:
</I>&gt;<i> &gt; Hi all,
</I>&gt;<i> &gt; Its a while we are trying to use &quot;tc&quot; for bandwidth control. But each
</I>time
&gt;<i> &gt; we apply tc rules  to the network, we experience a lot of service
</I>&gt;<i> &gt; degradation. The usage we are mostly concerned about, is bandwidth
</I>control
&gt;<i> &gt; of a group of IP addresses. We mark that subnet with IPChains and then
</I>apply
&gt;<i> &gt; the tc rules. These are the rules applied to eth5 in order to limit the
</I>&gt;<i> &gt; uplink of packets marked &quot;7&quot; by ipchains:
</I>&gt;<i>
</I>&gt;<i> Try reading the source of CBQ.init, which can set up rules for you. I miss
</I>a
&gt;<i> lot of settings in your output, like weight, cell size etcetera. This
</I>might
&gt;<i> lead to a bad configuration.
</I>&gt;<i>
</I>&gt;<i> Regards,
</I>&gt;<i>
</I>&gt;<i> bert hubert
</I>&gt;<i>
</I>&gt;<i> &gt; # /sbin/tc class sh dev eth5
</I>&gt;<i> &gt; class cbq 40: root rate 100Mbit (bounded,isolated) prio no-transmit
</I>&gt;<i> &gt; class cbq 40:1 parent 40: rate 100Mbit prio no-transmit
</I>&gt;<i> &gt; class cbq 40:300 parent 40:1 leaf 8025: rate 200Kbit (bounded) prio 5
</I>&gt;<i> &gt; # /sbin/tc qdisc sh dev eth5
</I>&gt;<i> &gt; qdisc tbf 8025: rate 200Kbit burst 25Kb lat 1us
</I>&gt;<i> &gt; qdisc cbq 40: rate 100Mbit (bounded,isolated) prio no-transmit
</I>&gt;<i> &gt; [<A HREF="mailto:root@qos-1">root@qos-1</A> naimi]# /sbin/tc filter sh dev eth5
</I>&gt;<i> &gt; filter parent 40: protocol ip pref 1 fw
</I>&gt;<i> &gt; filter parent 40: protocol ip pref 1 fw handle 0x7 classid 40:300
</I>&gt;<i> &gt; filter parent 40: protocol ip pref 80 u32
</I>&gt;<i> &gt; filter parent 40: protocol ip pref 80 u32 fh 800: ht divisor 1
</I>&gt;<i> &gt; filter parent 40: protocol ip pref 80 u32 fh 800::800 order 2048 key ht
</I>800
&gt;<i> &gt; bkt 0 flowid 40:100
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; As I mentioned, the service degraded severely: pig time of internet
</I>sites
&gt;<i> &gt; increased about 300-500 ms!!
</I>&gt;<i> &gt; Does anybody know what is wrong with my configuration?
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; Best Regards
</I>&gt;<i> &gt; Hoomaan Naimi
</I>&gt;<i> &gt; Afranet Network Administrator
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> &gt;
</I>&gt;<i> &gt; _______________________________________________
</I>&gt;<i> &gt; LARTC mailing list / <A HREF="mailto:LARTC@mailman.ds9a.nl">LARTC@mailman.ds9a.nl</A>
</I>&gt;<i> &gt; <A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO:
</I><A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A>
&gt;<i> &gt;
</I>&gt;<i>
</I>&gt;<i> --
</I>&gt;<i> PowerDNS                     Versatile DNS Services
</I>&gt;<i> Trilab                       The Technology People
</I>&gt;<i> 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
</I>



</PRE>

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

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

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-98373938216830@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.