Re: About Power Manager



I think that you answered your own question in a different post. The system
enters OEMIdle when there are no threads to schedule. That is, when all
threads are blocked.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"Stanley" <Stanley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:CACCA770-367C-4504-AC86-359F2FEAE79B@xxxxxxxxxxxxxxxx
Excuse me, When I test the OEMIdle, I put a debug message in it. But, I
can't
see the message when I idle the system without any user input. Would you
tell
me what is the condition that the system will enter the IDLE mode?

Best regards,

"Dean Ramsier" wrote:

Typically OEMIdle cuts the cpu clock only, leaving the peripheral clocks
unaffected. Depends on the capability of the cpu. But you're correct,
you
can't be adjusting the clock in a way that negatively affects other
devices.
Power states that affect other devices would be managed by the higher
level
PM driver, which should have knowledge of whether that device can be
safely
disabled or not.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Stanley" <Stanley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4B7AB72A-D6AB-4B04-9329-C93D06C8744E@xxxxxxxxxxxxxxxx
Excuse me, there is another question when I implement the OEMIdle and
the
PM
functions device driver.
If I move the CPU into idle mode, I will reduce the CPU clock for power
s
aving. Is it OK for reducing CPU clock in the OEMIdle?
However, the device sharing with the same clock source with CPU will
also
be
affected.
Ex: USB must work in 48Mhz. The CPU clock can't lower than it.
I am afaid that the CPU can't get smaller power in this condition.
Please give me some advices.

Best regards,
"Stanley" wrote:

Thanks you all,
I think I've understood the difference.


"Paul Monson" wrote:

PM manages the power state of peripheral devices. Many peripheral
devices are relatively slow to start and stop. As a result the
power
state is adjusted less frequently(when compared to OEM idle),
usually
after several seconds or minutes have passed.

OEM idle usually only affects the CPU power states and happens as
frequently as possible.

Paul Monson
Intrinsyc


Dean Ramsier wrote:
The same as it was before. The kernel constantly transitions in
and
out of
Idle (meaning OEMIdle) whenever a thread blocks and nothing else
is
scheduled to run. This happens at the millisecond level and is
transparent
to the Power Manager, which works with system wide events on a
much
larger
time scale.

Maybe the key to understanding this is to recognize that the
kernel
Idle
refers to idling the processor at the thread level (microscopic)
and
the PM
refers to system level events (macroscopic). The two execute in
parallel,
and the PM has no idea if the kernel has placed the processor in a
low power
mode via OEMIdle.






.



Relevant Pages

  • Re: [PATCH]cpuset: add new API to change cpuset top groups cpus
    ... I have tried few load balancer hacks to evacuate cores but not a solid ... where the word "power" is incorrectly used in the thread above) ... aggregate idle time on cpu/core/packages so as to maximize the idle time ... other major issue for using cpu hotplug for this purpose. ...
    (Linux-Kernel)
  • Re: [PATCH]cpuset: add new API to change cpuset top groups cpus
    ... don't need a new interface to force a cpu idle. ... Furthermore, we should not want anything outside of that, either the cpu ... we already have power aware scheduling which tries to ... the platform will ask us to take ...
    (Linux-Kernel)
  • Re: About Power Manager
    ... me what is the condition that the system will enter the IDLE mode? ... "Dean Ramsier" wrote: ... Depends on the capability of the cpu. ... If I move the CPU into idle mode, I will reduce the CPU clock for power ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 2.6.25.x: Wrong CPU frequency (cpufreq table) with p4-clockmod
    ... which means slower fans, which means less noise. ... idle uses *EXACTLY* the same amount of power as p4-clockmod slower speed and idle, the only power difference would be that if you were using p4-clockmod to slow down the cpu when it had an active running process. ...
    (Linux-Kernel)
  • Re: About Power Manager
    ... Depends on the capability of the cpu. ... Power states that affect other devices would be managed by the higher level ... If I move the CPU into idle mode, I will reduce the CPU clock for power s ... Is it OK for reducing CPU clock in the OEMIdle? ...
    (microsoft.public.windowsce.platbuilder)

Quantcast