From: Thomas Renninger <trenn@suse.de>
To: Vishwanath Sripathy <vishwanath.sripathy@linaro.org>
Cc: David C Niemi <dniemi@verisign.com>,
Amit Kucheria <amit.kucheria@linaro.org>,
linaro-dev@lists.linaro.org, cpufreq@vger.kernel.org
Subject: Re: Issues with ondemand governor
Date: Thu, 25 Nov 2010 15:31:57 +0100 [thread overview]
Message-ID: <201011251531.57920.trenn@suse.de> (raw)
In-Reply-To: <AANLkTintd_5LMEPS5OGK0Zh0ydQp-X4D9=kFEpbRFTsg@mail.gmail.com>
On Thursday 25 November 2010 13:05:49 Vishwanath Sripathy wrote:
> Thanks David.
> If I would like to fine tune up_threshold and sampling_down_factor for
> say OMAP platform, is there any way to do it in kernel itself?
> I know these are configurable via sysfs entries. But if I want to
> optimize them in kernel itself, is there anyway? I see that default
> values are set in cpufreq-ondemand.c which is common kernel file. I
> would like to know if these can be set in platform specific code?
Ugly to do...
This should be done global and not per cpu?
If per_cpu it could be added to policy, simlar to latency:
set in driver's init func, evaluated in governor later.
Possibly if in cpufreq.h a struct:
{
unsigned int sampling_down_factor;
...
} cpufreq_governor_hints;
is added which gets filled by the platform driver in the .init func
and then gets evaluated in the governor, but only once also at init
time. Doing this when the governor is already active involves
locking which must get avoided.
Thomas
next prev parent reply other threads:[~2010-11-25 14:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-22 13:18 Issues with ondemand governor Vishwanath Sripathy
2010-11-22 16:09 ` David C Niemi
2010-11-23 12:29 ` Vishwanath Sripathy
2010-11-23 14:52 ` Amit Kucheria
2010-11-24 11:57 ` Vishwanath Sripathy
2010-11-24 14:12 ` David C Niemi
2010-11-25 12:05 ` Vishwanath Sripathy
2010-11-25 14:31 ` Thomas Renninger [this message]
[not found] ` <4CEA959F.9000505-0nFLJxsdniVWk0Htik3J/w@public.gmane.org>
2010-11-26 22:38 ` Christian Robottom Reis
[not found] ` <20101126223815.GU30563-J1k5CargkBPB0jqWMgOSsQh0onu2mTI+@public.gmane.org>
2010-11-29 9:05 ` Vishwanath Sripathy
2010-11-29 15:16 ` David C Niemi
[not found] ` <4CF3C3B4.3000209-0nFLJxsdniVWk0Htik3J/w@public.gmane.org>
2010-11-29 15:38 ` Nicolas Pitre
2010-11-29 18:00 ` Dave Jones
2010-11-29 20:03 ` David C Niemi
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=201011251531.57920.trenn@suse.de \
--to=trenn@suse.de \
--cc=amit.kucheria@linaro.org \
--cc=cpufreq@vger.kernel.org \
--cc=dniemi@verisign.com \
--cc=linaro-dev@lists.linaro.org \
--cc=vishwanath.sripathy@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.