View Single Post
  #3 (permalink)  
Old 06-04-2008, 06:50 PM
Luke Alcatel
 
Posts: n/a
Re: multi-core processor support in XP embedded?
I can only speak first-hand about dual-core. Use GetProcessAffinityMask and
SetProcessAffinityMask for query and assignment of processes to specific
cores. I think that consistent with Window's annoying preference to be
non-deterministic (even XPe) the system may undermine the choices you make
if it decides there's a better way to balance the load but this has not been
a problem for me because my application consists of two instances of the
same compute intensive application so my processes stay on different cores
where I put them.

Query System\CurrentControlSet\Control\Session
Manager\Environment\NUMBER_OF_PROCESSORS if you need to determine whether
your system is multi-core. As the previous poster stated you need to use an
appropriate HAL but I found that tap.exe selected the right one.

Luke

"iant" <iant@discussions.microsoft.com> wrote in message
news:419BDCBF-9BC3-4B65-A4B8-C54C86AA43D3@microsoft.com...
> Anyone know where I can find out about XP embedded's support for dual core
> and quad core processors?
> For example, can I force components to start in specific cores, can I
> "ban"
> the OS from running in certain cores?
>
>



Reply With Quote