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

Advanced search

Message boards : Project Staging Area : Can you multi-thread PRPNet apps?

Author Message
Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118167 - Posted: 24 May 2018 | 20:24:44 UTC

Was curious if one could do multi-threading with the PRPNet apps somehow like with some of the BOINC Primegrid apps?

Profile GrebulonerProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Nov 09
Posts: 348
ID: 49572
Credit: 1,677,243,559
RAC: 1,631,382
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 4 primes in the 2019 Tour de PrimesFound 3 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,857,626)Cullen LLR Jade: Earned 10,000,000 credits (10,168,095)ESP LLR Jade: Earned 10,000,000 credits (11,401,438)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (11,458,304)PPS LLR Sapphire: Earned 20,000,000 credits (33,262,524)PSP LLR Jade: Earned 10,000,000 credits (12,641,950)SoB LLR Sapphire: Earned 20,000,000 credits (20,393,852)SR5 LLR Sapphire: Earned 20,000,000 credits (21,058,593)SGS LLR Jade: Earned 10,000,000 credits (11,718,998)TRP LLR Sapphire: Earned 20,000,000 credits (20,191,201)Woodall LLR Jade: Earned 10,000,000 credits (10,037,126)321 Sieve Emerald: Earned 50,000,000 credits (54,737,408)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,178,073)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (56,046,594)PPS Sieve Double Gold: Earned 500,000,000 credits (521,014,891)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (9,468,384)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,076,645)AP 26/27 Double Silver: Earned 200,000,000 credits (486,586,214)GFN Double Silver: Earned 200,000,000 credits (234,762,839)PSA Double Bronze: Earned 100,000,000 credits (126,200,096)
Message 118172 - Posted: 25 May 2018 | 5:55:39 UTC - in response to Message 118167.

You can! But only on 121 and 27 which use LLR (make sure you download the current cllr app for your platform from http://jpenne.free.fr/index2.html), PRS/FPS use PFGW which doesn't support multithreading.

Then, read this and maybe the couple relevant posts below it: http://www.primegrid.com/forum_thread.php?id=7348&nowrap=true#106468

One thing left out of that is that you need to reduce the number of prpclient instances based on the number of threads you're using. So for a quad-core with 4 threads, just one instance would be needed, or two tasks of two threads, use two instances.
____________
Eating more cheese on Thursdays.

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118178 - Posted: 25 May 2018 | 13:29:31 UTC - in response to Message 118172.

You can! But only on 121 and 27 which use LLR (make sure you download the current cllr app for your platform from http://jpenne.free.fr/index2.html), PRS/FPS use PFGW which doesn't support multithreading.

Then, read this and maybe the couple relevant posts below it: http://www.primegrid.com/forum_thread.php?id=7348&nowrap=true#106468

One thing left out of that is that you need to reduce the number of prpclient instances based on the number of threads you're using. So for a quad-core with 4 threads, just one instance would be needed, or two tasks of two threads, use two instances.


Terrific! 121 and 27 was what I was looking at. Will read those. Thanks so much for your help.

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118179 - Posted: 25 May 2018 | 14:30:09 UTC - in response to Message 118178.
Last modified: 25 May 2018 | 14:31:12 UTC

Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.


Very nice. Will leave this running once my SOB task finishes and see how it does.


Thanks for the help with those links.

Profile GrebulonerProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Nov 09
Posts: 348
ID: 49572
Credit: 1,677,243,559
RAC: 1,631,382
Discovered 1 mega primeFound 2 primes in the 2018 Tour de PrimesFound 4 primes in the 2019 Tour de PrimesFound 3 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,857,626)Cullen LLR Jade: Earned 10,000,000 credits (10,168,095)ESP LLR Jade: Earned 10,000,000 credits (11,401,438)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (11,458,304)PPS LLR Sapphire: Earned 20,000,000 credits (33,262,524)PSP LLR Jade: Earned 10,000,000 credits (12,641,950)SoB LLR Sapphire: Earned 20,000,000 credits (20,393,852)SR5 LLR Sapphire: Earned 20,000,000 credits (21,058,593)SGS LLR Jade: Earned 10,000,000 credits (11,718,998)TRP LLR Sapphire: Earned 20,000,000 credits (20,191,201)Woodall LLR Jade: Earned 10,000,000 credits (10,037,126)321 Sieve Emerald: Earned 50,000,000 credits (54,737,408)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,178,073)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (56,046,594)PPS Sieve Double Gold: Earned 500,000,000 credits (521,014,891)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (9,468,384)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (10,076,645)AP 26/27 Double Silver: Earned 200,000,000 credits (486,586,214)GFN Double Silver: Earned 200,000,000 credits (234,762,839)PSA Double Bronze: Earned 100,000,000 credits (126,200,096)
Message 118180 - Posted: 25 May 2018 | 14:33:17 UTC

Excellent! You're welcome :)
____________
Eating more cheese on Thursdays.

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118185 - Posted: 25 May 2018 | 17:38:39 UTC - in response to Message 118180.

Update #1:

After running several tests for a while using -t there is no difference in cpu utilization. Running cllr64 with the -h parameter shows there is no -t parameter available when it lists them. Hmm



ideas?

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13393
ID: 53948
Credit: 228,641,895
RAC: 190,041
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 (15,337,490)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,330)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)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,118,303)GFN Emerald: Earned 50,000,000 credits (74,443,213)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 118187 - Posted: 25 May 2018 | 18:22:28 UTC - in response to Message 118185.
Last modified: 25 May 2018 | 18:25:19 UTC

Update #1:

After running several tests for a while using -t there is no difference in cpu utilization. Running cllr64 with the -h parameter shows there is no -t parameter available when it lists them. Hmm



ideas?


Make sure you're using the latest version of LLR. It should be v3.8.21.

EDIT 1: Use "cllr64 -V" to see the version number.

EDIT 2: The -h help doesn't show -t. :)
____________
My lucky number is 75898524288+1

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118191 - Posted: 26 May 2018 | 0:08:32 UTC - in response to Message 118187.

Update #1:

After running several tests for a while using -t there is no difference in cpu utilization. Running cllr64 with the -h parameter shows there is no -t parameter available when it lists them. Hmm



ideas?


Make sure you're using the latest version of LLR. It should be v3.8.21.

EDIT 1: Use "cllr64 -V" to see the version number.

EDIT 2: The -h help doesn't show -t. :)



yep it says v3.8.21


it doesn't come up with any errors with that batch file and the -t but it still only uses around 1 cpu core even with -t4 and -t8. Maybe I have an extra space or no space or something. Will fiddle with it now.

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118192 - Posted: 26 May 2018 | 0:19:19 UTC - in response to Message 118191.

I edited the batch file to try a "-t2" and a "-t 2" without spaces and with spaces and the same thing. Tried -t8 and -t 8. Still only works on 1 core.

This is puzzling.


no error messages either.


I also tried adding -d to the command line in the batch file and it doesn't output any other info to the screen.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13393
ID: 53948
Credit: 228,641,895
RAC: 190,041
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 (15,337,490)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,330)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)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,118,303)GFN Emerald: Earned 50,000,000 credits (74,443,213)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 118195 - Posted: 26 May 2018 | 1:19:56 UTC - in response to Message 118192.

I edited the batch file to try a "-t2" and a "-t 2" without spaces and with spaces and the same thing. Tried -t8 and -t 8. Still only works on 1 core.


If you're running *OUR* BOINC tasks, you need to use a space in the app_config file. That's what is required by our wrapper.

However, if you're giving the parameter directly to the LLR program, as you are with your batch file for PRPNet, you must *NOT* use a space.

So, for BOINC, you use "-t 4".

For PRPNet, you use "-t4".

(Leave out the double quotes, of course.)
____________
My lucky number is 75898524288+1

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118196 - Posted: 26 May 2018 | 1:40:55 UTC - in response to Message 118195.

I edited the batch file to try a "-t2" and a "-t 2" without spaces and with spaces and the same thing. Tried -t8 and -t 8. Still only works on 1 core.


If you're running *OUR* BOINC tasks, you need to use a space in the app_config file. That's what is required by our wrapper.

However, if you're giving the parameter directly to the LLR program, as you are with your batch file for PRPNet, you must *NOT* use a space.

So, for BOINC, you use "-t 4".

For PRPNet, you use "-t4".

(Leave out the double quotes, of course.)


Yep that's what I figured originally. I'm an old DOS guy so batch files and command line stuff is fairly easy for me.


I've got that still in the batch files with -t(x) no spaces. Still a no go for it using more threads. I am doing the 27 project through port 12006... I'm assuming that is LLR from what I've researched and been told.

For now I have 4 instances of prpclient running seperately and still only utilizing half my CPU's. So I started another SoB in the meantime. the 27 tests are not terribly long, maybe about a day each with 1 thread/1 core. Would still love to tear through em faster if possible as is a big help with the SoB tasks.

288larssonProject donor
Volunteer tester
Avatar
Send message
Joined: 17 Apr 10
Posts: 129
ID: 58815
Credit: 3,750,072,626
RAC: 1,198,815
Discovered 32 mega primesEliminated 1 conjecture "k"Found 3 primes in the 2018 Tour de PrimesFound 2 mega primes in the 2018 Tour de Primes2019 Tour de Primes highest prime scoreFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 3 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de Primes321 LLR Emerald: Earned 50,000,000 credits (60,169,666)Cullen LLR Jade: Earned 10,000,000 credits (12,048,927)ESP LLR Emerald: Earned 50,000,000 credits (50,462,437)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (51,436,736)PPS LLR Double Gold: Earned 500,000,000 credits (537,275,517)PSP LLR Emerald: Earned 50,000,000 credits (55,832,054)SoB LLR Emerald: Earned 50,000,000 credits (60,104,996)SR5 LLR Sapphire: Earned 20,000,000 credits (36,959,361)SGS LLR Jade: Earned 10,000,000 credits (18,507,788)TRP LLR Emerald: Earned 50,000,000 credits (60,430,522)Woodall LLR Jade: Earned 10,000,000 credits (13,898,840)321 Sieve Turquoise: Earned 5,000,000 credits (5,015,934)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,081,963)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (13,723,448)PPS Sieve Double Amethyst: Earned 1,000,000,000 credits (1,127,295,825)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (14,372,149)TRP Sieve (suspended) Jade: Earned 10,000,000 credits (11,393,528)AP 26/27 Sapphire: Earned 20,000,000 credits (32,865,322)GFN Double Amethyst: Earned 1,000,000,000 credits (1,356,057,937)PSA Double Silver: Earned 200,000,000 credits (226,139,676)
Message 118198 - Posted: 26 May 2018 | 4:12:59 UTC - in response to Message 118179.

Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.


Very nice. Will leave this running once my SOB task finishes and see how it does.


Thanks for the help with those links.

Hi The bold text should be the same

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 118207 - Posted: 26 May 2018 | 11:59:06 UTC - in response to Message 118198.
Last modified: 26 May 2018 | 12:02:46 UTC

Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.


Very nice. Will leave this running once my SOB task finishes and see how it does.


Thanks for the help with those links.

Hi The bold text should be the same



Ah yes, they are the same, that's a typo. Both read cllr64.bat. Good eyes!


Update to the above message post since i can't edit it:

-=-=-=-
Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr64.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.
-=-=-=-

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 121216 - Posted: 19 Oct 2018 | 3:56:48 UTC - in response to Message 118207.

Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.


Very nice. Will leave this running once my SOB task finishes and see how it does.


Thanks for the help with those links.

Hi The bold text should be the same



Ah yes, they are the same, that's a typo. Both read cllr64.bat. Good eyes!


Update to the above message post since i can't edit it:

-=-=-=-
Ok here is what I did:

1. I downloaded the updated console llr windows app from here - http://jpenne.free.fr/index2.html as you suggested. The app that I downloaded b4 was ancient apparently. So was a needed updated.

2. Created a batch file in my prpclient-1 directory for the 1 instance I will be running. the batch file is called cllr64.bat and only has one line: "@cllr64.exe -t2 %*" no quotes.

3. Edited the prpclient.ini file with the line for the llr.exe app. It now reads - "llrexe.exe=cllr64.bat" (again no quotes).


So now when I run the prpclient.exe (or the single start batch file), it uses that cllr64 batch file to start the cllr main app with the number of threads I'd like to use. -t2 for 2, -t4 for 4, -t8 for 8, etc. just change the batch file for the number of threads.
-=-=-=-



I believe I tried that as I listed above WITHOUT success. It never seemed to really show any speed improvement. I think I may give it a try again.

Nortech, you have prpclient running MT llr?

Profile PenguinProject donor
Avatar
Send message
Joined: 14 Sep 12
Posts: 595
ID: 172547
Credit: 1,520,531,644
RAC: 1,962,127
Discovered 4 mega primesEliminated 1 conjecture "k"Discovered 1 AP26Found 1 prime in the 2019 Tour de PrimesFound 15 primes in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (11,983,704)Cullen LLR Turquoise: Earned 5,000,000 credits (5,894,611)ESP LLR Jade: Earned 10,000,000 credits (10,390,853)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,894,366)PPS LLR Sapphire: Earned 20,000,000 credits (31,631,822)PSP LLR Jade: Earned 10,000,000 credits (13,670,675)SoB LLR Ruby: Earned 2,000,000 credits (2,517,544)SR5 LLR Jade: Earned 10,000,000 credits (12,866,436)SGS LLR Jade: Earned 10,000,000 credits (11,138,634)TRP LLR Jade: Earned 10,000,000 credits (16,438,861)Woodall LLR Turquoise: Earned 5,000,000 credits (5,152,091)321 Sieve Sapphire: Earned 20,000,000 credits (23,906,272)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,833)PPS Sieve Double Silver: Earned 200,000,000 credits (268,594,538)TRP Sieve (suspended) Silver: Earned 100,000 credits (110,630)AP 26/27 Emerald: Earned 50,000,000 credits (90,668,318)GFN Double Silver: Earned 200,000,000 credits (341,964,134)PSA Double Gold: Earned 500,000,000 credits (666,025,256)
Message 121217 - Posted: 19 Oct 2018 | 4:01:26 UTC - in response to Message 121216.
Last modified: 19 Oct 2018 | 4:03:27 UTC

Bam, success! 2 threads!

Total percent of servers does not equal 100. Normalizing
[2018-10-19 00:00:22 EDT] PRPNet Client application v5.4.0 started
[2018-10-19 00:00:22 EDT] User name Penguin at email address is
Resuming Proth prime test of 27*2^7051160+1 at bit 32682 [0.46%]
Using all-complex AVX FFT length 480K, Pass1=384, Pass2=1280, 2 threads, a = 5

created a bat file called MT-llr.bat with this sole line: @cllr64.exe -t2 %* and edited prpclient.ini to use the bat for llrexe.

nice!

Profile dannyridel
Volunteer tester
Avatar
Send message
Joined: 3 Feb 19
Posts: 730
ID: 1097922
Credit: 2,593,687
RAC: 8,710
321 LLR Bronze: Earned 10,000 credits (78,095)Cullen LLR Bronze: Earned 10,000 credits (36,962)ESP LLR Bronze: Earned 10,000 credits (36,309)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (22,373)PPS LLR Silver: Earned 100,000 credits (175,864)PSP LLR Bronze: Earned 10,000 credits (65,677)SoB LLR Bronze: Earned 10,000 credits (66,029)SR5 LLR Bronze: Earned 10,000 credits (53,645)SGS LLR Bronze: Earned 10,000 credits (22,711)TRP LLR Bronze: Earned 10,000 credits (67,784)Woodall LLR Bronze: Earned 10,000 credits (19,031)321 Sieve Gold: Earned 500,000 credits (506,814)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Gold: Earned 500,000 credits (714,652)AP 26/27 Bronze: Earned 10,000 credits (80,860)GFN Silver: Earned 100,000 credits (243,814)PSA Silver: Earned 100,000 credits (373,034)
Message 129428 - Posted: 13 May 2019 | 13:21:45 UTC - in response to Message 118167.

Was curious if one could do multi-threading with the PRPNet apps somehow like with some of the BOINC Primegrid apps?

how to do it with BOINC?
____________
SHSID Electronics Group
SHSIDElectronicsGroup@outlook.com

GFN-14: 50103906^16384+1
Proth "SoB": 44243*2^440969+1


Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13393
ID: 53948
Credit: 228,641,895
RAC: 190,041
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 (15,337,490)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,330)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)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,118,303)GFN Emerald: Earned 50,000,000 credits (74,443,213)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 129432 - Posted: 13 May 2019 | 15:38:50 UTC - in response to Message 129428.

Was curious if one could do multi-threading with the PRPNet apps somehow like with some of the BOINC Primegrid apps?

how to do it with BOINC?


And this is the wrong place to ask BOINC questions, as this is literally the "not BOINC" Forum. Please try to keep your posts on topic and not hijack threads into an unrelated conversation. Thank you!

You'll find numerous discussions about how to set up multi-threading on BOINC, especially in the number crunching forum. Try searching the forums for "app_config".
____________
My lucky number is 75898524288+1

Message boards : Project Staging Area : Can you multi-thread PRPNet apps?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.62, 0.62, 0.74
Generated 25 Oct 2020 | 8:58:38 UTC