* ondemand question?
@ 2004-10-24 19:10 Nebojsa Trpkovic
0 siblings, 0 replies; 5+ messages in thread
From: Nebojsa Trpkovic @ 2004-10-24 19:10 UTC (permalink / raw)
To: cpufreq
Can someone tell me how often "ondemand" governor can switch between CPU
frequencies (How often does it poll CPU usage and decide what to do?)
Thank you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ondemand question?
@ 2004-10-25 16:58 Pallipadi, Venkatesh
2004-10-26 7:34 ` Nebojsa Trpkovic
0 siblings, 1 reply; 5+ messages in thread
From: Pallipadi, Venkatesh @ 2004-10-25 16:58 UTC (permalink / raw)
To: Nebojsa Trpkovic, cpufreq
>-----Original Message-----
>From: cpufreq-bounces@www.linux.org.uk
>[mailto:cpufreq-bounces@www.linux.org.uk] On Behalf Of Nebojsa Trpkovic
>Sent: Sunday, October 24, 2004 12:11 PM
>To: cpufreq@www.linux.org.uk
>Subject: ondemand question?
>
>Can someone tell me how often "ondemand" governor can switch
>between CPU
>frequencies (How often does it poll CPU usage and decide what to do?)
>
>
>Thank you.
>
The frequency is not fixed. Default freq will depend on what amount of
time does CPU actually take to change the frequency. And user can change
this default value within some limits.
Once you start using ondemand governor you will find this (and other
ondemand tunables here)
/sys/devices/..../cpufreq/ondemand/sampling_rate
/sys/devices/..../cpufreq/ondemand/sampling_rate_max
/sys/devices/..../cpufreq/ondemand/sampling_rate_min
(all the numbers here are in uS)
Thanks,
Venki
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ondemand question?
2004-10-25 16:58 Pallipadi, Venkatesh
@ 2004-10-26 7:34 ` Nebojsa Trpkovic
0 siblings, 0 replies; 5+ messages in thread
From: Nebojsa Trpkovic @ 2004-10-26 7:34 UTC (permalink / raw)
To: cpufreq
Pallipadi, Venkatesh wrote:
>The frequency is not fixed. Default freq will depend on what amount of
>time does CPU actually take to change the frequency. And user can change
>this default value within some limits.
>
>Once you start using ondemand governor you will find this (and other
>ondemand tunables here)
>/sys/devices/..../cpufreq/ondemand/sampling_rate
>/sys/devices/..../cpufreq/ondemand/sampling_rate_max
>/sys/devices/..../cpufreq/ondemand/sampling_rate_min
>(all the numbers here are in uS)
>
>Thanks,
>Venki
>
>
Thank you. I made changes I needed. Only thing I don't understand here
is purpose of "sampling_down_factor", but I think I have some idea what
it can be (because of slow slowing down of the CPU)...
Thank you.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: ondemand question?
@ 2004-10-26 16:26 Pallipadi, Venkatesh
2004-10-26 17:00 ` Nebojsa Trpkovic
0 siblings, 1 reply; 5+ messages in thread
From: Pallipadi, Venkatesh @ 2004-10-26 16:26 UTC (permalink / raw)
To: Nebojsa Trpkovic, cpufreq
>-----Original Message-----
>From: cpufreq-bounces@www.linux.org.uk
>[mailto:cpufreq-bounces@www.linux.org.uk] On Behalf Of Nebojsa Trpkovic
>Sent: Tuesday, October 26, 2004 12:34 AM
>To: cpufreq@www.linux.org.uk
>Subject: Re: ondemand question?
>
>Pallipadi, Venkatesh wrote:
>
>>The frequency is not fixed. Default freq will depend on what amount of
>>time does CPU actually take to change the frequency. And user
>can change
>>this default value within some limits.
>>
>>Once you start using ondemand governor you will find this (and other
>>ondemand tunables here)
>>/sys/devices/..../cpufreq/ondemand/sampling_rate
>>/sys/devices/..../cpufreq/ondemand/sampling_rate_max
>>/sys/devices/..../cpufreq/ondemand/sampling_rate_min
>>(all the numbers here are in uS)
>>
>>Thanks,
>>Venki
>>
>>
>Thank you. I made changes I needed. Only thing I don't understand here
>is purpose of "sampling_down_factor", but I think I have some
>idea what
>it can be (because of slow slowing down of the CPU)...
>
>Thank you.
>
sampling_down_factor - When it is 1, ondemand checks for frequency
increase and decrease at the same period/frequency. When it is n,
ondemand checks for frequency decrease once after n checks
for frequency increase.
Thanks,
Venki
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ondemand question?
2004-10-26 16:26 ondemand question? Pallipadi, Venkatesh
@ 2004-10-26 17:00 ` Nebojsa Trpkovic
0 siblings, 0 replies; 5+ messages in thread
From: Nebojsa Trpkovic @ 2004-10-26 17:00 UTC (permalink / raw)
To: cpufreq
Pallipadi, Venkatesh wrote:
>
>sampling_down_factor - When it is 1, ondemand checks for frequency
>increase and decrease at the same period/frequency. When it is n,
>ondemand checks for frequency decrease once after n checks
>for frequency increase.
>
>Thanks,
>Venki
>
>
Exactly what I thought. Great!
Thank you very much!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-26 17:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-26 16:26 ondemand question? Pallipadi, Venkatesh
2004-10-26 17:00 ` Nebojsa Trpkovic
-- strict thread matches above, loose matches on Subject: below --
2004-10-25 16:58 Pallipadi, Venkatesh
2004-10-26 7:34 ` Nebojsa Trpkovic
2004-10-24 19:10 Nebojsa Trpkovic
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.