Welcome to MilkyWay@home

Maximum number of task

Message boards : Number crunching : Maximum number of task
Message board moderation

To post messages, you must log in.

AuthorMessage
Alessio Susi
Avatar

Send message
Joined: 8 Mar 15
Posts: 30
Credit: 78,348,580
RAC: 77
Message 67657 - Posted: 6 Jul 2018, 12:05:46 UTC
Last modified: 6 Jul 2018, 12:06:43 UTC

Is there a way to set a maximum number of tasks running simultaneously?
I have a Ryzen 7 1700 (8 cores, 16 threads) set to work with 15 cores but with M@H it uses all cores for CPU tasks, ignoring GPU ones.
ASUS X570 E-Gaming
AMD Ryzen 9 3950X, 16 core / 32 thread 4.4 GHz
AMD Radeon Sapphire RX 480 4GB Nitro+
Nvidia GTX 1080 Ti Gaming X Trio
4x16 GB Corsair Vengeance RGB 3466 MHz

ID: 67657 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
wb8ili

Send message
Joined: 18 Jul 10
Posts: 76
Credit: 637,331,138
RAC: 30,201
Message 67658 - Posted: 6 Jul 2018, 17:44:53 UTC

Create a file app_config.xml in the milkyway.cs.rpi.edu_milkway directory.

Place the following 3 lines of text in the file and save it.

<app_config>
<project_max_concurrent>4</project_max_concurrent>
</app_config>


On the BOINC Manager screen, under Options, click on Read config files.



Alternatively, on the BOINC Manager screen, under Options, Computing Preferences, Computing, set Use at most 50% of the CPU's
ID: 67658 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Alessio Susi
Avatar

Send message
Joined: 8 Mar 15
Posts: 30
Credit: 78,348,580
RAC: 77
Message 67659 - Posted: 6 Jul 2018, 18:04:09 UTC

Thank you 😉
ASUS X570 E-Gaming
AMD Ryzen 9 3950X, 16 core / 32 thread 4.4 GHz
AMD Radeon Sapphire RX 480 4GB Nitro+
Nvidia GTX 1080 Ti Gaming X Trio
4x16 GB Corsair Vengeance RGB 3466 MHz

ID: 67659 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Thund3rb1rd

Send message
Joined: 8 Apr 08
Posts: 2
Credit: 14,914,790
RAC: 0
Message 67669 - Posted: 12 Jul 2018, 17:55:57 UTC

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?
ID: 67669 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rjs5

Send message
Joined: 18 Nov 10
Posts: 19
Credit: 180,707,624
RAC: 13,084
Message 67684 - Posted: 23 Jul 2018, 16:39:20 UTC - in response to Message 67669.  

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?


I think the actual names of the M@H apps are: 'milkyway' and 'milkyway_nbody'

Try changing the "MilkyWay@Home" to the app name you are interested in.
ID: 67684 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3339
Credit: 524,010,781
RAC: 0
Message 67685 - Posted: 24 Jul 2018, 10:34:09 UTC - in response to Message 67669.  

I'm trying to do the same thing, but I keep getting this error message:

Milkyway@Home: Notice from BOINC
Missing <app_config> in app_config.xml


I used NotepadXML to create this file:

<?xml version="1.0" encoding="utf-8"?>
<app_config>
<app>
<name>MilkyWay@Home</name>
<max_concurrent>5</max_concurrent>
</app>
</app_config>


The first line was inserted by NotepadXML and the <name> line is one of my efforts to resolve the error. Doesn't seem to matter whether either line is there... the same error is returned and the file doesn't seem to work.

Obviously, I'm doing something wrong, but I haven't a clue what.

Any suggestions?


Get rid of the name line and put it in the MilkyWay Project folder under c:\program data\boinc\projects\'milkyway'

You don't need the name line since it only affects milkyway and is in the milkyway folder.
ID: 67685 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Maximum number of task

©2024 Astroinformatics Group