Re: Windows CE 4.2 scheduling

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Steve Maillet \(eMVP\) (nospam1_at_EntelechyConsulting.com)
Date: 08/04/04


Date: Wed, 4 Aug 2004 09:13:16 -0400

Probably not. Depending on the CPU. On say an XScale you won't be able to
bring the SDRAM out of self refresh except via a reset. remember that when
the SDRAM is in self refresh you can't access the RAM for the code to
restore it to normal operation.

Assuming you have a solution to that it makes no difference whatsoever what
the thread quantum is as OEMIdle won't occur more often it will occur with
the same general frequency. OEMIdle is called when the scheduler has nothing
to schedule as every thread is blocked waiting on something (typically I/O
of some sort) on desktop systems there is an IDLE process that sits and
spins in a loop at the lowest possible priority so there is always something
to schedule. Unfortunately that eats up battery life in battery powered
devices so Windows CE uses the Idle capabilities of the CPU (if available)
to put the system into a low power state that can quickly restore to normal
operation upon an interrupt.

-- 
Steve Maillet (eMVP)
smaillet at EmbeddedFusion dot com


Relevant Pages

  • Re: Something to think about
    ... SDRAM Bank Interleave ... This feature enables you to set the interleave mode of the SDRAM interface. ... Interleaving allows banks of SDRAM to alternate their refresh and access ... If there are 4 banks in the system, the CPU can ideally send one data ...
    (microsoft.public.windowsxp.general)
  • Re: Which CPU to choose?
    ... just two chips: cpu and memory. ... The code for x86 is written in ASM, ... 128k of internal CODE memory, ... ASM.X86+32MB SDRAM could point to the Atom, under e30, ...
    (comp.arch.embedded)
  • Re: power management on embedded linux?
    ... processors, typically the SDRAM is put into self refresh, and the ... you take the SDRAM out of self ... the kernel can typically handle it. ... PPC on wake up but its good to here that it works on some platforms so I'm ...
    (comp.os.linux.embedded)
  • Re: Run SDRAM with slower speed
    ... >> This is clear from the datasheets, but one thing that was not at all clear when I was looking at ... >> this is how the length of a self-refresh cycle scales at lower clocks. ... When in the self refresh mode, the SDRAM retains data ...
    (sci.electronics.design)
  • Re: RAM auslesen nach dem Strom aus war
    ... DDRs reagieren etwas allergisch auf Schwankungen im Takt bzw. zu ... CPU ein Reset bekommt, nachdem sie gerade vom SDRAM ein paar Daten ...
    (de.comp.security.misc)