- Joined
- Oct 12, 2004
- Messages
- 15,022
Now that Scott LeGrand got the clearance to spill the beans, the newest 1.07 core allow you to run multiple GPU but with some conditions. The post in question can be found in : http://foldingforum.org/viewtopic.php?f=43&t=3692.
To help setup a multi-gpu config, here is a guide used for ATI, which should be the same for NVIDIA : http://folding.stanford.edu/English/FAQ-ATI (official Stanford site, not FCF).
Also, the 1.07 core allow you to set a precise core affinity you want via a environment variable. More details can be found at : http://foldingforum.org/viewtopic.php?f=43&t=3689
I tested the newest core and by setting the right affinity, you can get back the performance from the 1.05 core while keeping it more stable. However, this require you to play with affinities till you find the best one and my own best is core 0 and 2 (value of 5). If you have any question, shoot it here or in the FCF threads and we will gladly answer. I'm also asking those who have multiple GPU in a box to test the new feature then help others (My own multi-gpu will be coming next week only).


slegrand said:Subject says it all... I've just been given clearance to spill the beans...
But some caveats upfront..
1. Device 0 *must* be a supported CUDA and DirectX display device. It's a client quirk, and there is a workaround in development, but for now, those are the rules.
2. If all your GPUs are CUDA devices and they are all extended onto the desktop, you can just use -gpu n where n is the display device number and it will work just like an ATI client, which means follow the ATI multi-GPU FAQ and you'll be folding away.
3. In the event that 2 above is not the case, there is an override. Skip the -gpu flag and instead set the environment variable NV_FAH_DEVICE=n where n is the CUDA device you wish to use. You may find yourself also playing with CPU affinity here to get the right mix, but that's why we provided the power tools here so to speak. And also it provides a way for anyone with a tesla server/board out there to run F@H today.
3. set VAR=value is the proper syntax. If you put spaces in this, it won't work, i.e. set VAR = value is incorrect.
4. You need to set these variables either in a script that launches the client, or before you launch the client. Doing so after starting the client will have no effect until it is stopped and restarted.
I'm sure we're about to see some quirkiness, but that's what betas are all about... Have fun!
To help setup a multi-gpu config, here is a guide used for ATI, which should be the same for NVIDIA : http://folding.stanford.edu/English/FAQ-ATI (official Stanford site, not FCF).
Also, the 1.07 core allow you to set a precise core affinity you want via a environment variable. More details can be found at : http://foldingforum.org/viewtopic.php?f=43&t=3689
friedrim said:A new Nvidia core (v1.07) has been posted at http://www.stanford.edu/~friedrim/FahCore_11.exe. Scott has added support for a new environment variable, NV_FAH_CPU_AFFINITY, that allows the user to directly set the processor affinity mask or set it to zero to disable all affinity settings. The CPU affinity is set with individual bits (it's a mask, not a CPU selector):
setting NV_FAH_CPU_AFFINITY to
1 ==> CPU 0
2 ==> CPU 1
3 ==> CPU 0 and 1
4 ==> CPU 2
8 ==> CPU 3
15 ==> CPUs 0-3
etc
If this variable is undefined, the default behavior is exhibited. A primer on Windows environment variables is at http://www.chem.gla.ac.uk/~louis/software/faq/q1.html. Please test it by manually deleting an existing core. Thanks.
I tested the newest core and by setting the right affinity, you can get back the performance from the 1.05 core while keeping it more stable. However, this require you to play with affinities till you find the best one and my own best is core 0 and 2 (value of 5). If you have any question, shoot it here or in the FCF threads and we will gladly answer. I'm also asking those who have multiple GPU in a box to test the new feature then help others (My own multi-gpu will be coming next week only).





