PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Number crunching : Which PrimeGrid CPU Projects Support Threading or have optimized app_config settings?

Author Message
Profile Adam J BavierProject donor
Avatar
Send message
Joined: 3 Apr 09
Posts: 11
ID: 37923
Credit: 593,541,444
RAC: 1,970,439
321 LLR Silver: Earned 100,000 credits (212,482)Cullen LLR Silver: Earned 100,000 credits (153,516)ESP LLR Silver: Earned 100,000 credits (103,070)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (156,840)PPS LLR Amethyst: Earned 1,000,000 credits (1,513,880)PSP LLR Amethyst: Earned 1,000,000 credits (1,067,281)SoB LLR Silver: Earned 100,000 credits (121,682)SR5 LLR Silver: Earned 100,000 credits (200,712)SGS LLR Amethyst: Earned 1,000,000 credits (1,152,009)TRP LLR Silver: Earned 100,000 credits (146,113)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,376,721)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (500,204)PPS Sieve Double Silver: Earned 200,000,000 credits (253,745,688)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (323,306)AP 26/27 Ruby: Earned 2,000,000 credits (3,877,333)GFN Double Bronze: Earned 100,000,000 credits (194,329,110)WW Double Bronze: Earned 100,000,000 credits (119,336,000)PSA Jade: Earned 10,000,000 credits (15,114,470)
Message 109745 - Posted: 31 Aug 2017 | 19:52:41 UTC
Last modified: 31 Aug 2017 | 19:53:36 UTC

Which CPU projects support threading and or have optimized app_config settings? I would like to enable my CPU to crunch the tasks that do not have GPU support, but would like to optimize them for a quick turn around by enabling threading or other optimizations via the app_config.xml file if the threading support is available.

Thanks for any help, and any examples from your own app_config file.

Van ZimmermanProject donor
Volunteer tester
Send message
Joined: 30 Aug 12
Posts: 1950
ID: 168418
Credit: 6,315,554,899
RAC: 0
Discovered the World's First GFN-20 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (20,089,185)Cullen LLR Sapphire: Earned 20,000,000 credits (21,197,588)ESP LLR Sapphire: Earned 20,000,000 credits (20,089,407)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (21,873,609)PPS LLR Sapphire: Earned 20,000,000 credits (21,918,476)PSP LLR Sapphire: Earned 20,000,000 credits (20,117,197)SoB LLR Sapphire: Earned 20,000,000 credits (26,779,370)SR5 LLR Sapphire: Earned 20,000,000 credits (20,278,667)SGS LLR Sapphire: Earned 20,000,000 credits (20,055,153)TRP LLR Sapphire: Earned 20,000,000 credits (20,619,871)Woodall LLR Sapphire: Earned 20,000,000 credits (20,394,541)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (28,148,632)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,373,251)PPS Sieve Double Amethyst: Earned 1,000,000,000 credits (1,051,222,753)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,189,695)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,102,079)AP 26/27 Emerald: Earned 50,000,000 credits (60,248,786)GFN Double Ruby: Earned 2,000,000,000 credits (4,703,540,875)PSA Double Bronze: Earned 100,000,000 credits (198,313,575)
Message 109750 - Posted: 31 Aug 2017 | 22:10:38 UTC - in response to Message 109745.

Which CPU projects support threading and or have optimized app_config settings? I would like to enable my CPU to crunch the tasks that do not have GPU support, but would like to optimize them for a quick turn around by enabling threading or other optimizations via the app_config.xml file if the threading support is available.

Thanks for any help, and any examples from your own app_config file.


I assume you read the prior thread "App names" (including the follow-up responses). If the app begins with "llr", e.g. "llr321", it can make use of multithreading.

The different projects scale differently. For example, llrCUL is going to scale better to more threads (assuming you have the cores available) than llrTPS (generally, larger tasks scale better in my experience).

Below is my "generic" app_config.xml, set up for a quad core, with no GPU tasks. If you are going to run GPU tasks, you want to make sure leave enough CPU cores free (HT cores may be enough) to keep the GPU fed.

You will probably want to experiment to see what works best on your hardware. On the machine this app_config.xml came from, llrMEGA doesn't scale well beyond 3 cores, but if I run 3 cores, I have one sitting idle (hence running 2 2-thread tasks concurrently). On another of my machines it scales well up to 6.

<app_config>

<app>
<name>llr321</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llr321</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrCUL</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrCUL</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrESP</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrESP</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrGCW</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrGCW</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrPSP</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrPSP</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrPPS</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrPPS</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrPPSE</name>
<fraction_done_exact/>
<max_concurrent>2</max_concurrent>
</app>
<app_version>
<app_name>llrPPSE</app_name>
<cmdline>-t 2</cmdline>
<avg_ncpus>2</avg_ncpus>
<max_ncpus>2</max_ncpus>
</app_version>

<app>
<name>llrMEGA</name>
<fraction_done_exact/>
<max_concurrent>2</max_concurrent>
</app>
<app_version>
<app_name>llrMEGA</app_name>
<cmdline>-t 2</cmdline>
<avg_ncpus>2</avg_ncpus>
<max_ncpus>2</max_ncpus>
</app_version>

<app>
<name>llrSOB</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrSOB</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrSR5</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrSR5</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrTPS</name>
<fraction_done_exact/>
<max_concurrent>2</max_concurrent>
</app>
<app_version>
<app_name>llrTPS</app_name>
<cmdline>-t 2</cmdline>
<avg_ncpus>2</avg_ncpus>
<max_ncpus>2</max_ncpus>
</app_version>

<app>
<name>llrTRP</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrTRP</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

<app>
<name>llrWOO</name>
<fraction_done_exact/>
<max_concurrent>1</max_concurrent>
</app>
<app_version>
<app_name>llrWOO</app_name>
<cmdline>-t 4</cmdline>
<avg_ncpus>4</avg_ncpus>
<max_ncpus>4</max_ncpus>
</app_version>

</app_config>

Chaotic DisorderProject donor
Avatar
Send message
Joined: 24 Sep 10
Posts: 76
ID: 68547
Credit: 282,038,541
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2018 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (12,772,341)Cullen LLR Gold: Earned 500,000 credits (588,204)ESP LLR Ruby: Earned 2,000,000 credits (3,650,366)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (765,031)PPS LLR Jade: Earned 10,000,000 credits (12,284,653)PSP LLR Amethyst: Earned 1,000,000 credits (1,881,456)SoB LLR Turquoise: Earned 5,000,000 credits (5,571,796)SR5 LLR Ruby: Earned 2,000,000 credits (3,017,622)SGS LLR Amethyst: Earned 1,000,000 credits (1,960,946)TRP LLR Amethyst: Earned 1,000,000 credits (1,182,488)Woodall LLR Gold: Earned 500,000 credits (719,170)321 Sieve (suspended) Silver: Earned 100,000 credits (499,544)Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (26,059)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (3,566,529)PPS Sieve Emerald: Earned 50,000,000 credits (69,156,537)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Bronze: Earned 10,000 credits (25,179)TRP Sieve (suspended) Silver: Earned 100,000 credits (260,129)AP 26/27 Double Bronze: Earned 100,000,000 credits (101,083,086)GFN Emerald: Earned 50,000,000 credits (63,027,407)
Message 109754 - Posted: 1 Sep 2017 | 2:55:05 UTC - in response to Message 109750.

Below is my "generic" app_config.xml, set up for a quad core, with no GPU tasks. If you are going to run GPU tasks, you want to make sure leave enough CPU cores free (HT cores may be enough) to keep the GPU fed.


I've noticed that AP27 speeds aren't slowed on GPU with no CPU cores free. It seems to be the only one though.
____________

Profile Adam J BavierProject donor
Avatar
Send message
Joined: 3 Apr 09
Posts: 11
ID: 37923
Credit: 593,541,444
RAC: 1,970,439
321 LLR Silver: Earned 100,000 credits (212,482)Cullen LLR Silver: Earned 100,000 credits (153,516)ESP LLR Silver: Earned 100,000 credits (103,070)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (156,840)PPS LLR Amethyst: Earned 1,000,000 credits (1,513,880)PSP LLR Amethyst: Earned 1,000,000 credits (1,067,281)SoB LLR Silver: Earned 100,000 credits (121,682)SR5 LLR Silver: Earned 100,000 credits (200,712)SGS LLR Amethyst: Earned 1,000,000 credits (1,152,009)TRP LLR Silver: Earned 100,000 credits (146,113)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,376,721)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (500,204)PPS Sieve Double Silver: Earned 200,000,000 credits (253,745,688)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (323,306)AP 26/27 Ruby: Earned 2,000,000 credits (3,877,333)GFN Double Bronze: Earned 100,000,000 credits (194,329,110)WW Double Bronze: Earned 100,000,000 credits (119,336,000)PSA Jade: Earned 10,000,000 credits (15,114,470)
Message 109756 - Posted: 1 Sep 2017 | 5:51:23 UTC

Thank you for the information. I didn't know the "llr" meant it supported threading. I'll get my config all setup now.

GDB
Send message
Joined: 15 Nov 11
Posts: 284
ID: 119185
Credit: 3,910,972,995
RAC: 2,068,808
Discovered 2 mega primesFound 1 prime in the 2022 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (13,480,830)Cullen LLR Turquoise: Earned 5,000,000 credits (6,761,853)ESP LLR Turquoise: Earned 5,000,000 credits (5,600,055)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (7,659,159)PPS LLR Sapphire: Earned 20,000,000 credits (20,929,498)PSP LLR Turquoise: Earned 5,000,000 credits (7,468,468)SoB LLR Sapphire: Earned 20,000,000 credits (21,743,440)SR5 LLR Turquoise: Earned 5,000,000 credits (6,839,538)SGS LLR Turquoise: Earned 5,000,000 credits (5,757,384)TRP LLR Jade: Earned 10,000,000 credits (12,137,231)Woodall LLR Turquoise: Earned 5,000,000 credits (5,099,498)321 Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,834,160)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,647,915)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (11,373,349)PPS Sieve Double Gold: Earned 500,000,000 credits (544,231,326)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (4,080,038)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (7,803,337)AP 26/27 Double Silver: Earned 200,000,000 credits (237,667,755)GFN Double Gold: Earned 500,000,000 credits (620,634,327)WW Double Gold: Earned 500,000,000 credits (500,196,000)PSA Double Amethyst: Earned 1,000,000,000 credits (1,863,027,834)
Message 109761 - Posted: 1 Sep 2017 | 11:22:24 UTC - in response to Message 109750.
Last modified: 1 Sep 2017 | 11:25:18 UTC

Only the avg_cpus is needed. The max_cpus is useless in app_config multi-threading.

gazzyk1ns
Send message
Joined: 2 Aug 11
Posts: 1329
ID: 107047
Credit: 367,379,246
RAC: 0
321 LLR Amethyst: Earned 1,000,000 credits (1,446,317)Cullen LLR Ruby: Earned 2,000,000 credits (2,100,744)ESP LLR Turquoise: Earned 5,000,000 credits (5,192,394)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,159,526)PPS LLR Amethyst: Earned 1,000,000 credits (1,307,875)PSP LLR Jade: Earned 10,000,000 credits (10,408,711)SoB LLR Sapphire: Earned 20,000,000 credits (23,757,093)SR5 LLR Ruby: Earned 2,000,000 credits (3,475,528)SGS LLR Amethyst: Earned 1,000,000 credits (1,085,939)TRP LLR Turquoise: Earned 5,000,000 credits (5,630,136)Woodall LLR Ruby: Earned 2,000,000 credits (2,035,102)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,146,795)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,190,376)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,651,496)PPS Sieve Double Silver: Earned 200,000,000 credits (221,599,206)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (3,591,642)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,819,072)AP 26/27 Ruby: Earned 2,000,000 credits (2,150,876)GFN Sapphire: Earned 20,000,000 credits (26,053,272)WW Turquoise: Earned 5,000,000 credits (6,132,000)PSA Sapphire: Earned 20,000,000 credits (38,445,145)
Message 110245 - Posted: 14 Sep 2017 | 21:43:00 UTC

Anticipating a nightmare, last night I sat down and thought I'd have a go at getting multi-threading going, after a big wait because of that nightmarish anticipation. I thought I was definitely going to have to start a forum thread and basically plead everyone to cobble together a guide for me, in the form of links to the best forum threads, complete with customised and updated notes, just for me.

But I bunged Van Z's app_config file in there, modifying the relevant entries for the SoB bit, and it's doing what I want it to. I just told it to re-read the config files, didn't even close BOINC.

So cheers Van Z. and everyone else whose posts I read quickly last night.

So why do some people use a cc_config file? Would that be for a different platform, e.g. Linix? or can a cc_config file do something which app_config doesn't?

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13951
ID: 53948
Credit: 390,667,618
RAC: 107,419
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,638,389)Cullen LLR Turquoise: Earned 5,000,000 credits (5,513,946)ESP LLR Turquoise: Earned 5,000,000 credits (7,150,009)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (24,049,916)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (16,608,546)SGS LLR Turquoise: Earned 5,000,000 credits (6,361,962)TRP LLR Turquoise: Earned 5,000,000 credits (6,308,522)Woodall LLR Turquoise: Earned 5,000,000 credits (6,390,624)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,902,645)GFN Double Bronze: Earned 100,000,000 credits (105,337,164)WW Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 110247 - Posted: 14 Sep 2017 | 22:11:14 UTC - in response to Message 110245.

So why do some people use a cc_config file? Would that be for a different platform, e.g. Linix? or can a cc_config file do something which app_config doesn't?



cc_config.xml is a lot harder to configure correctly than app_config.xml. If app_config.xml does what you need, you should always use it in preference over cc_config.xml.

cc_config.xml is the "anonymous platform" mechanism, where you must supply your own apps. If you want to run a custom app, that's how you do it. But you've got to configure it correctly and make sure all the files (including the app itself) are in the correct locations.
____________
My lucky number is 75898524288+1

gazzyk1ns
Send message
Joined: 2 Aug 11
Posts: 1329
ID: 107047
Credit: 367,379,246
RAC: 0
321 LLR Amethyst: Earned 1,000,000 credits (1,446,317)Cullen LLR Ruby: Earned 2,000,000 credits (2,100,744)ESP LLR Turquoise: Earned 5,000,000 credits (5,192,394)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,159,526)PPS LLR Amethyst: Earned 1,000,000 credits (1,307,875)PSP LLR Jade: Earned 10,000,000 credits (10,408,711)SoB LLR Sapphire: Earned 20,000,000 credits (23,757,093)SR5 LLR Ruby: Earned 2,000,000 credits (3,475,528)SGS LLR Amethyst: Earned 1,000,000 credits (1,085,939)TRP LLR Turquoise: Earned 5,000,000 credits (5,630,136)Woodall LLR Ruby: Earned 2,000,000 credits (2,035,102)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,146,795)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,190,376)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,651,496)PPS Sieve Double Silver: Earned 200,000,000 credits (221,599,206)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (3,591,642)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,819,072)AP 26/27 Ruby: Earned 2,000,000 credits (2,150,876)GFN Sapphire: Earned 20,000,000 credits (26,053,272)WW Turquoise: Earned 5,000,000 credits (6,132,000)PSA Sapphire: Earned 20,000,000 credits (38,445,145)
Message 110250 - Posted: 15 Sep 2017 | 0:04:17 UTC
Last modified: 15 Sep 2017 | 0:05:36 UTC

Ah I see, cheers Michael.

I should have proof-read my post before throwing caution to the wind and pressing "OK" up there, I wrote "Linix" and forgot how to use capitals.

Profile [B@P] DanielProject donor
Send message
Joined: 18 Dec 11
Posts: 70
ID: 123596
Credit: 648,090,401
RAC: 0
Discovered 3 mega primesFound 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,694,284)Cullen LLR Ruby: Earned 2,000,000 credits (2,769,124)ESP LLR Ruby: Earned 2,000,000 credits (4,575,671)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (6,036,594)PPS LLR Jade: Earned 10,000,000 credits (14,928,128)PSP LLR Turquoise: Earned 5,000,000 credits (8,934,045)SoB LLR Sapphire: Earned 20,000,000 credits (21,369,769)SR5 LLR Turquoise: Earned 5,000,000 credits (5,899,697)SGS LLR Turquoise: Earned 5,000,000 credits (5,884,857)TRP LLR Turquoise: Earned 5,000,000 credits (6,736,215)Woodall LLR Ruby: Earned 2,000,000 credits (4,718,281)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (22,742,002)Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,356,541)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,424,826)PPS Sieve Double Silver: Earned 200,000,000 credits (373,847,271)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,181,774)AP 26/27 Sapphire: Earned 20,000,000 credits (47,020,090)GFN Emerald: Earned 50,000,000 credits (60,959,876)WW Jade: Earned 10,000,000 credits (10,008,000)PSA Amethyst: Earned 1,000,000 credits (1,002,500)
Message 110258 - Posted: 15 Sep 2017 | 12:46:28 UTC - in response to Message 110247.

So why do some people use a cc_config file? Would that be for a different platform, e.g. Linix? or can a cc_config file do something which app_config doesn't?



cc_config.xml is a lot harder to configure correctly than app_config.xml. If app_config.xml does what you need, you should always use it in preference over cc_config.xml.

cc_config.xml is the "anonymous platform" mechanism, where you must supply your own apps. If you want to run a custom app, that's how you do it. But you've got to configure it correctly and make sure all the files (including the app itself) are in the correct locations.

Anonymous platform is configured using app_info.xml. cc_config.xml is used to configure BOINC client itself and it allows to configure additional things, mostly advanced or rarely used ones.
____________

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13951
ID: 53948
Credit: 390,667,618
RAC: 107,419
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain StageFound 1 prime in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,638,389)Cullen LLR Turquoise: Earned 5,000,000 credits (5,513,946)ESP LLR Turquoise: Earned 5,000,000 credits (7,150,009)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (24,049,916)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (16,608,546)SGS LLR Turquoise: Earned 5,000,000 credits (6,361,962)TRP LLR Turquoise: Earned 5,000,000 credits (6,308,522)Woodall LLR Turquoise: Earned 5,000,000 credits (6,390,624)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,902,645)GFN Double Bronze: Earned 100,000,000 credits (105,337,164)WW Emerald: Earned 50,000,000 credits (88,580,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 110259 - Posted: 15 Sep 2017 | 13:20:37 UTC - in response to Message 110258.

So why do some people use a cc_config file? Would that be for a different platform, e.g. Linix? or can a cc_config file do something which app_config doesn't?



cc_config.xml is a lot harder to configure correctly than app_config.xml. If app_config.xml does what you need, you should always use it in preference over cc_config.xml.

cc_config.xml is the "anonymous platform" mechanism, where you must supply your own apps. If you want to run a custom app, that's how you do it. But you've got to configure it correctly and make sure all the files (including the app itself) are in the correct locations.

Anonymous platform is configured using app_info.xml. cc_config.xml is used to configure BOINC client itself and it allows to configure additional things, mostly advanced or rarely used ones.


Blech. You're 100% correct, of course.
____________
My lucky number is 75898524288+1

Van ZimmermanProject donor
Volunteer tester
Send message
Joined: 30 Aug 12
Posts: 1950
ID: 168418
Credit: 6,315,554,899
RAC: 0
Discovered the World's First GFN-20 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Sapphire: Earned 20,000,000 credits (20,089,185)Cullen LLR Sapphire: Earned 20,000,000 credits (21,197,588)ESP LLR Sapphire: Earned 20,000,000 credits (20,089,407)Generalized Cullen/Woodall LLR Sapphire: Earned 20,000,000 credits (21,873,609)PPS LLR Sapphire: Earned 20,000,000 credits (21,918,476)PSP LLR Sapphire: Earned 20,000,000 credits (20,117,197)SoB LLR Sapphire: Earned 20,000,000 credits (26,779,370)SR5 LLR Sapphire: Earned 20,000,000 credits (20,278,667)SGS LLR Sapphire: Earned 20,000,000 credits (20,055,153)TRP LLR Sapphire: Earned 20,000,000 credits (20,619,871)Woodall LLR Sapphire: Earned 20,000,000 credits (20,394,541)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (28,148,632)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,373,251)PPS Sieve Double Amethyst: Earned 1,000,000,000 credits (1,051,222,753)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,189,695)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,102,079)AP 26/27 Emerald: Earned 50,000,000 credits (60,248,786)GFN Double Ruby: Earned 2,000,000,000 credits (4,703,540,875)PSA Double Bronze: Earned 100,000,000 credits (198,313,575)
Message 110260 - Posted: 15 Sep 2017 | 13:41:34 UTC
Last modified: 15 Sep 2017 | 13:41:46 UTC

Before the Boinc client defaulted to use all GPUs, cc_config.xml was where you set the flag to do so.

Currently, I use it to force a client to allow remote rpcs, as one of the steps to control my clients with a manager.

There are other more esoteric uses, but for most folks, it probably isn't necessary.

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1645
ID: 37043
Credit: 733,135,347
RAC: 134,296
Discovered 2 mega primesFound 12 primes in the 2023 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,008,621)Cullen LLR Ruby: Earned 2,000,000 credits (2,074,615)ESP LLR Ruby: Earned 2,000,000 credits (2,243,517)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,142,353)PPS LLR Turquoise: Earned 5,000,000 credits (7,296,858)PSP LLR Ruby: Earned 2,000,000 credits (2,232,103)SoB LLR Ruby: Earned 2,000,000 credits (2,934,612)SR5 LLR Ruby: Earned 2,000,000 credits (2,071,823)SGS LLR Turquoise: Earned 5,000,000 credits (6,780,752)TRP LLR Turquoise: Earned 5,000,000 credits (5,023,333)Woodall LLR Ruby: Earned 2,000,000 credits (2,822,180)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (23,770,672)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (379,578,052)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (42,043,157)GFN Double Bronze: Earned 100,000,000 credits (138,409,215)WW Emerald: Earned 50,000,000 credits (64,048,000)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 118893 - Posted: 21 Jun 2018 | 18:22:49 UTC - in response to Message 109750.


I assume you read the prior thread "App names" (including the follow-up responses). If the app begins with "llr", e.g. "llr321", it can make use of multithreading.

The different projects scale differently. For example, llrCUL is going to scale better to more threads (assuming you have the cores available) than llrTPS (generally, larger tasks scale better in my experience).

Below is my "generic" app_config.xml, set up for a quad core, with no GPU tasks. If you are going to run GPU tasks, you want to make sure leave enough CPU cores free (HT cores may be enough) to keep the GPU fed.

You will probably want to experiment to see what works best on your hardware. On the machine this app_config.xml came from, llrMEGA doesn't scale well beyond 3 cores, but if I run 3 cores, I have one sitting idle (hence running 2 2-thread tasks concurrently). On another of my machines it scales well up to 6.

<app_config>...


Thank you VERY much for posting this, it has helped me ALOT as I am working my way thru my Silver badges of these long cpu only workunits!!! I got to Silver doing one unit at a time but multi-threading them has made them much faster for me, not that they are 'short' now but faster is progress.

Message boards : Number crunching : Which PrimeGrid CPU Projects Support Threading or have optimized app_config settings?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2023 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.93, 1.59, 1.63
Generated 20 Mar 2023 | 23:15:14 UTC