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: 10
ID: 37923
Credit: 272,929,842
RAC: 54,677
321 LLR Silver: Earned 100,000 credits (104,783)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 Silver: Earned 100,000 credits (108,287)PSP LLR Silver: Earned 100,000 credits (122,892)SoB LLR Silver: Earned 100,000 credits (121,682)SR5 LLR Silver: Earned 100,000 credits (200,712)SGS LLR Silver: Earned 100,000 credits (116,053)TRP LLR Silver: Earned 100,000 credits (110,893)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve Gold: Earned 500,000 credits (616,195)Generalized Cullen/Woodall Sieve Gold: Earned 500,000 credits (500,204)PPS Sieve Double Silver: Earned 200,000,000 credits (252,687,194)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (323,306)AP 26/27 Silver: Earned 100,000 credits (473,127)GFN Amethyst: Earned 1,000,000 credits (1,805,593)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 moderator
Project administrator
Volunteer tester
Project scientist
Send message
Joined: 30 Aug 12
Posts: 1951
ID: 168418
Credit: 6,015,903,178
RAC: 46,198
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 Sapphire: Earned 20,000,000 credits (24,846,715)Generalized Cullen/Woodall Sieve 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,407,191,681)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: 70
ID: 68547
Credit: 201,771,167
RAC: 183,157
Found 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,638,232)Cullen LLR Silver: Earned 100,000 credits (331,700)ESP LLR Ruby: Earned 2,000,000 credits (3,362,360)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (752,940)PPS LLR Turquoise: Earned 5,000,000 credits (6,073,997)PSP LLR Amethyst: Earned 1,000,000 credits (1,881,456)SoB LLR Turquoise: Earned 5,000,000 credits (5,436,815)SR5 LLR Ruby: Earned 2,000,000 credits (2,251,969)SGS LLR Amethyst: Earned 1,000,000 credits (1,670,695)TRP LLR Gold: Earned 500,000 credits (718,897)Woodall LLR Gold: Earned 500,000 credits (719,170)321 Sieve Silver: Earned 100,000 credits (189,722)Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (26,059)Generalized Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (3,566,529)PPS Sieve Sapphire: Earned 20,000,000 credits (43,004,319)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 Emerald: Earned 50,000,000 credits (84,559,345)GFN Sapphire: Earned 20,000,000 credits (40,305,680)
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: 10
ID: 37923
Credit: 272,929,842
RAC: 54,677
321 LLR Silver: Earned 100,000 credits (104,783)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 Silver: Earned 100,000 credits (108,287)PSP LLR Silver: Earned 100,000 credits (122,892)SoB LLR Silver: Earned 100,000 credits (121,682)SR5 LLR Silver: Earned 100,000 credits (200,712)SGS LLR Silver: Earned 100,000 credits (116,053)TRP LLR Silver: Earned 100,000 credits (110,893)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve Gold: Earned 500,000 credits (616,195)Generalized Cullen/Woodall Sieve Gold: Earned 500,000 credits (500,204)PPS Sieve Double Silver: Earned 200,000,000 credits (252,687,194)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (323,306)AP 26/27 Silver: Earned 100,000 credits (473,127)GFN Amethyst: Earned 1,000,000 credits (1,805,593)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: 187
ID: 119185
Credit: 1,594,985,197
RAC: 5,380,878
321 LLR Jade: Earned 10,000,000 credits (12,345,293)Cullen LLR Turquoise: Earned 5,000,000 credits (5,039,267)ESP LLR Turquoise: Earned 5,000,000 credits (5,240,818)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,387,851)PPS LLR Ruby: Earned 2,000,000 credits (2,892,428)PSP LLR Turquoise: Earned 5,000,000 credits (5,102,994)SoB LLR Jade: Earned 10,000,000 credits (15,845,135)SR5 LLR Ruby: Earned 2,000,000 credits (2,609,913)SGS LLR Ruby: Earned 2,000,000 credits (2,414,265)TRP LLR Turquoise: Earned 5,000,000 credits (5,140,321)Woodall LLR Turquoise: Earned 5,000,000 credits (5,099,498)321 Sieve Ruby: Earned 2,000,000 credits (2,151,064)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,647,915)Generalized Cullen/Woodall Sieve Jade: Earned 10,000,000 credits (11,373,349)PPS Sieve Double Bronze: Earned 100,000,000 credits (117,277,321)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 Jade: Earned 10,000,000 credits (12,080,484)GFN Double Bronze: Earned 100,000,000 credits (148,529,162)PSA Double Amethyst: Earned 1,000,000,000 credits (1,224,924,746)
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: 1308
ID: 107047
Credit: 336,005,743
RAC: 53,692
321 LLR Amethyst: Earned 1,000,000 credits (1,446,317)Cullen LLR Amethyst: Earned 1,000,000 credits (1,206,959)ESP LLR Ruby: Earned 2,000,000 credits (2,039,070)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,159,526)PPS LLR Amethyst: Earned 1,000,000 credits (1,298,005)PSP LLR Turquoise: Earned 5,000,000 credits (9,022,835)SoB LLR Sapphire: Earned 20,000,000 credits (22,944,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,014,726)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 Ruby: Earned 2,000,000 credits (2,144,966)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,190,376)Generalized Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,651,496)PPS Sieve Double Silver: Earned 200,000,000 credits (207,390,441)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 (22,745,636)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
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 12700
ID: 53948
Credit: 185,079,550
RAC: 158,446
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 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,063,182)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Ruby: Earned 2,000,000 credits (4,306,611)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Ruby: Earned 2,000,000 credits (2,773,744)PSP LLR Ruby: Earned 2,000,000 credits (2,632,269)SoB LLR Sapphire: Earned 20,000,000 credits (34,158,496)SR5 LLR Turquoise: Earned 5,000,000 credits (8,293,415)SGS LLR Ruby: Earned 2,000,000 credits (2,012,222)TRP LLR Ruby: Earned 2,000,000 credits (2,737,347)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Turquoise: Earned 5,000,000 credits (5,046,112)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (20,110,788)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 Turquoise: Earned 5,000,000 credits (7,090,096)GFN Emerald: Earned 50,000,000 credits (64,594,991)PSA Jade: Earned 10,000,000 credits (10,597,947)
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.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

gazzyk1ns
Send message
Joined: 2 Aug 11
Posts: 1308
ID: 107047
Credit: 336,005,743
RAC: 53,692
321 LLR Amethyst: Earned 1,000,000 credits (1,446,317)Cullen LLR Amethyst: Earned 1,000,000 credits (1,206,959)ESP LLR Ruby: Earned 2,000,000 credits (2,039,070)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,159,526)PPS LLR Amethyst: Earned 1,000,000 credits (1,298,005)PSP LLR Turquoise: Earned 5,000,000 credits (9,022,835)SoB LLR Sapphire: Earned 20,000,000 credits (22,944,219)SR5 LLR Ruby: Earned 2,000,000 credits (2,014,726)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 Ruby: Earned 2,000,000 credits (2,144,966)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,190,376)Generalized Cullen/Woodall Sieve Ruby: Earned 2,000,000 credits (2,651,496)PPS Sieve Double Silver: Earned 200,000,000 credits (207,390,441)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 (22,745,636)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: 607,086,874
RAC: 407,787
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,316,799)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 Sapphire: Earned 20,000,000 credits (20,670,832)Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,356,541)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,424,826)PPS Sieve Double Silver: Earned 200,000,000 credits (345,534,242)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)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
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 12700
ID: 53948
Credit: 185,079,550
RAC: 158,446
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 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,063,182)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Ruby: Earned 2,000,000 credits (4,306,611)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Ruby: Earned 2,000,000 credits (2,773,744)PSP LLR Ruby: Earned 2,000,000 credits (2,632,269)SoB LLR Sapphire: Earned 20,000,000 credits (34,158,496)SR5 LLR Turquoise: Earned 5,000,000 credits (8,293,415)SGS LLR Ruby: Earned 2,000,000 credits (2,012,222)TRP LLR Ruby: Earned 2,000,000 credits (2,737,347)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Turquoise: Earned 5,000,000 credits (5,046,112)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (20,110,788)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 Turquoise: Earned 5,000,000 credits (7,090,096)GFN Emerald: Earned 50,000,000 credits (64,594,991)PSA Jade: Earned 10,000,000 credits (10,597,947)
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.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

Van ZimmermanProject donor
Volunteer moderator
Project administrator
Volunteer tester
Project scientist
Send message
Joined: 30 Aug 12
Posts: 1951
ID: 168418
Credit: 6,015,903,178
RAC: 46,198
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 Sapphire: Earned 20,000,000 credits (24,846,715)Generalized Cullen/Woodall Sieve 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,407,191,681)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: 1004
ID: 37043
Credit: 458,361,344
RAC: 79,846
321 LLR Gold: Earned 500,000 credits (511,386)Cullen LLR Gold: Earned 500,000 credits (510,818)ESP LLR Amethyst: Earned 1,000,000 credits (1,021,868)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (564,210)PPS LLR Turquoise: Earned 5,000,000 credits (5,086,073)PSP LLR Gold: Earned 500,000 credits (686,232)SoB LLR Gold: Earned 500,000 credits (914,802)SR5 LLR Amethyst: Earned 1,000,000 credits (1,000,984)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Gold: Earned 500,000 credits (754,414)Woodall LLR Gold: Earned 500,000 credits (673,276)321 Sieve Ruby: Earned 2,000,000 credits (2,006,315)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (336,941,644)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,132,385)GFN Sapphire: Earned 20,000,000 credits (24,806,170)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 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.77, 1.00, 1.01
Generated 25 Aug 2019 | 1:22:06 UTC