Reserve a part of the CPU only for GPU support? |
![]() |
| log in |
Message boards : Number crunching : Reserve a part of the CPU only for GPU support?
| Author | Message |
|---|---|
|
It's possible to reserve a part of the CPU only for GPU support? | |
| ID: 1283458 · | |
|
Yes, that's what your operating system does. Have a look at Task Manager sometime, to see how many other programs are running on your CPUs when the GPU support threads don't need it. | |
| ID: 1283501 · | |
It's possible to reserve a part of the CPU only for GPU support? How come? Is the GPU not being properly utilized? I was having this problem on my newest system. It turned out to not be scheduling of the GPU app. Instead, the NVidia drivers and EVGA Precision were conspiring to throttle the GPU to 405MhZ always, regardless of the clock speed I chose. I uninstalled EVGA Precision and reinstalled the NVidia drivers using "Clean install" mode to get rid of any previous settings, and went from 45 mins. per CUDA WU to about 11.5 mins. Hope this helps. :^) ____________ “Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it's the only thing that ever has.” --- Margaret Mead | |
| ID: 1283556 · | |
It's possible to reserve a part of the CPU only for GPU support? There are many, many reasons for nVidia GPUs entering that protective downclocked state. Don't be too quick to assume that it was the fault of EVGA Precision. Other causes that have been discussed on these boards include (off the top of my head): Overheating Undervolting Bus contention (latency) RAM timings Non-threadsafe application exits and probably many more. Keep an eye on it to see if it happens again. (Voltage - my laptop tends to get into that state if I leave CUDA tasks running on battery for too long, when moving from one wall outlet to another) | |
| ID: 1283576 · | |
|
Wasn't overheating... both Precision and SpeedFan agreed that the GPU was underutilized at 44°C. It's now about 65°C. Yeah, that's where I want it... it's a beater cruncher. :^) | |
| ID: 1283621 · | |
|
Richard, my PCs crunch CUDA since SETI@home released the first CUDA application .. | |
| ID: 1283694 · | |
But ~ 70 % of the CPU-thread still calculate CPU WUs (or do other things). Each CPU core (phisical or virtual) is just one device and it could be used or not. When you see its used at 10% that means that on given time 10% of that time it was used at 100% and the rest of the time it was idle. So the only way to do that would be by throtelling specific apps so they can use the CPU only, lets say, 70% of the time leaving the CPU idle the other 30%... but, first, there is not guarantee that when the GPU needs the core, it will be just in the right moment in which it was iddling, second, this throtelling will be using some CPU power and third, this is exactly what the operating sytems do -dynamically- when several processes need to use the same core. All this switching thing between apps is what drags down the performance of the CPU to feed the GPU. When you rise the priority of a certain tasks, the OS suspend the other tasks without waiting until they have used their whole assigned time slice, wich speeds up a little the response of the higher priority tasks, but the task switching is still needed, so while there is some rise of the performance there is not a hughe improovement... ____________ | |
| ID: 1283726 · | |
|
The only way I can think of to make this work in practice is for a single application to run science on both the GPU and CPU. By having control of both devices, it could handle much more fine-grained scheduling - switching between the GPU-support role and CPU number crunching. From the outside, that might look like busy-wait GPU sychronisation with 100% CPU usage (often described as a driver bug), with the crucial exception that the 'wait' cycles are doing productive work. | |
| ID: 1283803 · | |
|
I searched the web and found two tools: | |
| ID: 1283878 · | |
What you think about this both tools, they are fine for us SETI@home members? I doubt this tools will give you the result you want with the GPU performance, but if you trust them enough it might be worth to try them... The second one, seems more easy as it doesnt require to mess with the registry, but it can only "watch" for one app... so it wont work to control both MB and AP apps... ____________ | |
| ID: 1283886 · | |
Message boards : Number crunching : Reserve a part of the CPU only for GPU support?
| Copyright © 2013 University of California |