* Frequency Scaling on Intel Core 2 Duo Processors
@ 2009-10-26 15:06 pradeep hettiarachchi
2009-10-27 11:31 ` Valdis.Kletnieks
0 siblings, 1 reply; 2+ messages in thread
From: pradeep hettiarachchi @ 2009-10-26 15:06 UTC (permalink / raw)
To: linux-kernel
Hi,
I am working on a research in real-time systems. If I want to change
the frequency of the system as rapidly as possible, what is the best
method ? At the moment I write MSR_IA32_PERF_CTL, MSR directly with
the pre-found(calculated, encoded) values** for different frequencies.
I found the entire transition (latency) takes multiple milliseconds to
complete; however, I want some faster method to change the CPU
frequency.
Thank you in advance.
-Pradeep
** Initially I change the CPU frequency by some other method, such as
methods provided by an available user-space governor, and record the
MSR_IA32_PERF_STATUS values corresponding to that frequency. Later, I
change the relevant bits of MSR_IA32_PERF_CTL, with the values I got
previously, to achieve the relevant anticipated speed.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Frequency Scaling on Intel Core 2 Duo Processors
2009-10-26 15:06 Frequency Scaling on Intel Core 2 Duo Processors pradeep hettiarachchi
@ 2009-10-27 11:31 ` Valdis.Kletnieks
0 siblings, 0 replies; 2+ messages in thread
From: Valdis.Kletnieks @ 2009-10-27 11:31 UTC (permalink / raw)
To: pradeep hettiarachchi; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
On Mon, 26 Oct 2009 11:06:23 EDT, pradeep hettiarachchi said:
> Hi,
>
> I am working on a research in real-time systems. If I want to change
> the frequency of the system as rapidly as possible, what is the best
> method ? At the moment I write MSR_IA32_PERF_CTL, MSR directly with
> the pre-found(calculated, encoded) values** for different frequencies.
> I found the entire transition (latency) takes multiple milliseconds to
> complete; however, I want some faster method to change the CPU
> frequency.
You're going to have a hard time making it switch any faster than the value
listed in /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency
though I admit I'm not awake enough yet to be sure what the units of that file
are...
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-27 11:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-26 15:06 Frequency Scaling on Intel Core 2 Duo Processors pradeep hettiarachchi
2009-10-27 11:31 ` Valdis.Kletnieks
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®