Dual core question

M

milsabords

Hi,

I have an Athlon 4800+ X2, running Win XP SP2. I do some video encoding
using SUPER, which is a GUI to Mencoder. Process Explorer from Sysinternals
shows that Mencoder has only one thread, however the system view shows both
cores loaded at about 50% by this application.
How come that a one thread program can run on both cores?

Thanks for any explanations.
 
B

Benjamin Gawert

* milsabords:
I have an Athlon 4800+ X2, running Win XP SP2. I do some video encoding
using SUPER, which is a GUI to Mencoder. Process Explorer from Sysinternals
shows that Mencoder has only one thread, however the system view shows both
cores loaded at about 50% by this application.
How come that a one thread program can run on both cores?

Because it's not locked to a certain core but every scheduler cycle
pushed to the core with less load. This results in taskman showing both
cores loaded at 50%.

Benjamin
 
E

Ed

Hi,

I have an Athlon 4800+ X2, running Win XP SP2. I do some video encoding
using SUPER, which is a GUI to Mencoder. Process Explorer from Sysinternals
shows that Mencoder has only one thread, however the system view shows both
cores loaded at about 50% by this application.
How come that a one thread program can run on both cores?

Thanks for any explanations.

Just adding to what Ben said...
but if you want a single threaded app to use just one CPU core you can
set the CPU affinity in task manager by right clicking on the EXE and
then select CPU0 or CPU1 from the list. There are also lots of free CPU
affinity programs out there that can make this task a bit easier if
desired.

Ed
 
M

milsabords

Ed said:
Just adding to what Ben said...
but if you want a single threaded app to use just one CPU core you can
set the CPU affinity in task manager by right clicking on the EXE and
then select CPU0 or CPU1 from the list. There are also lots of free
CPU affinity programs out there that can make this task a bit easier
if desired.

Ed

Thanks. I thought that the allocation of a core to a given thread was
static.
 

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