Recommended settings for AMD Radeon RX 7900 XTX

magic_sam
magic_sam
Joined: 30 Dec 21
Posts: 23
Credit: 556699183
RAC: 13463
Topic 229147

Dear all,

If I understand correctly, Einstein@Home runs one GPU task at a time by default (utilization setting set to 1.00 for BRP, FGRP and GW tasks).

In your opinion, what would be the recommended settings for an AMD Radeon RX 7900 XTX with 24GB of GPU memory ?

https://www.amd.com/en/products/graphics/amd-radeon-rx-7900xtx#product-specs

EDIT: should I also leave some CPU cores available to handle the GPU tasks ?

Best regards,

Samuel

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6439
Credit: 9569220458
RAC: 8521801

Samuel,My experience with

Samuel,

My experience with AMD gpus under Ubuntu is dated.  But the guidelines seem to be the same as for NVIDIA gpus.

Usually this is a matter of testing.  First you run enough 1 task per GPU to get a baseline.

Then you use the app_config.XML file to switch to two per GPU.

<app_config>
<app>
<name>hsgamma_FGRPB1G</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>1.0</cpu_usage>
</gpu_versions>
</app>
<app>
<name>einsteinbinary_BRP7</name>
<gpu_versions>
<gpu_usage>0.5</gpu_usage>
<cpu_usage>0.9</cpu_usage>
</gpu_versions>
</app>
</app_config>

If the time each of those 2x tasks is LESS than twice the time the 1x task took to process you have a winner.

To confirm if 3x you use the same rule of thumb except your baseline is the 1x number you get from dividing the 2x time by 2.

If the time (by calculation) comes in with a 1x calculated time that is below the calculated time of the previous one (2x wall clock time divided by 2) then 3x is still gaining you faster total processing.

If your GPU is showing nearly 100% utilization all the time, usually you are going to not gain anything from trying the next increase in running multiple tasks on your GPU.

If your GPU is running 80% utilization usually you can get more total production by adding another GPU task.

Generally running 1 CPU thread per GPU task is a safe guess.  You usually need between 2-4 threads not committed to anything (setting to something like 86.75% for a 8c/16t CPU).  If your CPU shows processing load above 95% all the time you may have an over committed CPU which will slow everything down.

If your system shows instability (computation errors) in processing GPU tasks often an older version of the GPU driver will get rid of that problem.

HTH,

Tom M

 

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1041772809
RAC: 729860

Tom,Why use

Tom,

Why use app_config.xml when this is available GPU utilization factor of FGRP apps:

on the project prefs page?  My understanding is that this is the same as <gpu_usage>0.5</gpu_usage>.

prefs/project

 

But my real reason for writing is to see if anyone knows why with my FGRP utilization factor set to 0.5 this sub projects WUs (and only these, BuRPs and GWs run 2x) still only run one at a time?  It's not memory as the single running one is using less than half the vram available.

These will come up again today so I'll double check the vram usage. 

Just to see if it's some minor rounding thing I reset my FGRP utilization factor to 0.49.  I'm hoping I don't have to revert back to an app_config.xml file.

Skip

UPDATE:  FGRP using 1609MB on my GPU running 1x

Tom M
Tom M
Joined: 2 Feb 06
Posts: 6439
Credit: 9569220458
RAC: 8521801

The app_config.xml file

The app_config.xml file appears to work on all versions of boinc.

I have no experience using the website settings page.

I believe a a local setting on your system of 1x would override a setting of 2x aka 0.5 from the website.

Tom M

A Proud member of the O.F.A.  (Old Farts Association).  Be well, do good work, and keep in touch.® (Garrison Keillor)  I want some more patience. RIGHT NOW!

Skip Da Shu
Skip Da Shu
Joined: 18 Jan 05
Posts: 151
Credit: 1041772809
RAC: 729860

Tom M wrote:The

Tom M wrote:

The app_config.xml file appears to work on all versions of boinc.

I have no experience using the website settings page.

I believe a a local setting on your system of 1x would override a setting of 2x aka 0.5 from the website.

Tom M

Yes, app_config across versions but I've noticed some options in it (or cc_config) that only work post v7.xx.x.

I would still steer somebody w/o app_config experience to the website options as much less likely to have errors/mistakes.  Granted there are more options you can do in app_config but I'm thinking most folks just wanna run 2x or 3x.

I agree local app_config would override but I've deleted my E@H app_config. 

It turns out it was some sort of rounding thing... reset FGRP factor to "0.49" and it's been running 2x since.

Skip

 

Comment viewing options

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