Setting for max number of concurrent jobs would be nice.

Message boards : Number crunching : Setting for max number of concurrent jobs would be nice.
Message board moderation

To post messages, you must log in.

AuthorMessage
Drago75

Send message
Joined: 17 Jun 23
Posts: 4
Credit: 3,010,059
RAC: 0
Message 158 - Posted: 26 Jul 2023, 20:57:02 UTC
Last modified: 26 Jul 2023, 20:58:45 UTC

I know that max number of concurrent jobs can be set also via an app_ config.xml setting but it would be more convenient to have that setting implemented under the projects preferences like at the project LHC. Since a single wu seems to occupy 830 MB of RAM one of my PCs runs out of memory when allowed to run a full set on all threads.
ID: 158 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
aendgraend

Send message
Joined: 22 Jun 23
Posts: 20
Credit: 771,762
RAC: 0
Message 159 - Posted: 26 Jul 2023, 21:18:39 UTC - in response to Message 158.  

I know that max number of concurrent jobs can be set also via an app_ config.xml setting but it would be more convenient to have that setting implemented under the projects preferences like at the project LHC. Since a single wu seems to occupy 830 MB of RAM one of my PCs runs out of memory when allowed to run a full set on all threads.


I second that.

I hadn't expected that amount of RAM to be required by the project. My machines are equipped with enough RAM but the average computer could reach it's maximum quite soon when crunching these workunits, so having the possibility to set <max_concurrent> or <project_max_concurrent> via the Website would really be neat and possibly help the not so experienced Users.
ID: 159 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Demis
Project tester
Volunteer developer
Volunteer tester

Send message
Joined: 14 Jun 23
Posts: 275
Credit: 4,110,429
RAC: 6,070
Message 178 - Posted: 27 Jul 2023, 12:59:51 UTC - in response to Message 159.  

Yes.

Our calculation requires the creation of a very large matrix of values ​​on the Primesieve library.
95% of the memory goes under the matrix.

Otherwise, we will not be able to calculate what we are looking for.
On my home computer I set use no more 50% RAM and no more 60% CPU and time cpu.
ID: 178 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Drago75

Send message
Joined: 17 Jun 23
Posts: 4
Credit: 3,010,059
RAC: 0
Message 188 - Posted: 27 Jul 2023, 14:57:23 UTC - in response to Message 178.  
Last modified: 27 Jul 2023, 15:00:09 UTC

Ok, for everyone who also has a host with limited RAM, you can create an app_config.xml file using an Editor program with the following content:

<app_config>
<project_max_concurrent>6</project_max_concurrent>
<report_results_immediately>0</report_results_immediately>
</app_config>

This example will allow your computer to run 6 work units at once. You can change the "6" for any other number which your machine is cable of handling.
Save the file in pure text format, select "ANSI" coding if possible. It needs to be in the ADSL project folder.
Than go to BOINC manager and select OPTIONS, READ CONFIG FILES

This way you can use the remaining cpu threads for a different project with less memory requiremnts.
ID: 188 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
entity

Send message
Joined: 19 Jun 23
Posts: 12
Credit: 7,472,713
RAC: 10
Message 190 - Posted: 27 Jul 2023, 15:28:02 UTC - in response to Message 188.  

I would hold off on doing anything until after the name change or you will probably have to recreate it. After the name change the project directory (which is where the app_config.xml file resides) might change. Alternatively, save a copy in another directory and copy it over after the name change
ID: 190 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Drago75

Send message
Joined: 17 Jun 23
Posts: 4
Credit: 3,010,059
RAC: 0
Message 194 - Posted: 27 Jul 2023, 17:48:05 UTC - in response to Message 190.  

Yeah, that should be no biggy. Just copy that file into the new directory.
ID: 194 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Setting for max number of concurrent jobs would be nice.

©2024 Natalia Makarova & Alex Belyshev & Tomáš Brada