From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] userlevel should not need to know about HZ?
Date: Sat, 25 Feb 2006 11:53:06 +0000 [thread overview]
Message-ID: <44004522.8030100@dsl.pipex.com> (raw)
In-Reply-To: <20060223202145.GL3411@mandriva.com>
Andreas Hasenack wrote:
> Em Qui 23 Fev 2006 19:47, Andreas Klauer escreveu:
>
>>>So, how do we reliably calculate the minimum value for
>>>buffer/burst/maxburts?
>>
>>Trial & Error, not that I ever had much luck with TBF though...
>
>
> From my experiments, the minimum seems to be either MTU plus a few bytes or
> the result of rate/HZ, whichever is higher.
Both the buffers need to be at least MTU and if you shape on eth MTU+14.
You should set the limit buffer to the length of queue you want -
1*MTU(+14) is pretty useless for a limit but OK for burst.
I am not sure about tbf and Hz if it's like htb you need to set burst
big enough so its size * HZ can fill the link.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-02-25 11:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-23 20:21 [LARTC] userlevel should not need to know about HZ? Andreas Hasenack
2006-02-23 22:47 ` Andreas Klauer
2006-02-23 23:45 ` Andreas Hasenack
2006-02-25 11:53 ` Andy Furniss [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=44004522.8030100@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--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.