From: Robert Bradbury <robert.bradbury@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Broken ondemand scheduler in Linux 2.6.30+ on Pentium IVs
Date: Sun, 25 Oct 2009 18:46:03 -0400 [thread overview]
Message-ID: <deaa866a0910251546m7ea001bcm252c41e65927a424@mail.gmail.com> (raw)
Somewhere in the Linux 2.6.30+ patches was a change to
"arch/x86/kernel/cpu/cpufreq/
p4-clockmod.c" which changed (around line 253) such that
policy->cpuinfo.transition_latency = 1000000; /* assumed */
became
policy->cpuinfo.transition_latency = 10000001;
This prevents the ondemand scheduler from being adopted and working
correctly (on a system with the Gnome CPU Frequency Monitor). The
reports I have received regarding *why* this change was made are
cryptic at best.
I will state that *before* the change CPU frequency scaling did work,
the monitor shows the changes and it is reflected at the wall socket
(measured power consumption on a Pentium IV system dropped from ~135W
to ~105W when ondemand scheduling dropped the CPU frequency from 2.8
GHz down to 350-700 MHz -- which is works fine for most lightly used
but need-to-be-on 24/7 web server systems [1].
This change makes Linux less "green" IMO and I would like to know why
it was implemented and/or if it was implemented without bother to
integrate it with the utility developers that are trying to
develop/manage CPU power use at the user level. In this day and age,
one should *not* break power consumption reducing features in the O.S.
without significant documentation as to how and why.
It is worth noting that changing this single line of code back does
restore the power conserving features of the "ondemand" scheduler.
Robert
1. For more information see: Gentoo Bug #287463 "Kernel modifications
break ondemand frequency scaling from conserving power" @ the gentoo
bug database (the URL for which was rejected due to LKML security
policies) [2]
2. One would think that the LKML could verify and accept the security
of various bugzilla based bug reporting systems since reporting bugs
this way on the LKML is very, *very* old school.
next reply other threads:[~2009-10-25 22:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-25 22:46 Robert Bradbury [this message]
[not found] ` <20091026015755.7482.qmail@stuge.se>
2009-10-26 11:50 ` Robert Bradbury
2009-10-26 18:19 ` Matthew Garrett
2009-10-26 18:23 ` Matthew Garrett
2009-10-27 0:44 ` Robert Hancock
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=deaa866a0910251546m7ea001bcm252c41e65927a424@mail.gmail.com \
--to=robert.bradbury@gmail.com \
--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
all inboxes | Powered by JetHome®