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: 298,721,014
RAC: 1,878
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,426,643)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 Silver: Earned 100,000 credits (127,667)TRP LLR Silver: Earned 100,000 credits (146,113)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve 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,873,290)GFN Jade: Earned 10,000,000 credits (19,960,303)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: 5,646
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 (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 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: 10
ID: 37923
Credit: 298,721,014
RAC: 1,878
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,426,643)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 Silver: Earned 100,000 credits (127,667)TRP LLR Silver: Earned 100,000 credits (146,113)Woodall LLR Silver: Earned 100,000 credits (110,181)321 Sieve 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,873,290)GFN Jade: Earned 10,000,000 credits (19,960,303)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: 208
ID: 119185
Credit: 2,408,866,381
RAC: 675,421
321 LLR Jade: Earned 10,000,000 credits (12,924,181)Cullen LLR Turquoise: Earned 5,000,000 credits (5,039,267)ESP LLR Turquoise: Earned 5,000,000 credits (5,398,406)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,462,024)PPS LLR Ruby: Earned 2,000,000 credits (3,440,812)PSP LLR Turquoise: Earned 5,000,000 credits (6,084,153)SoB LLR Jade: Earned 10,000,000 credits (19,124,988)SR5 LLR Ruby: Earned 2,000,000 credits (3,147,812)SGS LLR Ruby: Earned 2,000,000 credits (2,921,526)TRP LLR Turquoise: Earned 5,000,000 credits (6,074,082)Woodall LLR Turquoise: Earned 5,000,000 credits (5,099,498)321 Sieve Ruby: Earned 2,000,000 credits (2,554,808)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 Bronze: Earned 100,000,000 credits (133,960,400)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 Emerald: Earned 50,000,000 credits (92,406,808)GFN Double Silver: Earned 200,000,000 credits (221,534,582)PSA Double Amethyst: Earned 1,000,000,000 credits (1,860,788,989)
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: 1321
ID: 107047
Credit: 357,084,984
RAC: 4,236
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 (22,944,219)SR5 LLR Ruby: Earned 2,000,000 credits (3,467,485)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,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,565,496)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
Avatar
Send message
Joined: 21 Jan 10
Posts: 13255
ID: 53948
Credit: 222,989,182
RAC: 61,213
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 PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (12,874,492)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,011)TRP LLR Ruby: Earned 2,000,000 credits (3,958,603)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve 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,114,260)GFN Emerald: Earned 50,000,000 credits (72,383,585)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: 1321
ID: 107047
Credit: 357,084,984
RAC: 4,236
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 (22,944,219)SR5 LLR Ruby: Earned 2,000,000 credits (3,467,485)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,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,565,496)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: 638,082,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 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)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: 13255
ID: 53948
Credit: 222,989,182
RAC: 61,213
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 PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (12,874,492)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,011)TRP LLR Ruby: Earned 2,000,000 credits (3,958,603)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve 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,114,260)GFN Emerald: Earned 50,000,000 credits (72,383,585)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: 5,646
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 (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: 1115
ID: 37043
Credit: 473,614,420
RAC: 76,878
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,038,739)Cullen LLR Amethyst: Earned 1,000,000 credits (1,279,196)ESP LLR Ruby: Earned 2,000,000 credits (2,013,823)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,951,332)PPS LLR Turquoise: Earned 5,000,000 credits (5,149,318)PSP LLR Amethyst: Earned 1,000,000 credits (1,325,581)SoB LLR Amethyst: Earned 1,000,000 credits (1,043,824)SR5 LLR Ruby: Earned 2,000,000 credits (2,053,250)SGS LLR Turquoise: Earned 5,000,000 credits (5,095,282)TRP LLR Ruby: Earned 2,000,000 credits (2,014,247)Woodall LLR Amethyst: Earned 1,000,000 credits (1,088,488)321 Sieve Ruby: Earned 2,000,000 credits (3,435,276)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 (339,149,649)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,140,471)GFN Sapphire: Earned 20,000,000 credits (28,181,406)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 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.15, 1.47, 1.58
Generated 5 Aug 2020 | 0:33:31 UTC