From: Stratos Karafotis <stratosk@semaphore.gr>
To: Viresh Kumar <viresh.kumar@linaro.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
cpufreq@vger.kernel.org, linux-pm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH linux-next] cpufreq: conservative: Fix sampling_down_factor functionality
Date: Tue, 05 Mar 2013 22:15:03 +0200 [thread overview]
Message-ID: <51365247.5030005@semaphore.gr> (raw)
In-Reply-To: <CAKohpokvqe8860J=XO_GXqxpNtrt9XEuUeqCeR=A4PpSaAsHYg@mail.gmail.com>
On 03/05/2013 09:34 AM, Viresh Kumar wrote:
> On 5 March 2013 13:22, Stratos Karafotis <stratosk@semaphore.gr> wrote:
> I misread it here when i looked at this mail for the first time. :)
> I strongly believe that we need a full stop (.) before "Every sampling_rate",
> otherwise it looks like we check for down_factor while increasing freq :)
I agree. I will do that.
> Even now we aren't checking this 80% thing, right? And so in your patch we can
> actually fix the patch too with the right logic of code.. And
> documentation too :)
In my opinion the logic was initially correct. It was broken in the same
commit that broke also sampling_down_factor.
Now we check if load < (cs_tuners.down_threshold - 10) to decrease freq.
Down threshold is 20, so we actually check the 80% idle.
I think the subtraction of 10 from down_threshold is wrong. It seems
similar with ondemand but there is no logic for this in conservative.
User can simply select the down_threshold and the load will be compared
with user's value. No need to alter user's selection.
I will prepare a patchset for these changes.
Regards,
Stratos
next prev parent reply other threads:[~2013-03-05 20:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-04 22:14 [PATCH linux-next] cpufreq: conservative: Fix sampling_down_factor functionality Stratos Karafotis
2013-03-05 0:23 ` Viresh Kumar
2013-03-05 5:22 ` Stratos Karafotis
2013-03-05 7:34 ` Viresh Kumar
2013-03-05 20:15 ` Stratos Karafotis [this message]
2013-03-05 14:11 ` David C Niemi
2013-03-05 14:21 ` David C Niemi
2013-03-05 20:37 ` Stratos Karafotis
2013-03-06 6:43 ` Viresh Kumar
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=51365247.5030005@semaphore.gr \
--to=stratosk@semaphore.gr \
--cc=cpufreq@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rjw@sisk.pl \
--cc=viresh.kumar@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.