Page 1 of 1

setting cpu core affinity for gpu client?

Posted: Wed Sep 10, 2008 8:00 pm
by XstollieX
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.

Re: setting cpu core affinity for gpu client?

Posted: Wed Sep 10, 2008 8:56 pm
by vbironchef
Not sure you saw my other post on your question. http://distributed.org.ua/forum/index.p ... topic=1149 is what I use.

Re: setting cpu core affinity for gpu client?

Posted: Thu Sep 11, 2008 4:03 am
by XstollieX
Isn't that for the smp client? I will be running dual gpu clients

Re: setting cpu core affinity for gpu client?

Posted: Sun Sep 14, 2008 6:46 pm
by DaIceMan
Hey bro... not sure what you're doing, but keep it up. Nice to see a new name in the Top 3 on the daily list. I'll be giving up the top spot this week while I RMA a mobo, but will be back for my seat with a vengeance when it returns.

Re: setting cpu core affinity for gpu client?

Posted: Sun Sep 14, 2008 8:12 pm
by XstollieX
I set up my main rig to run 2 9800gtx's on the gpu2 client and my other rig is running 1 gpu client on my 9600gt xxx. Haven't had much time to set up the smp on my quad core. that should add about 1500 or so ppd. If I can get a few more bucks I'm gonna grab another 9800 or a 9600 and mobo to run sli on my quad core.

Re: setting cpu core affinity for gpu client?

Posted: Mon Sep 15, 2008 4:03 pm
by geokilla
This thread will help. http://forums.anandtech.com/messageview ... id=2226790
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.)

Re: setting cpu core affinity for gpu client?

Posted: Wed Sep 17, 2008 7:32 pm
by XstollieX
that seems to have done the job!
thank Geo