public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bruce <bruce@andrew.cmu.edu>
To: Pavel Machek <pavel@ucw.cz>
Cc: Lee Revell <rlrevell@joe-job.com>,
	Marc Ballarin <Ballarin.Marc@gmx.de>,
	linux-kernel@vger.kernel.org
Subject: Re: Power consumption HZ100, HZ250, HZ1000: new numbers
Date: Sun, 31 Jul 2005 18:12:31 -0400	[thread overview]
Message-ID: <42ED4CCF.6020803@andrew.cmu.edu> (raw)
In-Reply-To: <20050731211020.GB27433@elf.ucw.cz>

Pavel Machek wrote:
> Then the second test was probably flawed, possibly because we have
> some more work to do. No display is irrelevant, HZ=100 will still save
> 0.5W with running display. Spinning disk also does not produce CPU
> load (and we *will* want to have disk spinned down). No daemons... if
> some daemon wakes every msec, we want to fix the daemon. 

I was talking about percentage saved; That 5.2% easily drops below 2% 
once other things start sucking up power.  I was thinking that way since 
the percentage saved is what determines the overall battery life 
increase.  You're right in that the absolute power draw difference 
should stay the same, and that seems to be the case is Marc's tests 
(ignoring the brokenness of artsd).

> Kernel defaults are irelevant; distros change them anyway. [But we
> probably want to enable ACPI and cpufreq by default, because that
> matches what 99% of users will use.]

True, but I think a lot of distros treat the values as recommendations. 
  I guess we'll find out what they do with this option soon enough.

>>I have a fixed-framerate app that had to busywait in the days of 2.4.x. 
>> It was nice in 2.6.x to not have to busywait, but with 250HZ that code 
>>will be coming back again.  And unfortunately this app can't be made 
>>variable-framerate, as it is simulating video hardware.  The same goes 
>>for apps playing movies/animations; Sometimes programs just need a 
>>semi-accurate sleep, and can't demand root priveledges to get it.
> 
> I really don't think default HZ in kernel config is such a big
> deal. You'll want to support HZ=100 on 2.6.X, anyway...

Yeah, but if its only the default value for servers and laptops they 
won't normally be running my app.  I'll be truly happy the day I can 
delete all the busy-waiting code, as I think its about the ugliest 
workaround in modern computing.

> defconfig on i386 is Linus' configuration. Maybe server-config and
> laptop-config would be good idea...

Well maybe if we can get enough people who agree then it could happen. 
I think a "laptop-config" and "server-config" file could fit nicely into 
the current arch/*/config/ directory structure.  I'm not sure how those 
defconfig files are kept up to date though.

  - Jim

  parent reply	other threads:[~2005-07-31 22:14 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 22:49 Power consumption HZ100, HZ250, HZ1000: new numbers Marc Ballarin
2005-07-29 23:15 ` Lee Revell
2005-07-30 10:06   ` Marc Ballarin
2005-07-30 18:05     ` Lee Revell
2005-07-30 18:18       ` Zwane Mwaikambo
2005-07-30 18:14         ` Lee Revell
2005-07-30 18:35         ` Lee Revell
2005-08-01 20:00         ` Lee Revell
2005-07-30 19:51       ` Pavel Machek
2005-07-30 20:04         ` Lee Revell
2005-07-30 20:10           ` Pavel Machek
2005-07-31 20:21             ` James Bruce
2005-07-31 21:10               ` Pavel Machek
2005-07-31 21:41                 ` Lee Revell
2005-07-31 21:57                   ` James Bruce
2005-07-31 22:32                   ` Pavel Machek
2005-07-31 23:20                     ` Bernd Eckenfels
2005-08-01  1:59                     ` Kyle Moffett
2005-08-02  9:08                   ` Tomasz Torcz
2005-07-31 21:54                 ` Lee Revell
2005-07-31 22:02                 ` Lee Revell
2005-07-31 22:18                   ` James Bruce
2005-07-31 22:07                 ` Jim Crilly
2005-07-31 22:36                   ` Pavel Machek
2005-07-31 22:39                     ` Lee Revell
2005-08-01  3:49                     ` Jim Crilly
2005-08-01  7:26                       ` Pavel Machek
2005-08-01 18:16                         ` Jim Crilly
2005-08-10 18:49                   ` Bill Davidsen
2005-07-31 22:12                 ` James Bruce [this message]
2005-07-31 22:47                   ` Pavel Machek
2005-07-31 23:23                     ` Lee Revell
2005-07-31 23:29                       ` Pavel Machek
2005-07-31 23:53                         ` Lee Revell
2005-08-01  7:28                           ` Pavel Machek
2005-08-10 19:00                           ` Bill Davidsen
2005-08-01  6:19                       ` Stefan Seyfried
2005-08-01 16:07                         ` Jan Knutar
2005-08-01 18:45                           ` Lee Revell
2005-08-02  9:13                         ` Tomasz Torcz
2005-08-02 14:58                           ` Lee Revell
2005-08-01  7:44                       ` David Weinehall
2005-08-01 16:18                         ` James Bruce
2005-08-01 19:27                           ` Lee Revell
2005-08-01 20:42                           ` Theodore Ts'o
2005-08-02  4:50                             ` James Bruce
2005-08-02 13:10                               ` Stephen Clark
2005-08-02 14:02                                 ` Lee Revell
2005-08-02 14:12                                   ` Jens Axboe
2005-08-02 17:06                                     ` Folkert van Heusden
2005-08-02 17:45                                       ` linux-os (Dick Johnson)
2005-08-02 17:55                                         ` Lee Revell
2005-08-02 14:15                                   ` Con Kolivas
2005-08-02 14:20                                   ` Lars Marowsky-Bree
2005-08-02 14:22                                     ` Lee Revell
2005-08-02 15:18                                     ` Joel Jaeggli
2005-08-03  8:53                                     ` Oliver Neukum
2005-08-02 14:43                                   ` Jeff Garzik
2005-08-02 14:52                                     ` Lee Revell
2005-08-02 19:26                                       ` Lars Marowsky-Bree
2005-08-02 15:42                                 ` James Bruce
2005-08-02 15:58                                   ` Lee Revell
2005-08-02 17:02                                     ` Prakash Punnoor
2005-08-02 16:08                                   ` Ondrej Zary
2005-08-05  6:39                                     ` James Bruce
2005-08-11 19:22                                       ` Ondrej Zary
2005-08-03  9:19                               ` Hans Kristian Rosbach
2005-08-03 13:57                                 ` Dmitry Torokhov
2005-08-04 12:52                                   ` Hans Kristian Rosbach
2005-08-02  6:45                           ` Tony Lindgren
2005-08-02 11:23                           ` Pavel Machek
2005-08-02 14:08                             ` Lee Revell
2005-08-02 14:31                               ` Roman Zippel
2005-08-02 11:25                           ` Pavel Machek
2005-08-02 14:07                             ` Lee Revell
2005-08-03 17:13                               ` Stephen Ray
2005-08-03 19:12                                 ` Lee Revell
2005-07-30 20:08         ` Lee Revell
2005-07-30 10:06 ` Pavel Machek
2005-08-10 19:08   ` Bill Davidsen
  -- strict thread matches above, loose matches on Subject: below --
2005-08-03 15:20 ambx1
2005-08-03 16:47 ` James Bruce

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=42ED4CCF.6020803@andrew.cmu.edu \
    --to=bruce@andrew.cmu.edu \
    --cc=Ballarin.Marc@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=rlrevell@joe-job.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