From: Adrian Bunk <bunk@stusta.de>
To: Claudio Scordino <cloud.of.andor@gmail.com>
Cc: linux-kernel@vger.kernel.org, kernelnewbies@nl.linux.org
Subject: Re: The "best" value of HZ
Date: Fri, 28 Oct 2005 23:29:43 +0200 [thread overview]
Message-ID: <20051028212942.GE4180@stusta.de> (raw)
In-Reply-To: <200510280118.42731.cloud.of.andor@gmail.com>
On Fri, Oct 28, 2005 at 01:18:41AM +0200, Claudio Scordino wrote:
> Hi,
Hi Claudio,
> during the last years there has been a lot of discussion about the "best"
> value of HZ... On i386 was 100, then became 1000, and finally was set to 250.
> I'm thinking to do an evaluation of this parameter using different
> architectures.
>
> Has anybody thought to give the possibility to modify the value of HZ at boot
> time instead of at compile time ? This would allow to easily test different
> values on different machines and create a table containing the "best" value
> for each architecture... At this moment, instead, we have to recompile the
> kernel for each different value :(
>
> Do you think there would be much work to do that ?
> Do you think it would be a desired feature the knowledge of the best value for
> each architecture with more precision ?
the best value for HZ is not architecture specific, it depends on the
usage pattern.
The rule is roughly:
- low HZ for computations
- high HZ for interactive usage
Making HZ selectable at boot time wouldn't be hard, but I doubt it's
worth it because it would make the kernel both bigger and slower.
> Thanks,
>
> Claudio
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2005-10-28 21:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-27 23:18 The "best" value of HZ Claudio Scordino
2005-10-28 2:04 ` Luke Yang
2005-10-28 2:27 ` Randy.Dunlap
2005-10-28 2:31 ` Alistair John Strachan
2005-10-28 3:45 ` Lee Revell
2005-10-28 4:00 ` Jesper Juhl
2005-10-28 4:29 ` Con Kolivas
2005-10-28 21:29 ` Adrian Bunk [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=20051028212942.GE4180@stusta.de \
--to=bunk@stusta.de \
--cc=cloud.of.andor@gmail.com \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@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