Is there any way to assign a process to a single processor in win2k adv server?
I have a single executable that I want to run, but only on one processor.
Printable View
Is there any way to assign a process to a single processor in win2k adv server?
I have a single executable that I want to run, but only on one processor.
As far as I know the one processor is dedicated to the running of the system and services, the other processors runs everything else. Or am I missing the point?
I'm not sure that's true, ElBatcho. I've monitored task manager when running single and multiple apps. Almost without exception, both CPUs share the load at nearly identical levels. I don't claim to know Microsoft's algorithm for how multiple CPUs are used, but that's been my observation... :)
Yes, there is an easy way to do that.
It is called "Processor Affinity".
Open Task Manager and Right click on the process, and click "Set Affinity".
Choose the processor you want it to run on...
[quote]Originally posted by ShadowKing:
<strong>Yes, there is an easy way to do that.
It is called "Processor Affinity".
Open Task Manager and Right click on the process, and click "Set Affinity".
Choose the processor you want it to run on...</strong><hr></blockquote>Sweet will try that, sorry spiff but I think it may be sybase which does that for us since we have an 8 proc box and when there are no users in the db only one proc is bouncing, when they start running or the day then all 8 are up and down.