Message boards :
Graphics cards (GPUs) :
Ressource-sharing between CPU and GPU projects
Message board moderation
| Author | Message |
|---|---|
|
Send message Joined: 4 Jan 09 Posts: 2 Credit: 0 RAC: 0 Level ![]() Scientific publications
|
I'm running some projects already but those only use the CPU. So I thought I could add another project that also utilizes the GPU. But does BOINC understand that this project only (or mostly) uses the CPU? Otherwise it might happen that while GPUgrid runs, other projects get suspended resulting in one core not being fully used. For example I have CPDN running on one core all the time and the other is shared between two other projects. If I add GPUgrid, will it run in addition to the other projects or take turns? |
|
Send message Joined: 16 Dec 08 Posts: 20 Credit: 36,912,780 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I have a dual-core with GPU. It runs GPUGrid on the GPU, POEM and SHA on the two cores. |
K1atOdessaSend message Joined: 25 Feb 08 Posts: 249 Credit: 444,646,963 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Given that GPUGrid is does not use a whole CPU for itself, you can run two CPU-bound projects in addition to GPUGrid. What you should expect to see is that one CPU project will retain 50% of the processors on a dual core, with GPUGrid using about 30-40% (based on 6.55 application WU's), with the other CPU project getting 10-20%. Some people experience less CPU usage on Windows (Linux has much better management of the CPU load and CPU usage < 5%), but my quad core uses about 15-20% of the total processors for each GPUGrid WU -- which is where my 30-40% estimate comes from for a dual core. So, you will see a slight reduction in the throughput of credit from one of your CPU-bound projects, but the offset is that GPUGrid gives much higher credit / work done (time). This is referred to as 2+1 (2 cpu + 1 gpu bound project running), as you will see throughout the message boards. |
Paul D. BuckSend message Joined: 9 Jun 08 Posts: 1050 Credit: 37,321,185 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
A later version of the application on WIndows 6.56 reduced the load on the CPU. It was pulled for other problems but should be back when those problems are resolved as an even later version number and you will see more done on the one CPU core ... In other words, there are better days ahead. There are other issues discussed in great length in other threads ... but happy use of the GPU ... :) |
|
Send message Joined: 4 Jan 09 Posts: 2 Credit: 0 RAC: 0 Level ![]() Scientific publications
|
Okay, thanks. I just wasn't sure if BOINC would notice that one core isn't fully used and then let three projects run simultaneously. |
Paul D. BuckSend message Joined: 9 Jun 08 Posts: 1050 Credit: 37,321,185 RAC: 0 Level ![]() Scientific publications ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Okay, thanks. I just wasn't sure if BOINC would notice that one core isn't fully used and then let three projects run simultaneously. On my i7 with 8 virtual CPUs (4 cores with HT ... total 8 apparent CPUs) the computer is running 9 tasks ... one on the GPU "stealing" some time from one of the cores (or all of them in round robin of some sorts) while on my 4 core Q9300 I have 6 tasks running, 4 on the cores, one Non-CPU intensive (FreeHAL which beats the heck out of the network, but uses very little CPU) and the one task on the GPU which also steals from the CPUs ... But this is with Version 6.5.0 of the BOINC Manager, my understanding is that with the earlier versions you have to fiddle around with an external file to get the full usages ... Regardless, there are still issues with work fetch, resource share, and the server here ... though some of us have had random luck the last 24 hours so I am not sure if they changed something and just have not told anyone, or if it is just because it is Wednesday ... |
©2025 Universitat Pompeu Fabra