Gamma-ray pulsar binary search #1 on GPUs

TimeLord04
TimeLord04
Joined: 8 Sep 06
Posts: 1442
Credit: 72378840
RAC: 0

OK - After reading through

OK - After reading through this Thread, I have a question about app_config.xml for Einstein.

I have just discovered that I have picked up Beta FGRP Units on my MAC/Hackintosh.  System has TWO EVGA GTX-750TI SC cards.  Einstein Web Settings had FGRP set at 1.0 GPU Usage.  I tried changing this to 0.50 to crunch two Units at a time per GPU card.  Unfortunately, when new work was received, the CPU Usage is remaining at 1 CPU and now shows 0.50 GPU.  This means that while the system WILL crunch TWO Units at a time per GPU, it will now utilize ALL 4 CPU Cores to do this.

I would like to minimize my CPU Usage to 2 CPU cores, and thus set CPU to 0.50 to match the GPU Setting of 0.50.  I'm assuming this can ONLY be done with a proper app_config.xml for Einstein Project Folder.

Does anyone have an app_config.xml file they can share here for me to do this???  Or, does Einstein REALLY need 1 CPU per GPU Unit to crunch multiple GPU Units at a time???

I don't want my system to start getting sluggish due to ALL CPU Cores being used.

Thanks in advance.

[EDIT:]
Also; the app_config.xml should accommodate the BRP's to 0.2 CPU and 0.50 GPU to match my current Web Settings to crunch TWO Units per Card on these Units as well.

Essentially, I want an app_config.xml that will take into consideration GPU crunching ONLY and crunch TWO Units of each available GPU Unit Type per card.

 

TL

TimeLord04
Have TARDIS, will travel...
Come along K-9!
Join SETI Refugees

Khangollo
Khangollo
Joined: 17 Feb 11
Posts: 42
Credit: 928047659
RAC: 0

I've noticed that running two

I've noticed that running two tasks at a time on newer AMD card now works with this application. BRP4/6 produced tons of invalids and errors when I tried to run multiple tasks in parallel on single card.

Running successfully for two days now, no invalids. It's tearing apart space-time on R9 Nano - 193 s (3 m 13 s) per single task, 2 tasks in parallel! Linux/x64, GPU driver is Crimson 15.2.

When I ran single task, time was ~127 s, so it's 50% improvement in my case.

MaU38.gif

floyd
floyd
Joined: 12 Sep 11
Posts: 133
Credit: 186610495
RAC: 0

TimeLord04 wrote:I would like

TimeLord04 wrote:
I would like to minimize my CPU Usage to 2 CPU cores, and thus set CPU to 0.50 to match the GPU Setting of 0.50.  I'm assuming this can ONLY be done with a proper app_config.xml for Einstein Project Folder.

The assumption that you can control how many resources a task takes is a common mistake. You can't. Those numbers just give the BOINC Client something to calculate with and 1.0 is correct.

Quote:
Or, does Einstein REALLY need 1 CPU per GPU Unit to crunch multiple GPU Units at a time???

Nvidia's OpenCL implementation needs it, and it takes it. At least on Linux, but I don't think that's different on a Mac.

Quote:
I don't want my system to start getting sluggish due to ALL CPU Cores being used.

Run fewer tasks. From my experience, you gain nothing from running more than one on a 750 Ti.

 

Logforme
Logforme
Joined: 13 Aug 10
Posts: 332
Credit: 1714373961
RAC: 0

Khangollo wrote:I've noticed

Khangollo wrote:
I've noticed that running two tasks at a time on newer AMD card now works with this application

Finally. When can we poor windows users get this new goodie?

Kailee71
Kailee71
Joined: 22 Nov 16
Posts: 35
Credit: 42623563
RAC: 0

Hi all,please keep in mind

Hi all,

please keep in mind that if you overfill your GPU ram your times will very dramatically drop. On a GTX580 I get around 930(s) per WU with one task, if I try to do two, this drops to over 5000(s). I'm guessing this is because the individual WU +just+ fit in the 1.5Gb the 580 has, and two simply don't.

 I do see speedups for my R9 280x; haven't got the actual output at hand but if i remember correctly, one WU/GPU gave 230(s), two gave 190(s) each (380 total). Still doing a single now - GPU memory seems to fill up over time on my mac...

Kailee.

 

PS: Is anyone running a 1050Ti with these? If so, what runtimes are you getting?

TimeLord04
TimeLord04
Joined: 8 Sep 06
Posts: 1442
Credit: 72378840
RAC: 0

floyd_7 wrote:TimeLord04

floyd_7 wrote:
TimeLord04 wrote:
I would like to minimize my CPU Usage to 2 CPU cores, and thus set CPU to 0.50 to match the GPU Setting of 0.50.  I'm assuming this can ONLY be done with a proper app_config.xml for Einstein Project Folder.

The assumption that you can control how many resources a task takes is a common mistake. You can't. Those numbers just give the BOINC Client something to calculate with and 1.0 is correct.

Quote:
Or, does Einstein REALLY need 1 CPU per GPU Unit to crunch multiple GPU Units at a time???

Nvidia's OpenCL implementation needs it, and it takes it. At least on Linux, but I don't think that's different on a Mac.

Quote:
I don't want my system to start getting sluggish due to ALL CPU Cores being used.

Run fewer tasks. From my experience, you gain nothing from running more than one on a 750 Ti.

 

From my experience; on BRP6 running 2 Units at a time per card, with the MAC having TWO GTX-750TI SC cards and the Win XP Pro x64 on a GTX-760, I was hitting 131K RAC.  Now, on BRP4G work I'm hitting 98 to 101K RAC.

I get more bang for the buck running multiple WUs per card.  I do this when running SETI as well.

As for these new Beta WUs taking 1 CPU Core per GPU, I just wanted to override this with a proper app_config.xml file.  SETI MBs on NVIDIA allow me to drop CPU to 0.04 per 0.50 GPU allowing TWO Units per GPU card to run.  I just thought I would be able to drop CPU Usage to 0.50 from the 1 that the Web Settings are locking up currently.

I know MANY people here make use of app_config.xml; HOWEVER, unfortunately, I've NEVER done this for Einstein before and need assistance to get one tailored to my needs.  I was hoping for some help here in this endeavor.

If; however, it is truly REQUIRED that I run 1 CPU Core to 1 GPU, then I'll just leave the Web Settings in effect.

 

TL

TimeLord04
Have TARDIS, will travel...
Come along K-9!
Join SETI Refugees

Keith Myers
Keith Myers
Joined: 11 Feb 11
Posts: 4964
Credit: 18729742516
RAC: 6755149

Quote: As for these new Beta

Quote:

As for these new Beta WUs taking 1 CPU Core per GPU, I just wanted to override this with a proper app_config.xml file.  SETI MBs on NVIDIA allow me to drop CPU to 0.04 per 0.50 GPU allowing TWO Units per GPU card to run.  I just thought I would be able to drop CPU Usage to 0.50 from the 1 that the Web Settings are locking up currently.

I know MANY people here make use of app_config.xml; HOWEVER, unfortunately, I've NEVER done this for Einstein before and need assistance to get one tailored to my needs.  I was hoping for some help here in this endeavor.

If; however, it is truly REQUIRED that I run 1 CPU Core to 1 GPU, then I'll just leave the Web Settings in effect.

 TL

Absolutely no difference from what you would write for an app_config for SETI.  Just change the app name.


<app_config>

<app>
<name>einsteinbinary_BRP4G</name>

<gpu_versions>
<cpu_usage>0.5</cpu_usage>
<gpu_usage>0.5</gpu_usage>
</gpu_versions>
</app>

</app_config>

 

TimeLord04
TimeLord04
Joined: 8 Sep 06
Posts: 1442
Credit: 72378840
RAC: 0

Keith Myers wrote:Quote:As

Keith Myers wrote:
Quote:

As for these new Beta WUs taking 1 CPU Core per GPU, I just wanted to override this with a proper app_config.xml file.  SETI MBs on NVIDIA allow me to drop CPU to 0.04 per 0.50 GPU allowing TWO Units per GPU card to run.  I just thought I would be able to drop CPU Usage to 0.50 from the 1 that the Web Settings are locking up currently.

I know MANY people here make use of app_config.xml; HOWEVER, unfortunately, I've NEVER done this for Einstein before and need assistance to get one tailored to my needs.  I was hoping for some help here in this endeavor.

If; however, it is truly REQUIRED that I run 1 CPU Core to 1 GPU, then I'll just leave the Web Settings in effect.

 TL

Absolutely no difference from what you would write for an app_config for SETI.  Just change the app name.


<app_config>

<app>
<name>einsteinbinary_BRP4G</name>

<gpu_versions>
<cpu_usage>0.5</cpu_usage>
<gpu_usage>0.5</gpu_usage>
</gpu_versions>
</app>

</app_config>

OK - This is my new app_config.xml file for Einstein:

 

<app_config>
<app>
<name>einsteinbinary_BRP6</name>
<max_concurrent>4</max_concurrent>
<gpu_versions>
<gpu_usage>.5</gpu_usage>
<cpu_usage>.5</cpu_usage>
</gpu_versions>
</app>
<app>
<name>einsteinbinary_BRP4G</name>
<max_concurrent>4</max_concurrent>
<gpu_versions>
<gpu_usage>.5</gpu_usage>
<cpu_usage>.2</cpu_usage>
</gpu_versions>
</app>
<app>
<name>hsgamma_FGRPB1G</name>
<max_concurrent>4</max_concurrent>
<gpu_versions>
<gpu_usage>.5</gpu_usage>
<cpu_usage>.5</cpu_usage>
</gpu_versions>
</app>
</app_config>

 

Does this now reflect ALL WU Types for GPU Usage???  Will this now make the new Beta FGRP Units run at 0.50 CPU and 0.50 GPU???  Or, do I need another entry for the new Beta FGRP Units???

[EDIT:]

My MAC shows these new Beta FGRP Units in BOINC as "Gamma-ray Pulsar Binary search #1 on GPUs 1.12 (FGRPopencl-Beta-nvidia-mav)"...  I just want to make sure I've properly got this identified and specified in my new app_config.xml.

Thanks for the assistance.

 

TL

TimeLord04
Have TARDIS, will travel...
Come along K-9!
Join SETI Refugees

juan BFP
juan BFP
Joined: 18 Nov 11
Posts: 839
Credit: 421443712
RAC: 0

12/12/2016 06:46:54 |

12/12/2016 06:46:54 | Einstein@Home | Found app_config.xml
12/12/2016 06:46:54 | Einstein@Home | Your app_config.xml file refers to an unknown application 'hsgamma_FGRPB1G'. Known applications: 'einsteinbinary_BRP6', 'einsteinbinary_BRP4G'
12/12/2016 06:46:54 | SETI@home | Found app_config.xml

The name is wrong?

lHj2ixL.jpg

 

TimeLord04
TimeLord04
Joined: 8 Sep 06
Posts: 1442
Credit: 72378840
RAC: 0

juan BFP wrote:12/12/2016

juan BFP wrote:

12/12/2016 06:46:54 | Einstein@Home | Found app_config.xml
12/12/2016 06:46:54 | Einstein@Home | Your app_config.xml file refers to an unknown application 'hsgamma_FGRPB1G'. Known applications: 'einsteinbinary_BRP6', 'einsteinbinary_BRP4G'
12/12/2016 06:46:54 | SETI@home | Found app_config.xml

The name is wrong?

Nope; when I first manually entered "einsteinbinary_FGRP" to accommodate the slew of FGRP Units I now have, I got an Error MSG stating "Your app_config.xml file refers to an unknown application 'einsteinbinary_FGRP'. Known applications: 'einsteinbinary_BRP6', 'einsteinbinary_BRP4G', 'hsgamma_FGRP1G'."  So, the "hsgamma_FGRP1G" MUST be for my FGRP work Units...  Keep in mind, that, (again), Windows machines WON'T be getting these FGRP Units, yet...  These are MAC/Linux only for now.

[EDIT: - See here:]

Sun Dec 11 22:42:37 2016 | Einstein@Home | Found app_config.xml
Sun Dec 11 22:42:37 2016 | Einstein@Home | Your app_config.xml file refers to an unknown application 'einsteinbinary_FGRP'.  Known applications: 'einsteinbinary_BRP6', 'einsteinbinary_BRP4G', 'hsgamma_FGRPB1G'

 

TL

TimeLord04
Have TARDIS, will travel...
Come along K-9!
Join SETI Refugees

Comment viewing options

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