setting cpu core affinity for gpu client?
Posted: Wed Sep 10, 2008 8:00 pm
How do I maintain core affinity for the gpu2 client? Every time that I start a new wu it goes back to core 1. Tried googling this issue but to no avail.
Computer Hardware: Reviews - Facts - Issues
https://forums.legitreviews.com/
I found (at least part of) the answer.
Any time you run a GPU cient alongside one of the CPU clients (GPU or uniprocessor) you can set a wndows system environment variable to force the GPU to use any available core instead of the one that it is assigned by default.
Right-click 'my computer' and select 'properties'
click the 'advanced' tab and you will see two windows for managing windows environment variables.
Use the system window and click on the 'create new' button
enter the name of the variable: NV_FAH_CPU_AFFINITY
enter the value you want for the variable:
0= use all cores
1= use core 0
2= use core 1
3= use core 0 + 1
4= use core 2
5= use core 2 + 0
6= use core 2 + 1
7= use core 2 + 1 + 0
8= use core 3
9= use core 3 + 0
10= use core 3 + 1
11= use core 3 + 2 + 0
12= use core 3 + 2
13= use core 3 + 2 + 0
14= use core 3 + 2 + 1
15= use core 3 + 2 + 1 + 0
I just put in 0 so all cores will always be available.
So far, I know on an Opty (X2) the GPU client and the CLI client both fold at rates very similar to what they would do if operating by themselves.
Also, on my Quads, I did this. They run two GPUs and one SMP. All three of those clients also fold at rates very siimilar to what they would do on their own.
I hope this helps!
-Sid
(edit: don't forget to re-start the clients for this change to take affect.)