Message boards :
Number crunching :
only one task at a time
Message board moderation
Author | Message |
---|---|
Send message Joined: 22 Jul 20 Posts: 5 Credit: 7,688 RAC: 0 |
im very new to this topic so i probably dont know a lot about it. i downloaded BIONC and ran everything, i started to notice that it only works on one task at a time, so it barely uses any resources. can i set a value to change this? PC specs: AuthenticAMD AMD Ryzen 3 1300X Quad-Core Processor [Family 23 Model 1 Stepping 1] AMD Radeon RX 570 Series (8192MB) OpenCL: 2.0 |
Send message Joined: 24 Jun 20 Posts: 85 Credit: 207,156 RAC: 0 |
You can use an app_config.xml file in the BOINC/projects/minecraftathome.com folder with the following in it: <app_config> <app> <name>kaktwoos</name> <max_concurrent>2</max_concurrent> <gpu_versions> <gpu_usage>.5</gpu_usage> <cpu_usage>.4</cpu_usage> </gpu_versions> </app> </app_config>This loads two tasks at once. Make the file with Notepad or Notepad++ and make sure when you save it that you save it in ANSI encoding format and with the XML extension. Play around with the values. For more information on this, see https://boinc.berkeley.edu/wiki/Client_configuration#Project-level_configuration |
Send message Joined: 22 Jul 20 Posts: 5 Credit: 7,688 RAC: 0 |
ok i'll try that, Thank you very much! |
Send message Joined: 22 Jul 20 Posts: 5 Credit: 7,688 RAC: 0 |
so i created a .xml file called app_config, there was no file there. with notepad++ i wrote: <app_config> <app> <name>kaktwoos</name> <max_concurrent>2</max_concurrent> <gpu_versions> <gpu_usage>.8</gpu_usage> <cpu_usage>.9</cpu_usage> </gpu_versions> </app> </app_config> just to see if anything would change and it didn't, i am missing something right? |
Send message Joined: 24 Jun 20 Posts: 85 Credit: 207,156 RAC: 0 |
One thing I forgot. Set BOINC to use one less CPU core than all via the Use at most N% of the CPUs set to 99%. It's an integer, so 100% means all, 99% means all minus 1. This one core will then run background stuff like Windows, but is also used by the GPU app. Because if you load all CPU cores with tasks and then try to run a GPU app as well, it will also try to run on a core... which there aren't any one anymore. So just instruct BOINC to use one less core and that'll fix itself. Also, I just tested the setup myself and seen that the <cpu_usage>0.9</cpu_usage> was too high, so screwed it back down to 0.4 in my example above. Please follow suit. And just play with the values. When running one task, it takes 19m 45s. Two is 35m 26s and 36m 01s. So it does help. You'll have to find the sweet spot yourself. I don't know what it is. You won't be able to load 10 tasks at a time because that will just be overkill. But play with 2, 3 at a time. 2 at a time on my RX 5700 XT gives 99% GPU load. |
Send message Joined: 22 Jul 20 Posts: 5 Credit: 7,688 RAC: 0 |
well i changed the cpu usage to 99% and <cpu_usage> to 0.4 but i am still geting 0 to 0.1% usage on my gpu and still almost none on the cpu, estimated time remaining for a new project: 1h 12m 06s |
Send message Joined: 24 Jun 20 Posts: 85 Credit: 207,156 RAC: 0 |
Difficult to answer with all that maintenance stuff going around. What do you use to measure GPU load? I use GPU-Z from https://www.techpowerup.com/gpuz/ And after changing the values in app_config.xml, do use BOINC Manager->Options->Read config files, or exit BOINC and restart it. <gpu_usage> set to 1 means 1 task, 0.5 means 2 tasks, 0.33 means 3 tasks, 0.25 means 4 tasks. <cpu_usage> means how much CPU you want all the apps specified to use at maximum. Luckily the kaktwoos app isn't CPU heavy so you can leave that at 0.4 But your gpu_usage of 0.8 is something BOINC sees as 1 task. So do set for two tasks <app_config> <app> <name>kaktwoos</name> <max_concurrent>2</max_concurrent> <gpu_versions> <gpu_usage>.5</gpu_usage> <cpu_usage>.4</cpu_usage> </gpu_versions> </app> </app_config> Or for three tasks <app_config> <app> <name>kaktwoos</name> <max_concurrent>3</max_concurrent> <gpu_versions> <gpu_usage>.33</gpu_usage> <cpu_usage>.4</cpu_usage> </gpu_versions> </app> </app_config> Or for four tasks <app_config> <app> <name>kaktwoos</name> <max_concurrent>4</max_concurrent> <gpu_versions> <gpu_usage>.25</gpu_usage> <cpu_usage>.4</cpu_usage> </gpu_versions> </app> </app_config> The <max_concurrent> changes per amount of tasks you want to run on the GPU as well. If you quickly want to return to running just 1 task, set <max_concurrent> back to 1. |
Send message Joined: 1 Jul 20 Posts: 30 Credit: 69,857 RAC: 0 |
This is info on multiple WUs on a GPU from SETI. I've seen similar info on other projects (like Einstein): https://setiathome.berkeley.edu/forum_thread.php?id=83921#1981291 Different project but the concepts are going to be the same. There's really no way to know unless you find out if someone has tried running on the same GPU as you have and you will have to monitor the return on time to make sure you aren't actually wasting more time per WU by doing this. Do note that this put more strain on your GPU, so make sure you have adequate cooling both on your GPU card and your case. DO post the results of your experimenting to share with others, but make a new thread so it's easier for folks to find. Yav |
Send message Joined: 24 Jun 20 Posts: 85 Credit: 207,156 RAC: 0 |
As long as Seti has those certificate problems, I wouldn't link to them. Besides, have you not read the rest of this thread? I've given 775 an app_config.xml file that he is testing with already. |
Send message Joined: 22 Jul 20 Posts: 5 Credit: 7,688 RAC: 0 |
alright now everything is working and the gpu is getting load, and the projets are going a little faster than before, thank you so much for your help! |