GPU and CPU on same project


log in

Advanced search

Questions and Answers : Windows : GPU and CPU on same project

Author Message
LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1387677 - Posted: 4 Jul 2013, 15:55:34 UTC

Is it possible to have my GPU and CPU run the same project instead of two seperate ones.
GPU takes roughly 16 hours to complete one and my CPU takes roughly 6 hours.
I would like them to work together on one unit to get done faster.
Thanks
____________

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13620
Credit: 30,570,029
RAC: 21,011
United States
Message 1387692 - Posted: 4 Jul 2013, 16:31:30 UTC - in response to Message 1387677.

In a word: no.

The CPU and GPU work from two different pools of resources, and the constant need to update these two pools so that they reflect the same work done would require a great deal of overhead.

Then there's difference in architectural code being used on each. The CPU utilizes x86 and x86-64 instructions while the GPU utilizes OpenCL instructions, requiring two different code paths that cannot be combined, increasing the difficulty in getting both the CPU and GPU to work together coherently.



I do find it odd thought that your GPU takes longer than you CPU. Are you comparing the same type of workunits; AstroPulse vs AstroPulse or SETI@home v7 vs SETI@home v7? Same Angle Range too?

LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1387727 - Posted: 4 Jul 2013, 17:51:31 UTC - in response to Message 1387692.

Both are Seti. I use the lastest version.
I think it takes longer cause its onboard GPU.
NVIDIA GeForce 9100 256 mb.
Currently in the process of trying to get more Ram and a Graphics card for this comp.

Also since i started SETI back up. For some reason i downloaded 12 so far.

All are waiting except for 3. 2 run from my CPU and 1 from my GPU but its not really running for some reason.
It says : Waiting to run (0.00166 CPU's + NVIDIA GPU) (Scheduler wait: CuFFT Plan Failer, temporary exit)
____________

Profile BilBg
Volunteer tester
Avatar
Send message
Joined: 27 May 07
Posts: 2715
Credit: 6,149,076
RAC: 5,517
Bulgaria
Message 1387966 - Posted: 5 Jul 2013, 10:33:05 UTC - in response to Message 1387727.

It says : Waiting to run (0.00166 CPU's + NVIDIA GPU) (Scheduler wait: CuFFT Plan Failer, temporary exit)

Known problem with NVIDIA driver: 320.18
Update to 320.49


____________



- ALF - "Find out what you don't do well ..... then don't do it!" :)

LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1388034 - Posted: 5 Jul 2013, 17:05:13 UTC - in response to Message 1387966.

It worked. Thanks. Is their an option to make the CPU only run one work unit? Cause since i reset BOINC it now runs 2. One takes 6 hours and the other usually 2-3 hours.
____________

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13620
Credit: 30,570,029
RAC: 21,011
United States
Message 1388036 - Posted: 5 Jul 2013, 17:11:58 UTC - in response to Message 1388034.

With a dual-core like yours, it should be running one CPU workunit and one GPU workunit. Note that the GPU workunit should only be using a partial core.

LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1388051 - Posted: 5 Jul 2013, 18:20:03 UTC - in response to Message 1388036.

GPU unit is using partial core. But how do i set BOINC to only run one workunit through the CPU instead of 2. I know i can manually pause it everytime but im lazy. lol
____________

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13620
Credit: 30,570,029
RAC: 21,011
United States
Message 1388070 - Posted: 5 Jul 2013, 19:11:49 UTC - in response to Message 1388051.

So you're saying that you have two CPU workunits running and a GPU workunit running at the same time? So you have three workunits running right now?

LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1388082 - Posted: 5 Jul 2013, 19:57:33 UTC - in response to Message 1388070.

Yes
____________

OzzFan
Volunteer tester
Avatar
Send message
Joined: 9 Apr 02
Posts: 13620
Credit: 30,570,029
RAC: 21,011
United States
Message 1388095 - Posted: 5 Jul 2013, 20:12:56 UTC - in response to Message 1388082.
Last modified: 5 Jul 2013, 20:13:08 UTC

Go into your Computing Preferences and change the option: "On multiprocessors, use at most X Enforced by version 6.1+" to 50%.

This assumes you're using online preferences and you do not have local preferences set to override your online ones.
____________

LukeSky
Send message
Joined: 26 Nov 02
Posts: 8
Credit: 244,026
RAC: 105
United States
Message 1389590 - Posted: 10 Jul 2013, 19:55:38 UTC - in response to Message 1388095.

Thanks that worked.
____________

Questions and Answers : Windows : GPU and CPU on same project

Copyright © 2014 University of California