From: Dominik Brodowski <linux@dominikbrodowski.de>
To: Alexander Clouter <alex-kernel@digriz.org.uk>
Cc: linux-kernel@vger.kernel.org, cpufreq@www.linux.org.uk
Subject: Re: [PATCH] cpufreq_ondemand
Date: Mon, 18 Oct 2004 09:20:45 +0200 [thread overview]
Message-ID: <20041018072045.GA17164@dominikbrodowski.de> (raw)
In-Reply-To: <20041017222916.GA30841@inskipp.digriz.org.uk>
Hi,
On Sun, Oct 17, 2004 at 11:29:16PM +0100, Alexander Clouter wrote:
> After playing with the cpufreq_ondemand governor (many thanks to those whom
> made it) I made a number of alterations which suit me at least. Really
> looking for feedback and of course once people have fixed any bugs they find
> and made the code look neater, possible inclusion?
Or possibly a "fork" -- different dynamic cpufreq governors aren't a bad
thing to have. Else the whole modular approach would be wrong... So, even
if it doesn't get merged into cpufreq_ondemand, you can maintain it as a
differently named cpufreq governor.
> 2. controllable through
> /sys/.../ondemand/ignore_nice, you can tell it to consider 'nice'
> time as also idle cpu cycles. Set it to '1' to treat 'nice' as cpu
> in an active state.
Interesting bit, IIRC some userspace tool also does that.
> 4. (minor) I changed DEF_SAMPLING_RATE_LATENCY_MULTIPLIER to 50000 and
> DEF_SAMPLING_DOWN_FACTOR to 5 as I found the defaults a bit annoying
> on my system and resulted in the cpufreq constantly jumping.
>
> For my patch it works far better if the sampling rate is much lower
> anyway, which can only be good for cpu efficiency in the long run
However, this means it takes much longer for the system to react to changes
in load... it's a tricky issue.
> 6. debugging (with 'watch -n1 cat /sys/.../ondemand/requested_freq') and
> backwards 'compatibility' to act like the 'userspace' governor is
> avaliable with /sys/.../ondemand/requested_freq if
> 'freq_step_percent' is set to zero
Please don't do that. Userspace is the governor for userspace frequency
setting; if you want it, switch to userspace, if you want dynamic frequency
selection, use the original ondemand or your governor.
Dominik
next prev parent reply other threads:[~2004-10-18 7:20 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-17 22:29 [PATCH] cpufreq_ondemand Alexander Clouter
2004-10-17 22:35 ` Con Kolivas
2004-10-17 22:44 ` Alexander Clouter
2004-10-19 18:22 ` Bruno Ducrot
2004-10-20 5:03 ` Andre Eisenbach
2004-10-20 7:35 ` Len Brown
2004-10-20 14:30 ` Dominik Brodowski
2004-10-20 21:03 ` Len Brown
2004-10-20 21:18 ` Dominik Brodowski
2004-10-17 22:45 ` Nebojsa Trpkovic
2004-10-18 7:27 ` Dominik Brodowski
2004-10-18 7:20 ` Dominik Brodowski [this message]
2004-10-18 8:12 ` Mattia Dongili
2004-10-18 8:25 ` Alexander Clouter
2004-10-18 8:59 ` Dominik Brodowski
-- strict thread matches above, loose matches on Subject: below --
2004-10-18 4:56 Pallipadi, Venkatesh
2004-10-18 8:39 ` Alexander Clouter
2004-10-18 8:54 ` Dominik Brodowski
2004-10-19 5:06 ` Willy Tarreau
2004-10-18 22:48 Pallipadi, Venkatesh
2004-10-18 23:18 ` Alexander Clouter
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=20041018072045.GA17164@dominikbrodowski.de \
--to=linux@dominikbrodowski.de \
--cc=alex-kernel@digriz.org.uk \
--cc=cpufreq@www.linux.org.uk \
--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