Re: Frequency Scaling on Intel Core 2 Duo Processors

From: Valdis . Kletnieks
Date: Tue Oct 27 2009 - 07:31:20 EST


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: pgp00000.pgp
Description: PGP signature