Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Parent rate=ceil Limit not respected
Date: Mon, 10 Nov 2003 17:43:35 +0000	[thread overview]
Message-ID: <marc-lartc-106848629427671@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106835933327390@msgid-missing>

On Sunday 09 November 2003 07:26, Chijioke Kalu wrote:
> Hi Stef, lo all,
>
> Am hoping someone could have the time to look at my simple script, it
> basically tries to restrict users based on their ip, but I also
> incorporated the hints given by Stef on being able to allow local traffic
> unrestricted. no iptable marking (fw filter) is used, just tc.
>
> I see traffic passing thru all the classes when ever those systems are in
> use.
>
> Ave done some stress test on the local traffic by plugging p2p/web crawlers
> on the LAN of one of the systems, each time i notice that the parent ceil
> limit is being broken.
>
> I have met the one major requirement, sum of child classes rate <= parent
> rate.  I dont know what else i might be doing wrong, once placed perturb to
> 1, and internally(kernel) am using PSCHED_CPU and a sfq buffer length of 15
> as against 128. (notes on docum.org) to try and increase speed.  (Processor
> has TSC flag)
>
> Would be much obliged on any comments/improvements i can make on the
> script.
You attach class 1:2 and 1:3 to the root qdisc.  It's better to add 1 class to 
the root qdisc and attach all other classes to that class. 

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

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

  reply	other threads:[~2003-11-10 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-09  6:26 [LARTC] Parent rate=ceil Limit not respected Chijioke Kalu
2003-11-10 17:43 ` Stef Coene [this message]
2003-11-10 18:46 ` Chijioke Kalu
2003-11-10 18:58 ` 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-106848629427671@msgid-missing \
    --to=stef.coene@docum.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox