multi-core processor support in XP embedded?

I

iant

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?
 
M

Mike Warren

iant said:
Anyone know where I can find out about XP embedded's support for dual
core and quad core processors?

You just need to use the right HAL component for your hardware.

For example, can I force components to start in specific cores, can I
"ban" the OS from running in certain cores?

If there is some way to do it on XP Pro, and I don't think there is,
then it will be possible on XPe.

There is no extra feature of XPe that I'm aware of to allow this either.
 
L

Luke Alcatel

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top