Run task on cpu core used for gpu

koorosh
Joined: 3 Oct 20
Posts: 3
Credit: 735,702
RAC: 14,087
Topic 223715

Hi,

I recently joined E@H. I have a dual-core AMD Athlon X2 CPU and an AMD 5570 GPU. I have been running tasks for more than a week and I noticed that CPU is always around 50% usage running only one CPU task and GPU tasks don't use much CPU.

Currently I allocated 50% resources to Rosetta and other half to E@H. I wanted to assign tasks to CPU core used for GPU tasks.

 

Thanks in advance

mikey
mikey
Joined: 22 Jan 05
Posts: 6,384
Credit: 557,210,464
RAC: 220,542

koorosh wrote: Hi, I

koorosh wrote:

Hi,

I recently joined E@H. I have a dual-core AMD Athlon X2 CPU and an AMD 5570 GPU. I have been running tasks for more than a week and I noticed that CPU is always around 50% usage running only one CPU task and GPU tasks don't use much CPU.

Currently I allocated 50% resources to Rosetta and other half to E@H. I wanted to assign tasks to CPU core used for GPU tasks.

Thanks in advance 

You can't the gpu needs to access data and everything in a pc goes thru the cpu, the Projects have gotten very good at optimizing their apps but they still need to use the cpu to use the power of a gpu for crunching.

koorosh
Joined: 3 Oct 20
Posts: 3
Credit: 735,702
RAC: 14,087

mikey wrote: You can't the

mikey wrote:

You can't the gpu needs to access data and everything in a pc goes thru the cpu, the Projects have gotten very good at optimizing their apps but they still need to use the cpu to use the power of a gpu for crunching.

 

You're right, but I saw some people in this forum are doing it without a problem.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5,240
Credit: 44,779,746,258
RAC: 37,460,950

koorosh wrote:... I saw some

koorosh wrote:
... I saw some people in this forum are doing it without a problem.

You need to read the BOINC documentation about Project Level Configuration.  By adjusting the fractional use of a CPU core to support a GPU task, you could run 2 tasks on CPU threads and also support a GPU task.

However, please be aware that your GPU is very old and slow and its performance may suffer further as a result of running those 2 CPU tasks.  I'm quite surprised it's doing as well as it is when just one CPU task is running.  Do not even consider trying to run multiple GPU tasks - that would surely fail.

Please read the documentation carefully and ask any further questions if not absolutely certain about how to proceed.  The application name you need is hsgamma_FGRPB1G.  You need gpu_usage to be 1 and cpu_usage to be less than 1 - eg 0.3 would be fine.  That would leave part of a CPU core available (in BOINC's estimation) so the 2nd CPU task should then start.  When you have deployed the app_config.xml file (to the Einstein project directory on your machine), just use the "reread config files" option in BOINC Manager to have BOINC read what you have created and then start the 2nd CPU task.  If you get error messages, go read the documentation again - more carefully :-).

Cheers,
Gary.

koorosh
Joined: 3 Oct 20
Posts: 3
Credit: 735,702
RAC: 14,087

Gary Roberts wrote: By

Gary Roberts wrote:

By adjusting the fractional use of a CPU core to support a GPU task, you could run 2 tasks on CPU threads and also support a GPU task.

However, please be aware that your GPU is very old and slow and its performance may suffer further as a result of running those 2 CPU tasks.  I'm quite surprised it's doing as well as it is when just one CPU task is running.  Do not even consider trying to run multiple GPU tasks - that would surely fail.

Please read the documentation carefully and ask any further questions if not absolutely certain about how to proceed.  The application name you need is hsgamma_FGRPB1G.  You need gpu_usage to be 1 and cpu_usage to be less than 1 - eg 0.3 would be fine.  That would leave part of a CPU core available (in BOINC's estimation) so the 2nd CPU task should then start.  When you have deployed the app_config.xml file (to the Einstein project directory on your machine), just use the "reread config files" option in BOINC Manager to have BOINC read what you have created and then start the 2nd CPU task.  If you get error messages, go read the documentation again - more carefully :-).

 

Thanks! I will try it when I got time.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.