Re: About Power Manager
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Aug 2007 08:23:44 -0400
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.
.
- References:
- Re: About Power Manager
- From: Stanley
- Re: About Power Manager
- Prev by Date: Re: About Power Manager
- Next by Date: Re: About OEMIdle
- Previous by thread: Re: About Power Manager
- Next by thread: Display driver
- Index(es):
Relevant Pages
|