Skip to contentSkip to conversation

How ondemand governor works for two-core system?

DISCUSSION Lei Yang 1 participant 1 message Apr 2, 2008

lore
Share & tools
lore

Lei Yang

author
#0 lore raw

Hi list,

I have a question about the ondemand governor in general. For single processor system, it controls the frequency according to the current CPU load and certain thresholds. Then, for a dual core system (where the frequency of the two cores must be changed at the same time, i.e., you can't decrease the frequency of one core and make the other stay at the original frequency. I think the Intel core-2-duo CPU operates like this. Correct me if I'm wrong.), how does the ondemand governor decide the frequency? Let's say if the CPU load of one core is higher than the threshold, say 80%, then both core would stay at high frequency? In other words, does the governor always evaluate the "max" CPU load of the two cores, and decide the appropriate frequency?

I'm new to the list so I'd appreciate any comments from you! Thanks in advance!

Lei