Dual core + task manager = question

Associate
Joined
18 Oct 2002
Posts
466
Hi, I've just bought a nice new dual core centro laptop, which is working fantasticallly. However I've notice something odd in taskmanger. As expected if I run a single process at full wack (e.g. compressing lots of files, running a matlab simulation) then the cpu usage jumps upto 50% or there abouts. I assumed this meant one of the processors was working at 100% on the task and the other was idling. However when I go to the 'performance' tab in taskmanger I see two cpu graphs, one for each core, but both are hovering around the 50% mark. What's going on?
 
Thanks for all the input. I guess I'm still suprised, from what I'd been led to belive a single threaded process (which both of the examples are) should remain bound to a single core. Surely having a process swap between cores would introduce an addittional overhead? So in practise a single core should run at 100% and the other should run at 0% (depending on what else is running). Since this isn't happening I obviously belive the wrong thing but I'm still quite suprised.

Otacon: I suspect it isn't an additional bottleneck as the balance is too perfectly 50% (that and the fact that I'm luck enough to have a laptop with a nice fast 7200rpm disk)
 
marc2003. Well I stand 100% corrected. It does seem that the process is switching between the cores. In task manager if I right click the process it's possible to set the affinity so that it only runs on one core. Doing this, as you might expect, causes the process to run at 100% on that core and to leave the other one alone. Though I'm still suprised the it swaps between the cores at all - I just don't see what the advantage would be.
 
Back
Top Bottom