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 : Definitive Settings for Multithreading + GPU

Author Message
Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114323 - Posted: 4 Feb 2018 | 21:56:46 UTC
Last modified: 4 Feb 2018 | 22:12:30 UTC

I have the OPTIMAL SETUP to
run 1 multithreaded PPSE task and 1 GFN16 task concurrently,
and you can too!

Now you can be competitive in Tour de Primes task races.
*** No extra initial downloaded tasks.
*** No prefetching.
*** Immediate reporting.


No bots. No scripts. No hocus-pocus or manual intervention.

Just 4 easy steps to set up.

Step 1
Set your PrimeGrid preferences for RESOURCE SHARE to 0%
in your PrimeGrid account online. Be sure to do that for the relevant location
preference(s) used by your computer(s). Your BOINC client will update preferences
from PrimeGrid automatically when it fetches more work.

Step 2
Set your BOINC client computing preferences to use 1 CPU.
This is the number of CPU tasks to run concurrently.
Change this if you want to run more CPU tasks at the same time.

On the same screen,
Store at least 0 days of work
Store up to an additional 0 days of work

Example: i7-5820K has 6 cores, 12 threads (HT on). So BOINC computing preferences: 1/12 = 8.333% of the CPUs

Step 3
Put this app_config.xml file in the BOINC client's
project subdirectory. Be sure to adjust the "-t 6" for the number of threads
you want your PPSE tasks to use.
In Linux, depending on your distro, the usual directory is
/var/lib/boinc/projects/www.primegrid.com/
or /var/lib/boinc-client/projects/www.primegrid.com/
For Linux ensure that boinc is the owner and group of the app_config.xml file.
<app_config> <app> <name>llrPPSE</name> <max_concurrent>1</max_concurrent> </app> <app_version> <app_name>llrPPSE</app_name> <cmdline>-t 6</cmdline> <avg_ncpus>1</avg_ncpus> </app_version> <app> <name>genefer16</name> <max_concurrent>1</max_concurrent> </app> <app_version> <app_name>genefer16</app_name> <plan_class>OCLcudaGFN16</plan_class> <avg_ncpus>0</avg_ncpus> <ngpus>1</ngpus> </app_version> </app_config>

Step 4
Cause your BOINC client to use the new app_config.xml file.
For those that don't know how, reboot your computer.

NOTES

The best number of threads for a given workload is not obvious.
You must test your workloads with different settings to find it.
-t 6 in the PPSE <cmdline> setting above uses all 6 cores on the example machine.
If you want to use a different number of cores/threads, change this number.
For example, see the runtimes below.

Always use 0 for average CPUs requested for GPU tasks.
If you want to dedicate a core to feeding the GPU, change the number of threads
in the PPSE setting. Don't fiddle with the CPUs number for genefer16.

Sample runtimes with i7-5820K CPU and NVidia GTX 760
PPSE alone 4 threads PPSE: 5 min 39 sec PPSE alone 5 threads PPSE: 5 min 0 sec PPSE alone 6 threads PPSE: 4 min 54 sec PPSE + GFN16 4 threads PPSE: 5 min 43 sec GFN16: 5 min 26 sec PPSE + GFN16 5 threads PPSE: 5 min 4 sec GFN16: 5 min 28 sec PPSE + GFN16 6 threads PPSE: 5 min 28 sec GFN16: 5 min 25 sec GFN16 alone GFN16: 5 min 28 sec


As you can see, the GPU task didn't care how many real cores it had available.
But using the GPU affected the number of cores/threads that are best for the CPU task.

In steady state, runtime can be slightly shorter than what you see for the
first units downloaded together, because there is a short time (a few seconds)
in steady state when a task runs by itself while the other task is reporting
and downloading.

Usucapio LibertatisProject donor
Avatar
Send message
Joined: 21 Apr 10
Posts: 729
ID: 59072
Credit: 543,538,513
RAC: 28,459
Discovered 1 mega prime2012 Tour de Primes highest prime scoreFound 2 primes in the 2018 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (14,116,665)Cullen LLR Ruby: Earned 2,000,000 credits (2,622,415)ESP LLR Ruby: Earned 2,000,000 credits (3,461,313)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,521,709)PPS LLR Jade: Earned 10,000,000 credits (10,419,603)PSP LLR Ruby: Earned 2,000,000 credits (2,414,623)SoB LLR Ruby: Earned 2,000,000 credits (3,923,258)SR5 LLR Ruby: Earned 2,000,000 credits (2,285,621)SGS LLR Ruby: Earned 2,000,000 credits (2,349,916)TRP LLR Ruby: Earned 2,000,000 credits (2,527,307)Woodall LLR Amethyst: Earned 1,000,000 credits (1,295,630)321 Sieve Amethyst: Earned 1,000,000 credits (1,664,568)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,449,019)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,388,253)PPS Sieve Double Silver: Earned 200,000,000 credits (337,847,415)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,072,601)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,441,257)AP 26/27 Sapphire: Earned 20,000,000 credits (21,225,750)GFN Sapphire: Earned 20,000,000 credits (44,558,972)PSA Emerald: Earned 50,000,000 credits (79,952,619)
Message 114324 - Posted: 4 Feb 2018 | 22:07:50 UTC - in response to Message 114323.
Last modified: 4 Feb 2018 | 22:12:05 UTC

Be aware that this wont work as intended if you are running GFN 16 on ATI (AMD graphic cards).

Also, using multi-threads to run PPSE is a waste of computing power (in my humble opinion) on most multi-core cpus.

Although run times will decrease, the overall output will be way lower than it would be if you were running a single task per core (with HT off, if you have a HT capable cpu).

I did a few tests (but your mileage may vary) and found that running -t2 with HT on is slower than having HT off without multi-threading PPSE (or setting your preferences to use only 50% of the cores if you have an HT capable cpu and don't know how or are unable to turn it off).

Edit: As far as I can tell, the "-t x" setting uses the thread count (not the physical core number), so on your i7, either turn HF off or change the -t to 12 if you want to use all your cpu speed. With -t6, it will use only half of the cpu capabilities.
____________
676754^262144+1 is prime

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 13051
ID: 53948
Credit: 203,325,597
RAC: 95,456
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,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 Turquoise: Earned 5,000,000 credits (9,234,121)PSP LLR Turquoise: Earned 5,000,000 credits (5,098,748)SoB LLR Sapphire: Earned 20,000,000 credits (34,221,148)SR5 LLR Turquoise: Earned 5,000,000 credits (8,293,415)SGS LLR Ruby: Earned 2,000,000 credits (2,014,138)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,657,217)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 (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 Jade: Earned 10,000,000 credits (10,114,260)GFN Emerald: Earned 50,000,000 credits (66,947,840)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 114325 - Posted: 4 Feb 2018 | 22:08:42 UTC

<fraction_done_exact> is not needed for PrimeGrid apps. It's forced on for all of our apps at the server. Using it won't hurt anything, but it also doesn't do anything.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114326 - Posted: 4 Feb 2018 | 22:12:57 UTC - in response to Message 114325.

OK I removed <fraction_done_exact> from the first post.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114327 - Posted: 4 Feb 2018 | 22:17:17 UTC - in response to Message 114324.
Last modified: 4 Feb 2018 | 23:15:27 UTC


As far as I can tell, the "-t x" setting uses the thread count (not the physical core number), so on your i7, either turn HF off or change the -t to 12 if you want to use all your cpu speed. With -t6, it will use only half of the cpu capabilities.


Yes it is thread count. It is a 6 core machine. Using more than 5 cores on one PPSE task is counterproductive if the point is to run those tasks as fast as possible. I may see what I can do with the other core now that it is available.

EDIT: The NVidia driver on Linux machines wastes a thread in a busy wait. If it has an entire core to itself, the driver wastes the whole core. If it must compete for CPU resource with other threads, much less is wasted, with no loss in performance of the GPU task.

EDIT EDIT: Also I note that you run PPSE with -t 2 or -t 4 on your 36-core system, so maybe that is the setting which gives you the best throughput. Or maybe just experimenting.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114328 - Posted: 4 Feb 2018 | 23:43:51 UTC - in response to Message 114324.
Last modified: 4 Feb 2018 | 23:45:57 UTC

Also, using multi-threads to run PPSE is a waste of computing power (in my humble opinion) on most multi-core cpus.

Although run times will decrease, the overall output will be way lower than it would be if you were running a single task per core (with HT off, if you have a HT capable cpu).

Your comments are not falling on deaf ears. I don't need to win every race, few as they may be. To maximize my chances of getting a 2018 TdP prime finder's badge, which is the reason many of us are running PPSE anyway (because it has the highest density of primes of the current PG subprojects), I need to look at the distribution of runtimes of my wingmen. There will be a throughput which maximizes my chance of winning the most races per hour.

It's like the old adage, you don't have to run faster than the lion, you just have to run faster than the guy next to you.

Usucapio LibertatisProject donor
Avatar
Send message
Joined: 21 Apr 10
Posts: 729
ID: 59072
Credit: 543,538,513
RAC: 28,459
Discovered 1 mega prime2012 Tour de Primes highest prime scoreFound 2 primes in the 2018 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (14,116,665)Cullen LLR Ruby: Earned 2,000,000 credits (2,622,415)ESP LLR Ruby: Earned 2,000,000 credits (3,461,313)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,521,709)PPS LLR Jade: Earned 10,000,000 credits (10,419,603)PSP LLR Ruby: Earned 2,000,000 credits (2,414,623)SoB LLR Ruby: Earned 2,000,000 credits (3,923,258)SR5 LLR Ruby: Earned 2,000,000 credits (2,285,621)SGS LLR Ruby: Earned 2,000,000 credits (2,349,916)TRP LLR Ruby: Earned 2,000,000 credits (2,527,307)Woodall LLR Amethyst: Earned 1,000,000 credits (1,295,630)321 Sieve Amethyst: Earned 1,000,000 credits (1,664,568)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,449,019)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,388,253)PPS Sieve Double Silver: Earned 200,000,000 credits (337,847,415)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,072,601)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,441,257)AP 26/27 Sapphire: Earned 20,000,000 credits (21,225,750)GFN Sapphire: Earned 20,000,000 credits (44,558,972)PSA Emerald: Earned 50,000,000 credits (79,952,619)
Message 114329 - Posted: 5 Feb 2018 | 0:07:15 UTC - in response to Message 114328.
Last modified: 5 Feb 2018 | 0:07:36 UTC



It's like the old adage, you don't have to run faster than the lion, you just have to run faster than the guy next to you.


I see your point. However, I think your chances of finding a prime increase with the number of tasks you complete. As Michael said in another thread, finding a prime is harder than beating the guy next to you. Anyway, I hope you get your badge.
____________
676754^262144+1 is prime

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114332 - Posted: 5 Feb 2018 | 1:33:10 UTC - in response to Message 114329.



It's like the old adage, you don't have to run faster than the lion, you just have to run faster than the guy next to you.


I see your point. However, I think your chances of finding a prime increase with the number of tasks you complete. As Michael said in another thread, finding a prime is harder than beating the guy next to you. Anyway, I hope you get your badge.

I agree with Composite. Being first doesn't matter if you don't find a prime, but finding a prime doesn't matter if you're not first. There has to be a balance.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114334 - Posted: 5 Feb 2018 | 3:40:01 UTC - in response to Message 114332.

It's like the old adage, you don't have to run faster than the lion, you just have to run faster than the guy next to you.

I see your point. However, I think your chances of finding a prime increase with the number of tasks you complete. As Michael said in another thread, finding a prime is harder than beating the guy next to you. Anyway, I hope you get your badge.

I agree with Composite. Being first doesn't matter if you don't find a prime, but finding a prime doesn't matter if you're not first. There has to be a balance.

Well put, Ken_g++++++.

And Usucapio Libertatis, having a higher chance of finding a prime with a higher testing rate comes with a price. It's rather like playing with a large table full of bingo cards in a game with a first-caller-takes-the-pot rule. There is more chance of having a winning card, but it may take so long to get to it that someone else has already yelled BINGO!

And I will plug SoB DC here. It might be worthwhile to put lower-tier speed machines onto SoB double check, because it is virtually guaranteed that the machine will be the first checker. And if you find a prime during TdP, it's a big one!

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2803
ID: 50683
Credit: 52,738,925
RAC: 3,290
Eliminated 1 conjecture "k"Found 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Silver: Earned 100,000 credits (229,492)Cullen LLR Silver: Earned 100,000 credits (110,733)PPS LLR Ruby: Earned 2,000,000 credits (3,073,989)PSP LLR Silver: Earned 100,000 credits (104,385)SoB LLR Silver: Earned 100,000 credits (106,117)SR5 LLR Silver: Earned 100,000 credits (139,802)SGS LLR Amethyst: Earned 1,000,000 credits (1,073,792)TRP LLR Silver: Earned 100,000 credits (122,712)Woodall LLR Silver: Earned 100,000 credits (122,944)321 Sieve Silver: Earned 100,000 credits (104,900)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,000,599)Generalized Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (515,556)PPS Sieve Jade: Earned 10,000,000 credits (11,363,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (255,612)AP 26/27 Ruby: Earned 2,000,000 credits (2,579,917)GFN Sapphire: Earned 20,000,000 credits (23,312,456)PSA Turquoise: Earned 5,000,000 credits (7,522,050)
Message 114338 - Posted: 5 Feb 2018 | 9:05:25 UTC - in response to Message 114334.
Last modified: 5 Feb 2018 | 9:23:10 UTC



And Usucapio Libertatis, having a higher chance of finding a prime with a higher testing rate comes with a price.


In all calculation here: you all forget one obvious thing : you dont process task alone.
So number of candidates you tested is important , but it is not first thing to do. It is for nothing if you process 2x number of candidates are you are always slowest. You will not , you will never get anything.
We, all, ( ok 90% ) of us here working this to get badge. And you have only one condition to get badge: to be first.


<app_config>

in you script is missing < at start!

____________
314187728^131072+1 GENERALIZED FERMAT :)
93*10^1029523-1 REPDIGIT PRIME
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie!

Profile Luigi R.Project donor
Avatar
Send message
Joined: 11 Feb 14
Posts: 131
ID: 297455
Credit: 22,655,122
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,313)Cullen LLR Silver: Earned 100,000 credits (113,279)ESP LLR Silver: Earned 100,000 credits (113,580)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (122,166)PPS LLR Ruby: Earned 2,000,000 credits (2,571,270)PSP LLR Silver: Earned 100,000 credits (172,629)SoB LLR Amethyst: Earned 1,000,000 credits (1,343,981)SR5 LLR Silver: Earned 100,000 credits (111,889)SGS LLR Silver: Earned 100,000 credits (133,431)TRP LLR Silver: Earned 100,000 credits (103,246)Woodall LLR Silver: Earned 100,000 credits (100,235)321 Sieve Silver: Earned 100,000 credits (100,021)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (115,766)PPS Sieve Jade: Earned 10,000,000 credits (12,064,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (108,608)AP 26/27 Amethyst: Earned 1,000,000 credits (1,087,567)GFN Ruby: Earned 2,000,000 credits (3,526,317)PSA Gold: Earned 500,000 credits (661,014)
Message 114341 - Posted: 5 Feb 2018 | 10:50:03 UTC
Last modified: 5 Feb 2018 | 10:54:41 UTC

Running multithreaded is ok if your chanches to be discoverer increase.
Being 80% first and running 500 tests every day is still better than being 100% first and running 350 tests.

(win_rate*n_test) gives your better strategy.

And...

What if all the fast hosts turn to multithreading? You will be slower again. Hehe!
And PG would be wasting computational power. :(

Sorry for OT.

mackerelProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Oct 08
Posts: 2252
ID: 29980
Credit: 356,122,208
RAC: 593,692
Discovered 2 mega primesEliminated 1 conjecture "k"Found 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 5 primes in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,774,878)Cullen LLR Turquoise: Earned 5,000,000 credits (5,149,818)ESP LLR Turquoise: Earned 5,000,000 credits (6,454,573)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,122,074)PPS LLR Emerald: Earned 50,000,000 credits (58,497,577)PSP LLR Jade: Earned 10,000,000 credits (15,030,570)SoB LLR Jade: Earned 10,000,000 credits (17,319,914)SR5 LLR Jade: Earned 10,000,000 credits (18,479,395)SGS LLR Turquoise: Earned 5,000,000 credits (6,702,766)TPS LLR (retired) Bronze: Earned 10,000 credits (34,130)TRP LLR Jade: Earned 10,000,000 credits (15,154,737)Woodall LLR Turquoise: Earned 5,000,000 credits (5,715,464)321 Sieve Turquoise: Earned 5,000,000 credits (8,483,125)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,383,853)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,626,419)PPS Sieve Emerald: Earned 50,000,000 credits (74,140,875)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,293,882)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,012,757)AP 26/27 Sapphire: Earned 20,000,000 credits (21,918,894)GFN Emerald: Earned 50,000,000 credits (52,886,809)PSA Ruby: Earned 2,000,000 credits (2,939,755)
Message 114347 - Posted: 5 Feb 2018 | 12:51:13 UTC - in response to Message 114341.

On one system (6700k 4.0 GHz) I did do a multi-thread relative speed test for MEGA. In short, scaling efficiency was approx. 80%, 84%, 88% relative to a single task for 4, 3, 2 threads respectively. Assuming you have 2MB/core of L3 cache, that should scale well, although 1.5MB/core CPUs will see less penalty as running 4 single units will be impacted by lack of cache, and thus more improvement going multi-threaded.

It is harder to quantify how much faster you have to be to gain a first to report advantage. It might not even be possible to work it out as it depends on what everyone else is doing which isn't constant. For MEGA, running 2x 2t instead of 4x 1t will cost you just over 10% in throughput, but you almost halve your times. 3t on a quad is an awkward one as you lose the efficiency of the 4th thread, but 4t gets you closer to a third the time for ball park 20% throughput hit. Arguably the sweet spot might be in 2x 2t in that you gain a fair reduction in unit time, with only a small impact to throughput.

It may be a lot of more serious prime seekers will use techniques like this. As long as it requires manual editing of configuration files, I think it will be in a minority, even if we have some heavy hitters amongst us.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114377 - Posted: 5 Feb 2018 | 21:19:30 UTC

Set your BOINC client computing preferences to use 1 CPU.

This doesn't work for me. Maybe it's my old BOINC client. But when I do that, it suspends the multi-core WU.

JimBProject donor
Volunteer moderator
Project administrator
Project developer
Send message
Joined: 4 Aug 11
Posts: 892
ID: 107307
Credit: 877,070,220
RAC: 1,136,881
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,671,514)Cullen LLR Turquoise: Earned 5,000,000 credits (5,031,868)ESP LLR Turquoise: Earned 5,000,000 credits (5,064,082)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,018,501)PPS LLR Ruby: Earned 2,000,000 credits (3,281,734)PSP LLR Turquoise: Earned 5,000,000 credits (5,149,642)SoB LLR Sapphire: Earned 20,000,000 credits (42,470,293)SR5 LLR Jade: Earned 10,000,000 credits (10,987,079)SGS LLR Ruby: Earned 2,000,000 credits (2,069,865)TRP LLR Ruby: Earned 2,000,000 credits (2,150,717)Woodall LLR Ruby: Earned 2,000,000 credits (3,692,288)321 Sieve Turquoise: Earned 5,000,000 credits (6,009,197)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,002,919)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (51,712,607)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,341,676)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,804)AP 26/27 Jade: Earned 10,000,000 credits (10,742,251)GFN Sapphire: Earned 20,000,000 credits (31,496,305)PSA Double Gold: Earned 500,000,000 credits (661,101,426)
Message 114378 - Posted: 5 Feb 2018 | 21:34:59 UTC - in response to Message 114377.

Set your BOINC client computing preferences to use 1 CPU.

This doesn't work for me. Maybe it's my old BOINC client. But when I do that, it suspends the multi-core WU.

I find this behavior different on Windows vs Linux. On Windows it will keep crunching and in fact I can leave CPU set to 25% and keep running 4-threaded LLR jobs. On Linux, I have to set 25% when first starting (so I only get one job) and then increase to 100% (and leave it there) so the job runs. I generally hit No New Tasks when doing so and leave that in effect for a few seconds until after the current job actually starts.

Profile Luigi R.Project donor
Avatar
Send message
Joined: 11 Feb 14
Posts: 131
ID: 297455
Credit: 22,655,122
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,313)Cullen LLR Silver: Earned 100,000 credits (113,279)ESP LLR Silver: Earned 100,000 credits (113,580)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (122,166)PPS LLR Ruby: Earned 2,000,000 credits (2,571,270)PSP LLR Silver: Earned 100,000 credits (172,629)SoB LLR Amethyst: Earned 1,000,000 credits (1,343,981)SR5 LLR Silver: Earned 100,000 credits (111,889)SGS LLR Silver: Earned 100,000 credits (133,431)TRP LLR Silver: Earned 100,000 credits (103,246)Woodall LLR Silver: Earned 100,000 credits (100,235)321 Sieve Silver: Earned 100,000 credits (100,021)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (115,766)PPS Sieve Jade: Earned 10,000,000 credits (12,064,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (108,608)AP 26/27 Amethyst: Earned 1,000,000 credits (1,087,567)GFN Ruby: Earned 2,000,000 credits (3,526,317)PSA Gold: Earned 500,000 credits (661,014)
Message 114379 - Posted: 5 Feb 2018 | 21:39:14 UTC - in response to Message 114378.

I find this behavior different on Windows vs Linux. On Windows it will keep crunching and in fact I can leave CPU set to 25% and keep running 4-threaded LLR jobs. On Linux, I have to set 25% when first starting (so I only get one job) and then increase to 100% (and leave it there) so the job runs. I generally hit No New Tasks when doing so and leave that in effect for a few seconds until after the current job actually starts.

After the job starts running, you can set 25% again. It should go on running.

v7.2.42

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114380 - Posted: 5 Feb 2018 | 21:43:31 UTC - in response to Message 114379.
Last modified: 5 Feb 2018 | 21:45:04 UTC

I find this behavior different on Windows vs Linux. On Windows it will keep crunching and in fact I can leave CPU set to 25% and keep running 4-threaded LLR jobs. On Linux, I have to set 25% when first starting (so I only get one job) and then increase to 100% (and leave it there) so the job runs. I generally hit No New Tasks when doing so and leave that in effect for a few seconds until after the current job actually starts.

After the job starts running, you can set 25% again. It should go on running.

v7.2.42

I'm on Linux. Same version. It doesn't keep running. Edit: Well, it does, then it stops. Maybe at the next checkpoint?

Profile Luigi R.Project donor
Avatar
Send message
Joined: 11 Feb 14
Posts: 131
ID: 297455
Credit: 22,655,122
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,313)Cullen LLR Silver: Earned 100,000 credits (113,279)ESP LLR Silver: Earned 100,000 credits (113,580)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (122,166)PPS LLR Ruby: Earned 2,000,000 credits (2,571,270)PSP LLR Silver: Earned 100,000 credits (172,629)SoB LLR Amethyst: Earned 1,000,000 credits (1,343,981)SR5 LLR Silver: Earned 100,000 credits (111,889)SGS LLR Silver: Earned 100,000 credits (133,431)TRP LLR Silver: Earned 100,000 credits (103,246)Woodall LLR Silver: Earned 100,000 credits (100,235)321 Sieve Silver: Earned 100,000 credits (100,021)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (115,766)PPS Sieve Jade: Earned 10,000,000 credits (12,064,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (108,608)AP 26/27 Amethyst: Earned 1,000,000 credits (1,087,567)GFN Ruby: Earned 2,000,000 credits (3,526,317)PSA Gold: Earned 500,000 credits (661,014)
Message 114383 - Posted: 5 Feb 2018 | 22:47:01 UTC - in response to Message 114380.

I'm on Linux. Same version. It doesn't keep running. Edit: Well, it does, then it stops. Maybe at the next checkpoint?

I can't answer. I thought it would have kept running. I believe I didn't try to run an entire test after setting 25%.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114387 - Posted: 6 Feb 2018 | 2:55:49 UTC - in response to Message 114380.
Last modified: 6 Feb 2018 | 3:15:41 UTC

I find this behavior different on Windows vs Linux. On Windows it will keep crunching and in fact I can leave CPU set to 25% and keep running 4-threaded LLR jobs. On Linux, I have to set 25% when first starting (so I only get one job) and then increase to 100% (and leave it there) so the job runs. I generally hit No New Tasks when doing so and leave that in effect for a few seconds until after the current job actually starts.

After the job starts running, you can set 25% again. It should go on running.

v7.2.42

I'm on Linux. Same version. It doesn't keep running. Edit: Well, it does, then it stops. Maybe at the next checkpoint?

I'm on Linux, and I don't have this problem.
Everything works as I specified in the first post on this thread (except for that "<" typo, aaargh!)

On this 6C/12T system I had the problem of 6 initial tasks downloaded with "-t 6" and 50% CPU. This was fixed by setting CPUs to 8.3% and NO CPU for the GPU task.

I had the problem of 2-minute prefetching. PG preferences RESOURCE SHARE = 0 fixed that. Well, almost.
I deleted global_prefs.xml which said that some other project controlled the preferences, and BOINC recreated the file.

I don't understand why you need to raise the CPU to 100%. I get desired behaviour.
Right now (3 PPSE CPU tasks with 2 threads each and 1 GPU task running concurrently),
by setting BOINC to 25% CPU (= 3/12) and app_config.xml
<app_config> <app> <name>llrPPSE</name> <max_concurrent>3</max_concurrent> </app> <app_version> <app_name>llrPPSE</app_name> <cmdline>-t 2</cmdline> <avg_ncpus>1</avg_ncpus> </app_version> <app> <name>genefer16</name> <max_concurrent>1</max_concurrent> </app> <app_version> <app_name>genefer16</app_name> <plan_class>OCLcudaGFN16</plan_class> <avg_ncpus>0</avg_ncpus> <ngpus>1</ngpus> </app_version> </app_config>

I reload app_config.xml by running (as root) the command
systemctl restart boinc-client.service


EDIT: The BOINC manager shows tasks using 1 CPU each. That's controlled by <avg_ncpus>. The actual CPU consumption by each task is controlled by the number of threads you say in <cmdline>.

EDIT EDIT: Oh yes, I am not running any other BOINC projects, although there are a couple there with "Won't get new tasks".

JimBProject donor
Volunteer moderator
Project administrator
Project developer
Send message
Joined: 4 Aug 11
Posts: 892
ID: 107307
Credit: 877,070,220
RAC: 1,136,881
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,671,514)Cullen LLR Turquoise: Earned 5,000,000 credits (5,031,868)ESP LLR Turquoise: Earned 5,000,000 credits (5,064,082)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,018,501)PPS LLR Ruby: Earned 2,000,000 credits (3,281,734)PSP LLR Turquoise: Earned 5,000,000 credits (5,149,642)SoB LLR Sapphire: Earned 20,000,000 credits (42,470,293)SR5 LLR Jade: Earned 10,000,000 credits (10,987,079)SGS LLR Ruby: Earned 2,000,000 credits (2,069,865)TRP LLR Ruby: Earned 2,000,000 credits (2,150,717)Woodall LLR Ruby: Earned 2,000,000 credits (3,692,288)321 Sieve Turquoise: Earned 5,000,000 credits (6,009,197)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,002,919)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,005,451)PPS Sieve Emerald: Earned 50,000,000 credits (51,712,607)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,341,676)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,070,804)AP 26/27 Jade: Earned 10,000,000 credits (10,742,251)GFN Sapphire: Earned 20,000,000 credits (31,496,305)PSA Double Gold: Earned 500,000,000 credits (661,101,426)
Message 114391 - Posted: 6 Feb 2018 | 4:21:19 UTC

Typo in the first post is fixed.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114392 - Posted: 6 Feb 2018 | 4:44:51 UTC - in response to Message 114391.

Typo in the first post is fixed.
Thanks

Now I'm confused.
Resource share doesn't make a difference now, 0 or 100%, I get the same result - no prefetching.
Possibly it had to do with blowing away the global_prefs.xml file.

Profile Luigi R.Project donor
Avatar
Send message
Joined: 11 Feb 14
Posts: 131
ID: 297455
Credit: 22,655,122
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,313)Cullen LLR Silver: Earned 100,000 credits (113,279)ESP LLR Silver: Earned 100,000 credits (113,580)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (122,166)PPS LLR Ruby: Earned 2,000,000 credits (2,571,270)PSP LLR Silver: Earned 100,000 credits (172,629)SoB LLR Amethyst: Earned 1,000,000 credits (1,343,981)SR5 LLR Silver: Earned 100,000 credits (111,889)SGS LLR Silver: Earned 100,000 credits (133,431)TRP LLR Silver: Earned 100,000 credits (103,246)Woodall LLR Silver: Earned 100,000 credits (100,235)321 Sieve Silver: Earned 100,000 credits (100,021)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (115,766)PPS Sieve Jade: Earned 10,000,000 credits (12,064,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (108,608)AP 26/27 Amethyst: Earned 1,000,000 credits (1,087,567)GFN Ruby: Earned 2,000,000 credits (3,526,317)PSA Gold: Earned 500,000 credits (661,014)
Message 114395 - Posted: 6 Feb 2018 | 8:17:37 UTC - in response to Message 114347.
Last modified: 6 Feb 2018 | 8:18:08 UTC

On one system (6700k 4.0 GHz) I did do a multi-thread relative speed test for MEGA. In short, scaling efficiency was approx. 80%, 84%, 88% relative to a single task for 4, 3, 2 threads respectively. Assuming you have 2MB/core of L3 cache, that should scale well, although 1.5MB/core CPUs will see less penalty as running 4 single units will be impacted by lack of cache, and thus more improvement going multi-threaded.

It is harder to quantify how much faster you have to be to gain a first to report advantage. It might not even be possible to work it out as it depends on what everyone else is doing which isn't constant. For MEGA, running 2x 2t instead of 4x 1t will cost you just over 10% in throughput, but you almost halve your times. 3t on a quad is an awkward one as you lose the efficiency of the 4th thread, but 4t gets you closer to a third the time for ball park 20% throughput hit. Arguably the sweet spot might be in 2x 2t in that you gain a fair reduction in unit time, with only a small impact to throughput.

It may be a lot of more serious prime seekers will use techniques like this. As long as it requires manual editing of configuration files, I think it will be in a minority, even if we have some heavy hitters amongst us.

My 4770k @3.5GHz has 2MB/core of L3 cache.
I got these times for PPSE without running GPU before the TdP.

4x 1t 378s
2x 2t 581s
1x 4t 700s

I lose 53.7% in throughput running 4x 1t and 39.8% running 2x 2t, if I'm not wrong.

mackerelProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Oct 08
Posts: 2252
ID: 29980
Credit: 356,122,208
RAC: 593,692
Discovered 2 mega primesEliminated 1 conjecture "k"Found 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 5 primes in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,774,878)Cullen LLR Turquoise: Earned 5,000,000 credits (5,149,818)ESP LLR Turquoise: Earned 5,000,000 credits (6,454,573)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,122,074)PPS LLR Emerald: Earned 50,000,000 credits (58,497,577)PSP LLR Jade: Earned 10,000,000 credits (15,030,570)SoB LLR Jade: Earned 10,000,000 credits (17,319,914)SR5 LLR Jade: Earned 10,000,000 credits (18,479,395)SGS LLR Turquoise: Earned 5,000,000 credits (6,702,766)TPS LLR (retired) Bronze: Earned 10,000 credits (34,130)TRP LLR Jade: Earned 10,000,000 credits (15,154,737)Woodall LLR Turquoise: Earned 5,000,000 credits (5,715,464)321 Sieve Turquoise: Earned 5,000,000 credits (8,483,125)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,383,853)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,626,419)PPS Sieve Emerald: Earned 50,000,000 credits (74,140,875)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,293,882)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,012,757)AP 26/27 Sapphire: Earned 20,000,000 credits (21,918,894)GFN Emerald: Earned 50,000,000 credits (52,886,809)PSA Ruby: Earned 2,000,000 credits (2,939,755)
Message 114396 - Posted: 6 Feb 2018 | 8:31:17 UTC - in response to Message 114395.

On a similar note, I just tried messing around with multi-threads on MEGA on live systems. My Skylake and Coffee Lake systems seem to scale per my testing previously. I'm now running -t2 and taking about 12% throughput hit in the process.

My Skylake-X system was a bit of a headache. It is 6 core, 4 running MEGA threads (4x1 or 2x2), two "free" for GFN16. The scaling I'm seeing is bad, more like Luigi's results. Tried HT on and off, affinity. It looks like something about the GPU units may be hindering LLR, but the Skylake-X new style L3 cache may also be a contributing factor. Boinc CPU usage by itself hovers up to 60%, with a further 4% or so typically taken by "system" but only when the GPU units are running.

recoil44Project donor
Avatar
Send message
Joined: 20 Dec 15
Posts: 167
ID: 433037
Credit: 411,347,492
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,019,377)Cullen LLR Turquoise: Earned 5,000,000 credits (5,064,170)ESP LLR Turquoise: Earned 5,000,000 credits (5,001,303)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,139)PPS LLR Turquoise: Earned 5,000,000 credits (6,021,807)PSP LLR Turquoise: Earned 5,000,000 credits (5,085,124)SoB LLR Turquoise: Earned 5,000,000 credits (5,042,051)SR5 LLR Turquoise: Earned 5,000,000 credits (5,077,248)SGS LLR Turquoise: Earned 5,000,000 credits (5,000,448)TRP LLR Turquoise: Earned 5,000,000 credits (5,003,404)Woodall LLR Turquoise: Earned 5,000,000 credits (5,035,352)321 Sieve Turquoise: Earned 5,000,000 credits (5,061,436)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,012,148)PPS Sieve Double Bronze: Earned 100,000,000 credits (108,556,313)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,089,865)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,782)AP 26/27 Emerald: Earned 50,000,000 credits (50,153,415)GFN Double Bronze: Earned 100,000,000 credits (106,065,222)PSA Emerald: Earned 50,000,000 credits (67,666,890)
Message 114403 - Posted: 6 Feb 2018 | 12:30:43 UTC - in response to Message 114395.

I got these times for PPSE without running GPU before the TdP.

4x 1t 378s
2x 2t 581s
1x 4t 700s

I lose 53.7% in throughput running 4x 1t and 39.8% running 2x 2t, if I'm not wrong.


Those times are backwards. "-1t" one thread per task (4 simultaneous tasks) will be your slowest time per task but will do the most amount of tasks per day.
"-4t" 4 threads per task (1 task at a time) will be the fastest time per task but do the least amount of tasks per day.

I also have a 4770K and I'm running -2t (ave time around 546s right now). Running this because of an 8-10C temp increase on the CPU if I run -1t. 2 at a time keeps me mostly under 80C.

Profile Luigi R.Project donor
Avatar
Send message
Joined: 11 Feb 14
Posts: 131
ID: 297455
Credit: 22,655,122
RAC: 0
321 LLR Silver: Earned 100,000 credits (105,313)Cullen LLR Silver: Earned 100,000 credits (113,279)ESP LLR Silver: Earned 100,000 credits (113,580)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (122,166)PPS LLR Ruby: Earned 2,000,000 credits (2,571,270)PSP LLR Silver: Earned 100,000 credits (172,629)SoB LLR Amethyst: Earned 1,000,000 credits (1,343,981)SR5 LLR Silver: Earned 100,000 credits (111,889)SGS LLR Silver: Earned 100,000 credits (133,431)TRP LLR Silver: Earned 100,000 credits (103,246)Woodall LLR Silver: Earned 100,000 credits (100,235)321 Sieve Silver: Earned 100,000 credits (100,021)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (115,766)PPS Sieve Jade: Earned 10,000,000 credits (12,064,809)TRP Sieve (suspended) Silver: Earned 100,000 credits (108,608)AP 26/27 Amethyst: Earned 1,000,000 credits (1,087,567)GFN Ruby: Earned 2,000,000 credits (3,526,317)PSA Gold: Earned 500,000 credits (661,014)
Message 114410 - Posted: 6 Feb 2018 | 13:03:26 UTC - in response to Message 114403.
Last modified: 6 Feb 2018 | 13:15:52 UTC

Those times are backwards.

You're right. I normally use your notation, but this morning mackerel notation looked reversed to me. So I changed my times and now it looks like a mistake.

I also have a 4770K and I'm running -2t (ave time around 546s right now). Running this because of an 8-10C temp increase on the CPU if I run -1t. 2 at a time keeps me mostly under 80C.

Are you maybe running with Turbo Boost (TB) ON? My 4770k reaches 80℃ too if TB is ON. Temps are lower (60-65℃) if TB is off.[/quote]

mackerelProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Oct 08
Posts: 2252
ID: 29980
Credit: 356,122,208
RAC: 593,692
Discovered 2 mega primesEliminated 1 conjecture "k"Found 3 primes in the 2018 Tour de PrimesFound 1 mega prime in the 2018 Tour de PrimesFound 5 primes in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (8,774,878)Cullen LLR Turquoise: Earned 5,000,000 credits (5,149,818)ESP LLR Turquoise: Earned 5,000,000 credits (6,454,573)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,122,074)PPS LLR Emerald: Earned 50,000,000 credits (58,497,577)PSP LLR Jade: Earned 10,000,000 credits (15,030,570)SoB LLR Jade: Earned 10,000,000 credits (17,319,914)SR5 LLR Jade: Earned 10,000,000 credits (18,479,395)SGS LLR Turquoise: Earned 5,000,000 credits (6,702,766)TPS LLR (retired) Bronze: Earned 10,000 credits (34,130)TRP LLR Jade: Earned 10,000,000 credits (15,154,737)Woodall LLR Turquoise: Earned 5,000,000 credits (5,715,464)321 Sieve Turquoise: Earned 5,000,000 credits (8,483,125)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,383,853)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,626,419)PPS Sieve Emerald: Earned 50,000,000 credits (74,140,875)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,293,882)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,012,757)AP 26/27 Sapphire: Earned 20,000,000 credits (21,918,894)GFN Emerald: Earned 50,000,000 credits (52,886,809)PSA Ruby: Earned 2,000,000 credits (2,939,755)
Message 114416 - Posted: 6 Feb 2018 | 13:51:40 UTC - in response to Message 114410.

Apologies if there's any confusion. I tend to write in the format p x qt where p is the number of simultaneous tasks, each of q threads via -tq setting. I might drop the t when writing if I'm lazy.

If it might help clarify, t is threads, not tasks.

recoil44Project donor
Avatar
Send message
Joined: 20 Dec 15
Posts: 167
ID: 433037
Credit: 411,347,492
RAC: 0
Discovered 1 mega primeFound 1 prime in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,019,377)Cullen LLR Turquoise: Earned 5,000,000 credits (5,064,170)ESP LLR Turquoise: Earned 5,000,000 credits (5,001,303)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,139)PPS LLR Turquoise: Earned 5,000,000 credits (6,021,807)PSP LLR Turquoise: Earned 5,000,000 credits (5,085,124)SoB LLR Turquoise: Earned 5,000,000 credits (5,042,051)SR5 LLR Turquoise: Earned 5,000,000 credits (5,077,248)SGS LLR Turquoise: Earned 5,000,000 credits (5,000,448)TRP LLR Turquoise: Earned 5,000,000 credits (5,003,404)Woodall LLR Turquoise: Earned 5,000,000 credits (5,035,352)321 Sieve Turquoise: Earned 5,000,000 credits (5,061,436)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,012,148)PPS Sieve Double Bronze: Earned 100,000,000 credits (108,556,313)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,089,865)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,297,782)AP 26/27 Emerald: Earned 50,000,000 credits (50,153,415)GFN Double Bronze: Earned 100,000,000 credits (106,065,222)PSA Emerald: Earned 50,000,000 credits (67,666,890)
Message 114417 - Posted: 6 Feb 2018 | 13:56:04 UTC - in response to Message 114410.

Are you maybe running with Turbo Boost (TB) ON? My 4770k reaches 80℃ too if TB is ON. Temps are lower (60-65℃) if TB is off.

The stock Turbo Boost will only run on one core during single threaded applications. I've got my CPU overclocked @ 4.2 for all cores. That's about the most I can do running PrimeGrid. When the warmer weather comes around I'll have to drop it down to 4.0. Running other projects I can crank it up to 4.6 but I run PG more than anything else so I don't bother switching back and forth.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114440 - Posted: 6 Feb 2018 | 17:05:05 UTC - in response to Message 114380.

I'm on Linux. Same version. It doesn't keep running. Edit: Well, it does, then it stops. Maybe at the next checkpoint?

I think that really is how it works. I also think I've fixed my system to run this way by increasing my checkpoint time to longer than a normal WU.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114452 - Posted: 6 Feb 2018 | 19:40:19 UTC - in response to Message 114440.

Nope, wrong again. Turns out the setting to change is "Switch between tasks every xx minutes". (Or maybe it's both, I'm not sure.) Anyway, on my slowest machine I had to increase this.

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114473 - Posted: 6 Feb 2018 | 21:57:27 UTC - in response to Message 114452.

Nope, wrong again. Turns out the setting to change is "Switch between tasks every xx minutes". (Or maybe it's both, I'm not sure.) Anyway, on my slowest machine I had to increase this.

I give up! That WU finished, it downloaded a new one, and left it in "Ready to start".

It must be that old BOINC version because my other computers have no problems with this setting.

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 114481 - Posted: 7 Feb 2018 | 0:48:31 UTC - in response to Message 114440.

I'm on Linux. Same version. It doesn't keep running. Edit: Well, it does, then it stops. Maybe at the next checkpoint?

I think that really is how it works. I also think I've fixed my system to run this way by increasing my checkpoint time to longer than a normal WU.

Are you sure you are modifying the correct computing preferences in BOINC client options? It's possible to confuse the two CPU preferences.
The % of CPU time should remain at 100%.

axn
Volunteer developer
Send message
Joined: 29 Dec 07
Posts: 285
ID: 16874
Credit: 28,027,106
RAC: 0
321 LLR Gold: Earned 500,000 credits (656,177)Cullen LLR Silver: Earned 100,000 credits (457,297)ESP LLR Silver: Earned 100,000 credits (437,502)PPS LLR Amethyst: Earned 1,000,000 credits (1,256,334)SoB LLR Amethyst: Earned 1,000,000 credits (1,246,109)SR5 LLR Ruby: Earned 2,000,000 credits (2,193,129)SGS LLR Silver: Earned 100,000 credits (101,658)Woodall LLR Silver: Earned 100,000 credits (292,129)Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (32,498)PPS Sieve Jade: Earned 10,000,000 credits (15,515,229)AP 26/27 Amethyst: Earned 1,000,000 credits (1,491,867)GFN Ruby: Earned 2,000,000 credits (4,245,870)PSA Silver: Earned 100,000 credits (101,309)
Message 114489 - Posted: 7 Feb 2018 | 5:58:02 UTC - in response to Message 114473.

Nope, wrong again. Turns out the setting to change is "Switch between tasks every xx minutes". (Or maybe it's both, I'm not sure.) Anyway, on my slowest machine I had to increase this.

I give up! That WU finished, it downloaded a new one, and left it in "Ready to start".

It must be that old BOINC version because my other computers have no problems with this setting.

In your app_info, you have to tell BOINC that the app uses only 1 CPU (even though you specify -t to run it multithreaded).
<avg_ncpus>1</avg_ncpus>

Ken_g6Project donor
Volunteer developer
Avatar
Send message
Joined: 4 Jul 06
Posts: 866
ID: 3110
Credit: 157,440,514
RAC: 148,258
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,912,651)Cullen LLR Amethyst: Earned 1,000,000 credits (1,125,935)ESP LLR Amethyst: Earned 1,000,000 credits (1,193,202)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (767,102)PPS LLR Jade: Earned 10,000,000 credits (12,237,069)PSP LLR Ruby: Earned 2,000,000 credits (4,060,731)SoB LLR Ruby: Earned 2,000,000 credits (3,860,053)SR5 LLR Amethyst: Earned 1,000,000 credits (1,145,068)SGS LLR Gold: Earned 500,000 credits (998,185)TPS LLR (retired) Bronze: Earned 10,000 credits (19,376)TRP LLR Amethyst: Earned 1,000,000 credits (1,834,402)Woodall LLR Amethyst: Earned 1,000,000 credits (1,156,424)321 Sieve Ruby: Earned 2,000,000 credits (2,546,090)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (8,584,236)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,461,309)PPS Sieve Emerald: Earned 50,000,000 credits (79,291,322)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (352,129)TRP Sieve (suspended) Gold: Earned 500,000 credits (776,202)AP 26/27 Turquoise: Earned 5,000,000 credits (5,851,049)GFN Sapphire: Earned 20,000,000 credits (23,113,092)PSA Ruby: Earned 2,000,000 credits (4,154,617)
Message 114507 - Posted: 7 Feb 2018 | 16:46:07 UTC - in response to Message 114489.


In your app_info, you have to tell BOINC that the app uses only 1 CPU (even though you specify -t to run it multithreaded).
<avg_ncpus>1</avg_ncpus>

That's the missing piece! (Probably.) Thanks, Axn!

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 733
ID: 55391
Credit: 576,201,488
RAC: 314,303
Discovered 2 mega primesFound 1 prime in the 2018 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (5,477,467)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,120,351)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,056,207)PPS LLR Jade: Earned 10,000,000 credits (12,244,808)PSP LLR Turquoise: Earned 5,000,000 credits (5,000,271)SoB LLR Sapphire: Earned 20,000,000 credits (20,302,727)SR5 LLR Turquoise: Earned 5,000,000 credits (5,978,312)SGS LLR Ruby: Earned 2,000,000 credits (2,940,587)TRP LLR Turquoise: Earned 5,000,000 credits (7,025,303)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve Sapphire: Earned 20,000,000 credits (20,721,759)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (243,922,810)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,300,774)GFN Emerald: Earned 50,000,000 credits (50,062,736)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 115376 - Posted: 22 Feb 2018 | 14:06:50 UTC - in response to Message 114347.
Last modified: 22 Feb 2018 | 14:40:01 UTC

mackerel wrote:
It is harder to quantify how much faster you have to be to gain a first to report advantage. It might not even be possible to work it out as it depends on what everyone else is doing which isn't constant. For MEGA... Arguably the sweet spot might be in 2x 2t in that you gain a fair reduction in unit time, with only a small impact to throughput.

It is possible, I quantified it sufficiently for start of Mountain Stage in 2018 TdP. See percentile in this PPS-MEGA competitive runtime analysis.
I constructed a script to get that data. My proposal for the PG server to provide this data was rejected summarily.

mackerel wrote:
It may be a lot of more serious prime seekers will use techniques like this. As long as it requires manual editing of configuration files, I think it will be in a minority, even if we have some heavy hitters amongst us.

My proposal for a PG web page to make this easy was shot down, with more feedback in a private message. No reason given other than it was a bad idea.

On a slightly different tack I envision a completely new BOINC project with an app for managing PG settings.
It modifies ../../projects/www.primegrid.com/app_config.xml and even ../../global_prefs_override.xml, like this script for changing app_config.xml and % CPU preference.

I see it's now possible to set up a BOINC project in about 10 minutes using docker containers. This woudn't be the first time that a time-consuming human process is made simpler by a computer.

I tried it, but I got sidetracked before I was done because my /var partition ran out of space. The default location for docker containers is /var/lib/docker. I mounted a spare partition in that spot so it's fixed now.

EDIT: this won't work because the app needs root access is needed to restart the BOINC client; unless the app kills and restarts the client (same user, kamikaze style). Now that would be a bad idea.

Message boards : Number crunching : Definitive Settings for Multithreading + GPU

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.89, 1.09, 1.15
Generated 16 Dec 2019 | 13:43:00 UTC