All of lore.kernel.org
 help / color / mirror / Atom feed
From: Amit Kucheria <amitk@ittc.ku.edu>
To: lartc@vger.kernel.org
Subject: [LARTC] CBQ inaccuracy
Date: Thu, 13 Dec 2001 01:17:43 +0000	[thread overview]
Message-ID: <marc-lartc-100820629913063@msgid-missing> (raw)

I have found CBQ to be very inaccurate (as others on the list)

I have created a structure as follow

  Root  (10mbit)
   |
  CBQ class (bandwidth=1mbit, rate\x10mbit)
   |
  CBQ qdisc (bandwidth=1mbit)

Now when i send excess data to the tune of 1.3mbit, cbq lets it thru.
If i increase it beyond that, CBQ suddenly wakes up and throttles it down 
to about 0.8Mbit!

Are there any explanations? If i am sending fixed size packets, should i 
set the 'avpkt' to that size?

I havent even able to use HTB correctly since a small burst size kills my 
thruput.

Any ideas about CBQ/HTB or anything which will throttle my bandwidth to 
1Mbit accurate *and* allow me to create qdiscs within. (Hence TBF is ruled 
out). My HTB script is given below i am no clue why it doesnt work.
 
-----------------------------------------------------------------------
BANDWIDTH="bandwidth 10Mbit"
LIMITBW="1Mbit"

$TC qdisc add $DEVICE root handle 1: htb

# This HTB class rate limits everyting to 1Mbit
$TC class add $DEVICE parent 1: classid 1:1 htb rate $LIMITBW ceil 
$LIMITBW burst 2k
----------------------------------------------------------------------
-- 
The statement below is true.
The statement above is false.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774
____________________________________________________


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

             reply	other threads:[~2001-12-13  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-13  1:17 Amit Kucheria [this message]
2001-12-13  7:14 ` [LARTC] CBQ inaccuracy bert hubert
2001-12-13  7:50 ` Amit Kucheria
2001-12-13  8:20 ` Stef Coene
2001-12-13  8:49 ` bert hubert

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-100820629913063@msgid-missing \
    --to=amitk@ittc.ku.edu \
    --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.