From: Arnd Bergmann <arnd@bergmann-dalldorf.de>
To: Thunder from the hill <thunder@ngforever.de>,
dank@kegel.com, linux-kernel@vger.kernel.org,
Martin Schwidefsky <schwidefsky@de.ibm.com>
Subject: Re: Periodic clock tick considered harmful (was: Re: HZ, preferably as small as possible)
Date: Thu, 11 Jul 2002 21:45:56 +0200 [thread overview]
Message-ID: <200207111745.g6BHjmT64928@d12relay01.de.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0207111056230.3582-100000@hawkeye.luckynet.adm>
Thunder from the hill wrote:
> On Thu, 11 Jul 2002 dank@kegel.com wrote:
>> OK, so I'm just an ignorant member of the peanut gallery, but
>> I'd like to hear a real kernel hacker explain why this isn't
>> the way to go.
>
> The only thing that was mentioned yet was the amount of stuff that depends
> on periodic ticks. If we just tick unperiodically, we'd fail for sure, but
> if we make these instances depend on another timer - we won.
>
> I think a good scheduler can handle this and should also be able to
> determine a halfaway optimal tick rate for the current load.
The current approach on s390 is stop the timer tick only for idle cpus,
because that's where it hurts. A busy system can just keep on using 100
(or 1000) Hz timers.
The jiffies value then gets updated from the time stamp counter when an
interrupt happens on an idle CPU.
See Martin Schwidefsky's recent post for code:
http://marc.theaimsgroup.com/?l=linux-kernel&m=102578746520177&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=102578746420174&w=2
Arnd <><
next prev parent reply other threads:[~2002-07-11 17:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-11 16:44 dank
2002-07-11 16:59 ` Thunder from the hill
2002-07-11 19:45 ` Arnd Bergmann [this message]
2002-07-11 17:05 ` Hubertus Franke
2002-07-11 19:06 ` george anzinger
2002-07-11 19:19 ` mbs
2002-07-11 20:25 ` george anzinger
2002-07-11 21:29 ` Periodic clock tick considered harmful (was: Re: HZ, preferably as Alan Cox
2002-07-11 21:43 ` george anzinger
2002-07-11 22:32 ` Periodic clock tick considered harmful (was: Re: HZ, preferably as small as possible) Karim Yaghmour
2002-07-15 5:21 ` Linus Torvalds
2002-07-15 5:43 ` Linus Torvalds
2002-07-11 21:28 Per Jessen
2002-07-16 9:10 Martin Schwidefsky
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=200207111745.g6BHjmT64928@d12relay01.de.ibm.com \
--to=arnd@bergmann-dalldorf.de \
--cc=dank@kegel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=schwidefsky@de.ibm.com \
--cc=thunder@ngforever.de \
/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
all inboxes | Powered by JetHome®