Welcome to MilkyWay@home

Multiple GPU WUs simultaneously

Questions and Answers : Preferences : Multiple GPU WUs simultaneously
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile bhorlor

Send message
Joined: 13 Apr 20
Posts: 9
Credit: 155,529,876
RAC: 56,010
Message 72837 - Posted: 15 Apr 2022, 13:03:08 UTC

I've been looking at how to run multiple WUs on my GPU with MW like I do with Einstein. I've copied a bunch of people's app_config and it doesn't change anything: I still only run 1 GPU process at a time. Einstein required me to do it through the website (app_config didn't work by itself until I changed my computing preferences), but I don't see a similar way on MW to do it. My app_config is below, though I've tried a bunch of different things:
name=milkyway, milkyway@home, Milkyway@Home, MilkyWay@Home
concurrent=0, 1, 2, 5, 10, 50
gpu_usage=0.5, 0.25, 0.125, 0.1, 0.05
cpu_usage=0.5, 0.25, 0.125, 0.1, 0.05

Not every combination, obviously, but a bunch, and they all result in me doing a single GPU WU.

<app_config>
<app>
<name>milkyway</name>
<max_concurrent>50</max_concurrent>
<gpu_versions>
<gpu_usage>0.125</gpu_usage>
<cpu_usage>0.05</cpu_usage>
</gpu_versions>
</app>
</app_config>
ID: 72837 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Kiska

Send message
Joined: 31 Mar 12
Posts: 94
Credit: 151,905,887
RAC: 12,366
Message 72839 - Posted: 15 Apr 2022, 13:11:28 UTC - in response to Message 72837.  
Last modified: 15 Apr 2022, 13:12:24 UTC

Here is what I have
<app_config>
  <app_version>
   <app_name>milkyway</app_name>
   <plan_class>opencl_nvidia_101</plan_class>
   <avg_ncpus>0.25</avg_ncpus>
   <ngpus>0.5</ngpus>
  </app_version>
</app_config>


Replace opencl_nvidia_101 with opencl_ati_101 if you have an AMD card

After saving, hit "read config files" as they need to be reloaded

Options -> Read Config Files in the manager in advanced view
ID: 72839 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile bhorlor

Send message
Joined: 13 Apr 20
Posts: 9
Credit: 155,529,876
RAC: 56,010
Message 72860 - Posted: 15 Apr 2022, 20:08:43 UTC - in response to Message 72839.  
Last modified: 15 Apr 2022, 20:08:57 UTC

Tried it and there's no effect. I'm really starting to think Milkyway doesn't want me to use my 3090.
ID: 72860 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Kiska

Send message
Joined: 31 Mar 12
Posts: 94
Credit: 151,905,887
RAC: 12,366
Message 72863 - Posted: 15 Apr 2022, 23:51:44 UTC - in response to Message 72860.  

Tried it and there's no effect. I'm really starting to think Milkyway doesn't want me to use my 3090.


Where are you putting the app_config file?

Mine is in the default location of C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway

If you went next next next in the installer it should be there, otherwise locate your data directory and put it inside the project directory. Once you do that restart the client or hit read config files
ID: 72863 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
AndreyOR

Send message
Joined: 13 Oct 21
Posts: 43
Credit: 225,017,920
RAC: 9,935
Message 72867 - Posted: 16 Apr 2022, 5:35:05 UTC

Could you post the last 10 lines or so of the event log in "Tools" menu "Event Log" right after doing the following. Make sure you don't have anything uploading or downloading in the "Transfers" tab (wait until it's all clear if you do) and then re-run the "Read config files" from the "Options" menu.
ID: 72867 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3315
Credit: 519,940,055
RAC: 22,560
Message 72881 - Posted: 16 Apr 2022, 9:58:33 UTC - in response to Message 72860.  

Tried it and there's no effect. I'm really starting to think Milkyway doesn't want me to use my 3090.


Another problem for some people is the system auto adds '.txt' on the end of the 'app_config.xml' file name meaning it won't work in Boinc. Another possible problem is you aren't using a text editor to make/edit the file, a word processing program will add other junk to the actual file again making it unreadable by Boinc.
ID: 72881 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile bhorlor

Send message
Joined: 13 Apr 20
Posts: 9
Credit: 155,529,876
RAC: 56,010
Message 72891 - Posted: 16 Apr 2022, 16:30:49 UTC - in response to Message 72881.  

4/16/2022 12:23:51 PM | Milkyway@Home | Computation for task de_modfit_70_bundle5_3s_south_pt2_3_1649967544_1323994_0 finished
4/16/2022 12:23:51 PM | Milkyway@Home | Starting task de_modfit_78_bundle5_3s_south_pt2_2_1647295262_6578924_3
4/16/2022 12:24:03 PM | Milkyway@Home | Computation for task de_modfit_70_bundle5_3s_south_pt2_3_1649967544_1323998_0 finished
4/16/2022 12:24:03 PM | Milkyway@Home | Starting task de_modfit_73_bundle5_3s_south_pt2_2_1649967544_885559_2
4/16/2022 12:24:41 PM |  | Re-reading cc_config.xml
4/16/2022 12:24:41 PM |  | log flags: file_xfer, sched_ops, task
4/16/2022 12:24:52 PM | Milkyway@Home | Computation for task de_modfit_70_bundle5_3s_south_pt2_2_1649967544_1367267_0 finished
4/16/2022 12:24:52 PM | Milkyway@Home | Starting task de_modfit_85_bundle5_3s_south_pt2_2_1649367564_2914905_2
4/16/2022 12:24:59 PM | Milkyway@Home | Computation for task de_modfit_70_bundle5_3s_south_pt2_3_1649967544_1323995_0 finished
4/16/2022 12:24:59 PM | Milkyway@Home | Starting task de_modfit_79_bundle5_3s_south_pt2_2_1647295262_11414174_3


And I only edit using Notepad++, and the file extensions, where appropriate, are .xml. The log didn't show that it's reading the app_config file at all.

I thought to check the log after restarting BOINC to see if that provided any illumination:

4/16/2022 12:28:10 PM |  | Starting BOINC client version 7.16.11 for windows_x86_64
4/16/2022 12:28:10 PM |  | log flags: file_xfer, sched_ops, task
4/16/2022 12:28:10 PM |  | Libraries: libcurl/7.47.1 OpenSSL/1.0.2s zlib/1.2.8
4/16/2022 12:28:10 PM |  | Data directory: C:\ProgramData\BOINC
4/16/2022 12:28:10 PM |  | Running under account [redacted]
4/16/2022 12:28:10 PM |  | CUDA: NVIDIA GPU 0: GeForce RTX 3090 (driver version 456.71, CUDA version 11.1, compute capability 8.6, 4096MB, 3520MB available, 18893 GFLOPS peak)
4/16/2022 12:28:10 PM |  | OpenCL: NVIDIA GPU 0: GeForce RTX 3090 (driver version 456.71, device version OpenCL 1.2 CUDA, 24576MB, 3520MB available, 18893 GFLOPS peak)
4/16/2022 12:28:13 PM |  | Windows processor group 0: 32 processors
4/16/2022 12:28:13 PM |  | Host name: [redacted]
4/16/2022 12:28:13 PM |  | Processor: 32 AuthenticAMD AMD Ryzen 9 5950X 16-Core Processor [Family 25 Model 33 Stepping 0]
4/16/2022 12:28:13 PM |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni ssse3 fma cx16 sse4_1 sse4_2 movebe popcnt aes f16c rdrandsyscall nx lm avx avx2 svm sse4a osvw ibs skinit wdt tce topx page1gb rdtscp fsgsbase bmi1 smep bmi2
4/16/2022 12:28:13 PM |  | OS: Microsoft Windows 10: Professional x64 Edition, (10.00.19043.00)
4/16/2022 12:28:13 PM |  | Memory: 31.92 GB physical, 36.78 GB virtual
4/16/2022 12:28:13 PM |  | Disk: 222.94 GB total, 29.62 GB free
4/16/2022 12:28:13 PM |  | Local time is UTC -4 hours
4/16/2022 12:28:13 PM |  | WSL detected:
4/16/2022 12:28:13 PM |  | [Debian]: Linux Debian (Debian GNU/Linux 9.13 (stretch) [4.4.0-19041-Microsoft])
4/16/2022 12:28:13 PM |  | [Ubuntu] (default): Linux Ubuntu (Ubuntu 20.04.2 LTS [4.4.0-19041-Microsoft])
4/16/2022 12:28:13 PM |  | No general preferences found - using defaults
4/16/2022 12:28:13 PM |  | Reading preferences override file
4/16/2022 12:28:13 PM |  | Preferences:
4/16/2022 12:28:13 PM |  | max memory usage when active: 21896.54 MB
4/16/2022 12:28:13 PM |  | max memory usage when idle: 29413.26 MB
4/16/2022 12:28:13 PM |  | max disk usage: 31.65 GB
4/16/2022 12:28:13 PM |  | max CPUs used: 21
4/16/2022 12:28:13 PM |  | (to change preferences, visit a project web site or select Preferences in the Manager)
4/16/2022 12:28:13 PM |  | Setting up project and slot directories
4/16/2022 12:28:13 PM |  | Checking active tasks
4/16/2022 12:28:13 PM | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12925904; resource share 100
4/16/2022 12:28:13 PM | Milkyway@Home | URL http://milkyway.cs.rpi.edu/milkyway/; Computer ID 843393; resource share 100
4/16/2022 12:28:13 PM | Rosetta@home | URL https://boinc.bakerlab.org/rosetta/; Computer ID 3936402; resource share 25
4/16/2022 12:28:13 PM |  | Setting up GUI RPC socket
4/16/2022 12:28:13 PM |  | Checking presence of 266 project files
ID: 72891 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Kiska

Send message
Joined: 31 Mar 12
Posts: 94
Credit: 151,905,887
RAC: 12,366
Message 72892 - Posted: 16 Apr 2022, 16:47:04 UTC
Last modified: 16 Apr 2022, 16:52:44 UTC

You're sure that the app_config.xml file is inside the project directory?

The directory since you're using default is C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway

And I think the app name should be "Milkyway@home Separation v1.46"
ID: 72892 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile bhorlor

Send message
Joined: 13 Apr 20
Posts: 9
Credit: 155,529,876
RAC: 56,010
Message 72894 - Posted: 16 Apr 2022, 17:44:35 UTC - in response to Message 72892.  

Well, poop.
4/16/2022 1:41:30 PM | Milkyway@Home | Found app_config.xml

Yep, that did it. I thought that file went in the main directory, not the individual project folder.
ID: 72894 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
San-Fernando-Valley

Send message
Joined: 13 Apr 17
Posts: 256
Credit: 604,411,638
RAC: 0
Message 72895 - Posted: 16 Apr 2022, 18:03:03 UTC - in response to Message 72894.  

... as already said in Message 72863 ...
ID: 72895 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 696
Credit: 540,000,694
RAC: 86,844
Message 72903 - Posted: 16 Apr 2022, 19:35:48 UTC - in response to Message 72892.  

You're sure that the app_config.xml file is inside the project directory?

The directory since you're using default is C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway

And I think the app name should be "Milkyway@home Separation v1.46"

No the app_name is milkyway.
You can always check the app_name in the client_state.xml file. It is not the "friendly name"
Also if you put in some bogus name for an application in your app_config.xml and re-read config files, BOINC will report the error in the Event Log and tell you all the known application names it knows about.
You can find the proper app_name that way also.
<app>
<name>milkyway</name>
<user_friendly_name>Milkyway@home Separation</user_friendly_name>
<non_cpu_intensive>0</non_cpu_intensive>
</app>
ID: 72903 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile HRFMguy

Send message
Joined: 12 Nov 21
Posts: 236
Credit: 575,027,893
RAC: 38,188
Message 73030 - Posted: 20 Apr 2022, 2:09:34 UTC - in response to Message 72895.  

... as already said in Message 72863 ...

SFV did you post 72863? I don't see it in your listings....
ID: 73030 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
San-Fernando-Valley

Send message
Joined: 13 Apr 17
Posts: 256
Credit: 604,411,638
RAC: 0
Message 73032 - Posted: 20 Apr 2022, 5:11:45 UTC - in response to Message 73030.  

@HRFMguy:
... as already said in Message 72863 ...

SFV did you post 72863? I don't see it in your listings....

Kiska posted it on 15 apr 2022 at 23:51:44 ......
ID: 73032 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Skip Da Shu
Avatar

Send message
Joined: 11 Apr 08
Posts: 81
Credit: 57,755,743
RAC: 0
Message 75435 - Posted: 4 Jun 2023, 19:25:12 UTC - in response to Message 72837.  
Last modified: 4 Jun 2023, 19:29:21 UTC

DELETE

Keith already answered.

[
<app_config>

 <app>
    <name>milkyway</name>
      <gpu_versions>
        <cpu_usage>0.5</cpu_usage>
        <gpu_usage>0.333</gpu_usage>
      </gpu_versions>
 </app>

</app_config>


Worked for me until I went to RX 6xxx cards which can't run the GPU Sep WUs because the app still has a pre-OpenCL 2.0 (depreciated) command in it to get memory for a 'command que'.
ID: 75435 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Preferences : Multiple GPU WUs simultaneously

©2024 Astroinformatics Group