[PATCH v2] cpufreq: tests: Providing cpufreq regression test

Viresh Kumar viresh.kumar at linaro.org
Wed Jul 23 03:48:51 PDT 2014


On 23 July 2014 15:40, Lukasz Majewski <l.majewski at samsung.com> wrote:

>> Shouldn't you use userspace governor then instead of performance?
>
> Performance assures that we will have the right frequency set.

Why wouldn't userspace assure that?

> However, there can be a similar patch to use userspace governor and
> various load to fail if ondemand's frequency flipping is detected.

That's why I want to get to the motive behind this patch.
AFAIU, we are checking if its fine to switch to available frequencies
or not and if yes, do we actually switch to those. Right?

For, this testcase we just need a single test and I still don't see why
performance is better than userspace?

>> And then we don't need the gzip stuff at all. We can just set it to
>> the right freq and get current freq to see if it matches?
>
> Sometimes "interresting" things show up when you have 100% CPU load and
> you try to switch frequency.

That's a different test then. And that's how it should be presented.
So, probably another option to the script, which isn't forced on people.



More information about the linux-arm-kernel mailing list