How to run multiple projects on one computer simultaneously?

Message boards : Projects : How to run multiple projects on one computer simultaneously?
Message board moderation

To post messages, you must log in.

AuthorMessage
JonVdG

Send message
Joined: 21 Dec 19
Posts: 2
United States
Message 94438 - Posted: 21 Dec 2019, 21:49:34 UTC

Greetings, I'd like to allocate two of my CPUs to one project and two other CPUs to a different project. I've spent a lot of time adjusting my computing preferences and it seems that I can only get one project to run at one time. Please let me know if I'm missing something - thanks in advance.
ID: 94438 · Report as offensive
Jim1348

Send message
Joined: 8 Nov 10
Posts: 233
United States
Message 94443 - Posted: 21 Dec 2019, 23:45:00 UTC - in response to Message 94438.  

The BOINC scheduler will average them out over time, so that you get the percentages that you set via the Resource share.
But it often does not run two projects at once, but rather runs them at separate times.

If you want to run them all at once, there are a couple of ways. The first is an "app_config.xml" file in each project folder, specifying the number of work units of that project to run at a time. It looks like this, and you can choose the number of tasks that you want.
<app_config>
   <project_max_concurrent>1</project_max_concurrent>
</app_config>

You create it in a text editor (Notepad), save it as an ".xml" file (not a .txt file), and place it in the project data folder.
For example for MilkyWay: "C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway".
Then, you activate it by restarting BOINC, or rebooting the PC.
For more info:https://boinc.berkeley.edu/wiki/Client_configuration#Options

Another way, somewhat more complicated, is two create two (or more) BOINC instances, one for each project:
https://www.overclock.net/forum/18056-boinc-guides-tutorials/1628924-guide-setting-up-multiple-boinc-instances.html

However, each of these ways has various pitfalls, and are best used in special cases when you need them. Otherwise, just use the Resource share, and let the BOINC scheduler handle it.
ID: 94443 · Report as offensive
JonVdG

Send message
Joined: 21 Dec 19
Posts: 2
United States
Message 94445 - Posted: 22 Dec 2019, 2:21:15 UTC - in response to Message 94443.  

Okay, makes sense. Thanks for your help.
ID: 94445 · Report as offensive
Jim1348

Send message
Joined: 8 Nov 10
Posts: 233
United States
Message 94446 - Posted: 22 Dec 2019, 2:58:02 UTC - in response to Message 94445.  

There is a way to make the adjustment for a new project converge faster to the correct value.
That is with the use of a "cc_config.xml" file placed in the BOINC Data directory (C:\ProgramData\BOINC).

It looks like this:
<cc_config>
  <options>	
  	<rec_half_life_days>1.000000</rec_half_life_days>
  </options>
</cc_config>


Someone said recently that it is not necessary for the newer BOINC versions, but I don't have any info on that.
I always use it when setting up a new machine.
ID: 94446 · Report as offensive

Message boards : Projects : How to run multiple projects on one computer simultaneously?

Copyright © 2020 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.