Getting maximum credits |
![]() |
| log in |
Questions and Answers : GPU applications : Getting maximum credits
| Author | Message |
|---|---|
|
I have three rigs with Cuda enabled GPU's and was curious if I would get the most credits by trying to process as much Cuda WU's as I could or just let the BOINC software manage my WU's, which right now is doing mostly AP 5.03's. The quad core running 8 instances of AP in about 70 hours is fairly impressive, but it also has two GTX 260's SLI'd and I want to know if I might get more credits by running mainly Cuda. Thoughts? | |
| ID: 878182 · | |
|
You'll get the most credits by letting the CPUs run AstroPulse and the GPUs run CUDA. Running only CUDA will mean your CPUs go idle when they could be processing more data, earning you more credit. | |
| ID: 878197 · | |
|
And if your GTX260's really are SLI'd then you will be running only one CUDA at a time. Switching off SLI will allow 2 to run at the same time. | |
| ID: 878226 · | |
|
OzzFan and Fred W are exactly right, of course, but here is a tuning method that might optimize anyone's particular system to a max: | |
| ID: 883978 · | |
|
Thanks for the replies. I am slowly getting things figured. I may have stumbled onto an easy method for for maximizing multi-threaded processors running CUDA. Going off what Bob has given us, I used the performance tab in my task manager to observe each of my cores and memory usage (shows 8 cores on a multi-threaded i7). With all eight CPU cores enabled, the taskmanager showed (obviously) that all the cores were running at 100 percent when running eight instances of AP. I then started disabling cores in cc_config. One core disabled still showed all eight in taskmanager running at nearly 100 percent. I then tried two, for a total of 6 CPU and two GPU tasks. This seems to be my magic number as my task manager shows average CPU utiliazation at about 85 percent, with seven CPU cores at near 100 percent usage and one at about 40 percent and it approaches 100 percent only when a MB WU begins. Disabling 3 cores causes the average CPU utilization rate to drop to 70 percent. Completion times have dropped significantly and I think I've solved my CUDA errors problem, too. A quick way to find the sweet spot? I think so! | |
| ID: 885416 · | |
...I then started disabling cores in cc_config... Quote from Client configuration in the BOINC wiki: <ncpus> The preference in question would be On multiprocessors, use at most 75 % of the processors Enforced by version 6.1+ Gruß, Gundolf ____________ Computer sind nicht alles im Leben. (Kleiner Scherz) SETI@home classic workunits 3,758 SETI@home classic CPU time 66,520 hours | |
| ID: 885486 · | |
... here is a tuning method that might optimize anyone's particular system to a max: Bob, When we use the option ... On multiprocessors, use at most xx% of the processors" setting it to 75% on a 4 processor system, would that also make one less processor available to feed the CUDA, or does it simply run one less concurrent AP process?____________ FireFox Personas | |
| ID: 887642 · | |
|
looking at my processes tab in task manager 75% setting seems to be using 3cpu's for AP [75% total cpu] then 8 - 16% of my 4th cpu for cuda feeding [77-79% total cpu] | |
| ID: 888385 · | |
Bob, I haven't experimented with the "use at most xx% of the processors" option. I fear it might limit all processing (GPU support included). While that is probalby a good idea for systems being used for non-BOINC activities, my system is only running BOINC and SETI, no other user apps. I've always used the cc_config method of limiting the number of processors. My system (older 4-core CPU with 6 GPU) is most comfortable at 1xCPU for AP while filling all the GPU with MB. Here is my cc_config.xml file: <cc_config> <options> <ncpus>1</ncpus> </options> </cc_config> I edit the cc_config.xml with Windows Notepad. If you are creating such a file for the first time, the simplest way to do it is as follows: Right click on a blank area of your desktop. Select "new" then "text document" Now right click on the new text document just created. Select "open with" then "Notepad" Cut and Paste in the contents as shown above. Select "File" then "save as" Give it a filename cc_config.xml This forces it to be an xml type of file. Then make sure you put this new .xml file in your BOINC data folder, default of which contains things like a projects folder, a slots folder, etc. For future edits of this file, just right click on the file, choose "open with" and then "notepad". Edit it, then exit notepad and save it. Note: The <ncpus> parameter only affects the number of CPU cores used for workunit processing on the CPU itself. The <ncpus> parameter does not affect the amount of total CPU available for support of GPU-based processing. So if your GPU wants 10% of total CPU power, that is what it still gets. Not 10% of a core, but 10% of all of the CPU (all cores) in total. Bob ____________ Opinion stated as fact? Who, me? | |
| ID: 888479 · | |
Questions and Answers : GPU applications : Getting maximum credits
| Copyright © 2013 University of California |