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 16:21:39 -0400	[thread overview]
Message-ID: <42ED32D3.9070208@andrew.cmu.edu> (raw)
In-Reply-To: <20050730201049.GE2093@elf.ucw.cz>

Pavel Machek wrote:
> First numbers were 0.5W on idle system; that shows what kind of
> powersaving can be done. Powersaving is no longer possible when artsd
> is not running, but that should not be used as argument against it.

It was an idle system with no display, zero daemons running, and the 
hard drive off.  In other words, a machine that nobody could use which 
might as well be hibrinating.  While it was an important test to find 
out the most one could hope to save, its unrealistic for an actual usage 
case.  The later test was more realistic, and not suprisingly showed 
quite a bit less power savings.

I really like having 250HZ as an _option_, but what I don't see is why 
it should be the _default_.  I believe this is Lee's position as well. 
Last I checked, ACPI and CPU speed scaling were not enabled by default; 
If users are willing to change all those other options, why can't we 
expect them to select 250HZ/100HZ?  Instead, we are quadrupling latency 
for desktop users (for little or no power savings), just so that laptop 
users can save enabling one option out of the many they already need to 
change.

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 remember that 1000HZ was chosen in part so that fewer people would 
complain about the need for the Posix highres timers.  Well now that 
1000HZ is going away, can we have our highres timers or not?  My guess 
is no.  Thus we've predictably come back out here to complain.  All 
we're asking is that the default value be left alone until tick-skipping 
approaches and/or highres timers are given a chance to work.  That way 
we can see if we can find a solution that truly makes everyone happy.

In a sense I feel this whole thing boils down to the fact that we don't 
have something like "make laptop-config" and "make server-config".  I'm 
glad we could save 5.2% of the power for a laptop user by changing the 
defaults (as long as you remember to change other options too).  However 
I'm not sure it should come at the expense of those doing video or audio 
on a desktop.  Right now with the one-size-fits-all defaults, we end up 
having to make that tradeoff.

  - Jim Bruce

  reply	other threads:[~2005-07-31 20:21 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 [this message]
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
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=42ED32D3.9070208@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