All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Klauer <Andreas.Klauer@metamorpher.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] userlevel should not need to know about HZ?
Date: Thu, 23 Feb 2006 22:47:26 +0000	[thread overview]
Message-ID: <20060223224726.GB23114@EIS> (raw)
In-Reply-To: <20060223202145.GL3411@mandriva.com>

On Thu, Feb 23, 2006 at 05:21:46PM -0300, Andreas Hasenack wrote:
> Kernel people tell me users should never need to know the value of HZ
> used by the currently running kernel. One kernel hacker even told me
> that Linus once changed the value from 100 to 1000 just to see user
> space programs break.

Hmmm. Don't know the context of this statement, but from my (naive) 
point of view, TBF is not a user space program. The user space program 
is tc, and it just sets up structures in the kernel once. The shaping 
itself is done in kernel space.

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

TBF doesn't really depend on the HZ value - you don't really need to know. 
Still, TBF is affected by the HZ, like many other parts of the kernel too. 
It can't be helped - dunno what else to say about it.

Regards
Andreas Klauer
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  reply	other threads:[~2006-02-23 22:47 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 [this message]
2006-02-23 23:45 ` Andreas Hasenack
2006-02-25 11:53 ` Andy Furniss

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=20060223224726.GB23114@EIS \
    --to=andreas.klauer@metamorpher.de \
    --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.