Solved Processor Affinity with Process

January 11, 2013 at 10:47:38
Specs: Any , Any
I have multi processor computer. I am willing to attach running build process with a particular CPU. Will it make build process faster?

See More: Processor Affinity with Process

Report •

January 11, 2013 at 10:58:29
I can't really see why it should. But there's an easy way to tell - try it and see.

Report •

January 11, 2013 at 11:28:49
"I have multi processor computer"

Are you sure it's not a single processor with mutiple cores? It makes a difference.

Report •

January 11, 2013 at 12:14:12
✔ Best Answer
It is important to understand what setting affinity actually does. It restricts the process to using only the selected processor (or core). It does not in any way reserve the processor as Windows will continue to use it for whatever other processes it wishes, subject of course to other affinity restrictions. Windows assigns an ideal processor to each thread but this is only a guide. It may use others if the ideal processor is busy. If an affinity restriction prevents this the process will just have to wait. From a performance standpoint that is not normally a good thing.

Setting an affinity restriction is more likely to impair a processes performance than improve it. Of course there are exceptions.

Report •
Related Solutions

Ask Question