EVGA

Helpful ReplyUpcoming REQUIRED changes to app_config.xml PrimeGrid

Author
bcavnaugh
The Crunchinator
  • Total Posts : 38977
  • Reward points : 0
  • Joined: 2012/09/18 17:31:18
  • Location: USA Affiliate E5L3CTGE12 Associate 9E88QK5L7811G3H
  • Status: offline
  • Ribbons : 282
2019/08/22 10:28:20 (permalink)
Upcoming REQUIRED changes to app_config.xml
If you don't know what app_config.xml is, or if you don't use it for PrimeGrid's LLR apps, you can ignore this notice.
This doesn't affect you.
 But if you are using app_config.xml on any of our LLR apps, we are changing the plan class of the LLR app versions, and therefore your app_config.xml won't work after the changes.
For details, as well as what you should do right now, please see this message. 
Comments, questions, and discussion are also located in that thread. 22 Aug 2019 | 15:55:33 UTC Comment

Associate Code: 9E88QK5L7811G3H


 
#1
bcavnaugh
The Crunchinator
  • Total Posts : 38977
  • Reward points : 0
  • Joined: 2012/09/18 17:31:18
  • Location: USA Affiliate E5L3CTGE12 Associate 9E88QK5L7811G3H
  • Status: offline
  • Ribbons : 282
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/08/22 10:31:20 (permalink) ☄ Helpfulby Cool GTX 2019/08/22 10:41:54
IMPORTANT:

PrimeGrid will be switching to a preferences-based method for setting up multi-threading in the near future.
If you are using app_config.xml (probably to set up multi-threading) it's going to stop working when the multi-threading system goes live. If you want your app_config.xml to continue working, you should make modifications now that will allow it to work both before and after the change.

Only LLR projects are affected.

Every <app_version> block for an LLR project should be duplicated, with the duplicate having a <plan_class>mt<plan_class> line added to it. For example, this is the before and after for ESP, set up for 4 threads:
<app>
  <name>llrESP</name>
  <fraction_done_exact>1</fraction_done_exact>
  <report_results_immediately>1</report_results_immediately>
</app>
 
<app_version>
  <app_name>llrESP</app_name>
  <cmdline>-t 4</cmdline>
  <avg_ncpus>4</avg_ncpus>
</app_version>
 
<app_version>
  <app_name>llrESP</app_name>
  <plan_class>mt</plan_class>
  <cmdline>-t 4</cmdline>
  <avg_ncpus>4</avg_ncpus>
</app_version>
You can do this today, and the original app_version block will continue to work. Once we install the new multi-tasking, that app_version block will be ignored and the second app_version block for the mt plan class will take over. At that point, most people can erase app_config.xml, or at least the parts for LLR projects, and start using the multi-threading controls on the website.

I don't have an exact time yet for this change, but it won't happen in August. I'm hoping for early September.
post edited by bcavnaugh - 2019/08/22 10:33:28

Associate Code: 9E88QK5L7811G3H


 
#2
bcavnaugh
The Crunchinator
  • Total Posts : 38977
  • Reward points : 0
  • Joined: 2012/09/18 17:31:18
  • Location: USA Affiliate E5L3CTGE12 Associate 9E88QK5L7811G3H
  • Status: offline
  • Ribbons : 282
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/08/22 10:36:35 (permalink)
We have time to make the change before the next PrimeGrid's Challenge Series 2019
Oktoberfest Challenge 5 days AP27 (GPU)
Next CPU is 50 years First ARPANET Connection Challenge 321-LLR 24-29 October
 
My Plan is to remove all LLR Settings in my app_config.xml file and only set Non-LLR or Non-MT and GPU Settings.
We will have to wait until they have made the Changes to PrimeGrid preferences to see what the new settings are going to look like.
 
Going to test this setup Today and then after the September change.
 
<app_config>
<app>
<name>llrMEGA</name>
<fraction_done_exact>1</fraction_done_exact>
<max_concurrent>2</max_concurrent>
<report_results_immediately>1</report_results_immediately>
</app>

<app_version>
<app_name>llrMEGA</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>1</avg_ncpus>
</app_version>

<app_version>
<app_name>llrMEGA</app_name>
<plan_class>mt</plan_class>
<cmdline>-t 4</cmdline>
<avg_ncpus>1</avg_ncpus>
</app_version>
<app>
< /app_config>
post edited by bcavnaugh - 2019/08/22 11:22:23

Associate Code: 9E88QK5L7811G3H


 
#3
Cool GTX
EVGA Forum Moderator
  • Total Posts : 31005
  • Reward points : 0
  • Joined: 2010/12/12 14:22:25
  • Location: Folding for the Greater Good
  • Status: offline
  • Ribbons : 122
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/08/22 10:42:39 (permalink)
thanks for the guidance

Learn your way around the EVGA Forums, Rules & limits on new accounts Ultimate Self-Starter Thread For New Members

I am a Volunteer Moderator - not an EVGA employee

https://foldingathome.org -->become a citizen scientist and contribute your compute power to help fight global health threats

RTX Project EVGA X99 FTWK Nibbler EVGA X99 Classified EVGA 3080Ti FTW3 Ultra


#4
Opolis
CLASSIFIED Member
  • Total Posts : 2778
  • Reward points : 0
  • Joined: 2010/03/25 18:49:16
  • Status: offline
  • Ribbons : 7
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/08/23 17:18:57 (permalink)
Nice I saw the notice and hadn't looked into it.  I'll probably follow bcav's plan.  Looks like this will help with the challenges/being 1st to return tasks for primes because it won't download extra tasks for MT even with 0 cache set.
post edited by Opolis - 2019/08/23 17:19:58

#5
robbysites
FTW Member
  • Total Posts : 1978
  • Reward points : 0
  • Joined: 2009/01/12 10:29:41
  • Location: 51°10?43.84?N 1°49?34.28?W
  • Status: offline
  • Ribbons : 2
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/08/24 10:49:34 (permalink)
Opolis
Nice I saw the notice and hadn't looked into it.  I'll probably follow bcav's plan.  Looks like this will help with the challenges/being 1st to return tasks for primes because it won't download extra tasks for MT even with 0 cache set.


I'll probably follow bcav's plan.
 
Same here. I have a large app_config.xml for PG.


      MY AFFILIATE CODE-000H94333W


 
#6
bill1024
Omnipotent Enthusiast
  • Total Posts : 11105
  • Reward points : 0
  • Joined: 2008/10/18 01:01:10
  • Status: offline
  • Ribbons : 65
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/09/03 14:35:07 (permalink)
It went live on the webpage preferences, where you can set MT and how many cores and how many at a time.
It worked for me on a linux box, Set it to do MT with 6 threads, it DL one task and started right up with 6 threads. 

 Life is too short to carry a cheap pocket knife

   
 
#7
bcavnaugh
The Crunchinator
  • Total Posts : 38977
  • Reward points : 0
  • Joined: 2012/09/18 17:31:18
  • Location: USA Affiliate E5L3CTGE12 Associate 9E88QK5L7811G3H
  • Status: offline
  • Ribbons : 282
Re: Upcoming REQUIRED changes to app_config.xml PrimeGrid 2019/09/03 17:34:56 (permalink)
Multi-threading:  Max # of threads for each task
(Only applies to LLR tasks)
Looks like we will have to setup more than one preferences for the same LLR on different Core Levels.
Good that they kept all 14 Preferences Settings
Thank for the update Bill.

Associate Code: 9E88QK5L7811G3H


 
#8
Jump to:
  • Back to Mobile