From: george anzinger <george@mvista.com>
To: John Alvord <jalvo@mbay.net>
Cc: Pavel Machek <pavel@suse.cz>,
davidm@hpl.hp.com, Davide Libenzi <davidel@xmailserver.org>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org
Subject: Re: Why HZ on i386 is 100 ?
Date: Mon, 22 Apr 2002 14:52:28 -0700 [thread overview]
Message-ID: <3CC4861C.F21859A6@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.20.0204221019280.20972-100000@otter.mbay.net>
John Alvord wrote:
>
> On Sun, 21 Apr 2002, Pavel Machek wrote:
>
> > Hi!
> >
> > > Davide> i still have pieces of paper on my desk about tests done on
> > > Davide> my dual piii where by hacking HZ to 1000 the kernel build
> > > Davide> time went from an average of 2min:30sec to an average
> > > Davide> 2min:43sec. that is pretty close to 10%
> > >
> > > The last time I measured timer tick overhead on ia64 it was well below
> > > 1% of overhead. I don't really like using kernel builds as a
> > > benchmark, because there are far too many variables for the results to
> > > have any long-term or cross-platform value. But since it's popular, I
> > > did measure it quickly on a relatively slow (old) Itanium box: with
> > > 100Hz, the kernel compile was about 0.6% faster than with 1024Hz
> > > (2.4.18 UP kernel).
> >
> > .5% still looks like a lot to me. Good compiler optimization is .5% on
> > average...
> >
> > And think what it does with old 386sx.. Maybe time for those "tick on demand"
> > patches?
>
> Doesn't IBM have a tickless patch.. useful when demonstrating 10,000
> virtual linux machines on a single system.
Please folks. When can we put the "tick on demand" thing to bed? If in
doubt, get the patch from the high-res-timers sourceforge site (see
signature for the URL) and try it. Overhead becomes higher with system
load passing the ticked system at relatively light loads. Just what we
want, very low overhead idle systems!
The problem is in accounting (or time slicing if you prefer) where we
need to start a timer each time a task is context switched to, and stop
it when the task is switched away. The overhead is purely in the set up
and tear down. MOST of these never expire.
-g
>
> john alvord
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
next prev parent reply other threads:[~2002-04-22 21:53 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-16 7:47 Why HZ on i386 is 100 ? Olaf Fraczyk
2002-04-16 8:14 ` William Lee Irwin III
2002-04-16 8:18 ` BALBIR SINGH
2002-04-16 10:29 ` Liam Girdwood
2002-04-16 10:01 ` Olaf Fraczyk
2002-04-16 13:35 ` Terje Eggestad
2002-04-16 13:38 ` Mark Mielke
2002-04-16 13:55 ` Terje Eggestad
2002-04-16 15:32 ` Rik van Riel
2002-04-16 16:12 ` Chris Friesen
2002-04-16 17:12 ` Mark Mielke
2002-04-16 13:58 ` Alan Cox
2002-04-17 0:22 ` H. Peter Anvin
2002-04-16 16:27 ` Linus Torvalds
2002-04-16 16:50 ` David Mosberger
2002-04-16 17:18 ` Davide Libenzi
2002-04-16 17:52 ` David Mosberger
2002-04-16 18:10 ` Davide Libenzi
2002-04-17 0:49 ` David Mosberger
2002-04-17 0:57 ` Robert Love
2002-04-17 1:07 ` Davide Libenzi
2002-04-17 5:18 ` Mark Mielke
2002-04-17 5:34 ` Linus Torvalds
2002-04-17 6:01 ` Robert Love
2002-04-17 6:17 ` David Mosberger
2002-04-17 7:59 ` arjan
2002-04-17 8:04 ` Matti Aarnio
2002-04-23 22:42 ` Albert D. Cahalan
2002-04-17 10:12 ` Martin Dalecki
2002-04-18 1:51 ` Dan Mann
2002-04-17 1:22 ` Davide Libenzi
2002-04-17 3:19 ` Ben Greear
2002-04-17 7:55 ` Helge Hafting
2002-04-21 18:00 ` Pavel Machek
2002-04-22 17:20 ` John Alvord
2002-04-22 21:52 ` george anzinger [this message]
2002-04-22 23:06 ` J.D. Bakker
2002-04-22 23:26 ` Anton Blanchard
2002-04-23 19:03 ` george anzinger
2002-04-23 7:08 ` Alan Cox
2002-04-22 17:24 ` David Mosberger
2002-04-16 12:42 ` Richard B. Johnson
2002-04-16 12:31 ` Richard B. Johnson
2002-04-16 14:04 ` Bill Davidsen
2002-04-16 21:34 ` bert hubert
2002-04-16 22:21 ` Andreas Dilger
2002-04-16 22:37 ` Herbert Xu
2002-04-16 22:56 ` Andreas Dilger
2002-04-17 0:34 ` J. Dow
2002-04-17 2:40 ` Herbert Xu
2002-04-17 12:44 ` Kent Borg
2002-04-17 8:28 ` please merge 64-bit jiffy patches. Was " bert hubert
2002-04-17 11:05 ` please merge 64-bit jiffy patches Tim Schmielau
2002-04-17 11:12 ` bert hubert
2002-04-17 12:33 ` Bill Davidsen
2002-04-17 12:42 ` bert hubert
2002-04-17 14:57 ` Bill Davidsen
2002-04-17 11:09 ` please merge 64-bit jiffy patches. Was Re: Why HZ on i386 is 100 ? Wakko Warner
-- strict thread matches above, loose matches on Subject: below --
2002-04-16 10:41 Cabaniols, Sebastien
2002-04-17 0:33 Chen, Kenneth W
2002-04-17 1:02 ` Davide Libenzi
[not found] <3CC4861C.F21859A6@mvista.com.suse.lists.linux.kernel>
[not found] ` <E16zuPf-0007yD-00@the-village.bc.nu.suse.lists.linux.kernel>
2002-04-23 7:17 ` Andi Kleen
2002-04-23 19:09 ` george anzinger
2002-04-24 1:42 ` Alan Cox
2002-04-24 20:20 ` george anzinger
2002-04-27 20:26 ` Alan Cox
2002-04-28 6:02 ` george anzinger
2002-04-28 9:12 ` Alan Cox
2002-04-28 17:34 ` george anzinger
2002-04-28 18:59 ` Alan Cox
2002-04-28 21:50 ` george anzinger
2002-04-29 0:14 ` Alan Cox
2002-04-23 19:24 ` george anzinger
2002-04-23 19:35 ` Andi Kleen
2002-04-24 17:25 ` Maciej W. Rozycki
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=3CC4861C.F21859A6@mvista.com \
--to=george@mvista.com \
--cc=davidel@xmailserver.org \
--cc=davidm@hpl.hp.com \
--cc=jalvo@mbay.net \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
--cc=torvalds@transmeta.com \
/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