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 : Sophie Germain Prime Search : MT Question

Author Message
Jim WilkinsProject donor
Send message
Joined: 4 Sep 07
Posts: 177
ID: 11784
Credit: 70,418,872
RAC: 25,142
321 LLR Ruby: Earned 2,000,000 credits (2,003,677)Cullen LLR Ruby: Earned 2,000,000 credits (2,015,249)ESP LLR Ruby: Earned 2,000,000 credits (2,006,731)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,015,421)PPS LLR Ruby: Earned 2,000,000 credits (2,014,635)PSP LLR Ruby: Earned 2,000,000 credits (2,318,872)SoB LLR Ruby: Earned 2,000,000 credits (3,650,202)SR5 LLR Ruby: Earned 2,000,000 credits (2,002,072)SGS LLR Ruby: Earned 2,000,000 credits (2,012,845)TRP LLR Ruby: Earned 2,000,000 credits (2,001,649)Woodall LLR Ruby: Earned 2,000,000 credits (2,059,175)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,010,304)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,004)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,001,945)PPS Sieve Sapphire: Earned 20,000,000 credits (31,981,732)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,599)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,124,676)AP 26/27 Ruby: Earned 2,000,000 credits (2,007,865)GFN Turquoise: Earned 5,000,000 credits (5,981,177)
Message 144933 - Posted: 1 Nov 2020 | 12:56:25 UTC

Why is not recommended to run SGS with multi-tasking?
____________
Thanks,
Jim

Profile dannyridel
Volunteer tester
Avatar
Send message
Joined: 3 Feb 19
Posts: 841
ID: 1097922
Credit: 6,758,808
RAC: 35,847
321 LLR Silver: Earned 100,000 credits (100,228)Cullen LLR Silver: Earned 100,000 credits (112,212)ESP LLR Bronze: Earned 10,000 credits (48,696)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (22,645)PPS LLR Amethyst: Earned 1,000,000 credits (1,381,500)PSP LLR Silver: Earned 100,000 credits (100,559)SoB LLR Silver: Earned 100,000 credits (138,888)SR5 LLR Bronze: Earned 10,000 credits (64,280)SGS LLR Silver: Earned 100,000 credits (100,702)TRP LLR Bronze: Earned 10,000 credits (67,784)Woodall LLR Silver: Earned 100,000 credits (117,864)321 Sieve (suspended) Gold: Earned 500,000 credits (506,814)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (30,033)PPS Sieve Amethyst: Earned 1,000,000 credits (1,007,929)AP 26/27 Silver: Earned 100,000 credits (161,720)WW Silver: Earned 100,000 credits (256,000)GFN Ruby: Earned 2,000,000 credits (2,167,919)PSA Silver: Earned 100,000 credits (373,034)
Message 144934 - Posted: 1 Nov 2020 | 13:58:07 UTC - in response to Message 144933.

Why is not recommended to run SGS with multi-tasking?

SGS are very short tasks, and multithreading typically lowers real-life performance.
____________
SHSIDElectronicsGroup@outlook.com

waiting for a TdP prime...
Proth "SoB": 44243*2^440969+1


Profile JeppeSNProject donor
Avatar
Send message
Joined: 5 Apr 14
Posts: 1447
ID: 306875
Credit: 29,642,593
RAC: 28,076
Found 1 prime in the 2020 Tour de Primes321 LLR Gold: Earned 500,000 credits (529,293)Cullen LLR Gold: Earned 500,000 credits (611,298)ESP LLR Silver: Earned 100,000 credits (139,922)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (35,236)PPS LLR Jade: Earned 10,000,000 credits (11,393,298)PSP LLR Silver: Earned 100,000 credits (212,242)SoB LLR Silver: Earned 100,000 credits (237,390)SR5 LLR Silver: Earned 100,000 credits (145,419)SGS LLR Silver: Earned 100,000 credits (111,958)TRP LLR Silver: Earned 100,000 credits (342,501)Woodall LLR Silver: Earned 100,000 credits (109,455)321 Sieve (suspended) Silver: Earned 100,000 credits (175,037)PPS Sieve Bronze: Earned 10,000 credits (10,113)AP 26/27 Bronze: Earned 10,000 credits (12,129)WW Turquoise: Earned 5,000,000 credits (6,256,000)GFN Amethyst: Earned 1,000,000 credits (1,707,013)PSA Turquoise: Earned 5,000,000 credits (7,614,290)
Message 144935 - Posted: 1 Nov 2020 | 15:14:50 UTC - in response to Message 144933.

You can try and measure it. Multithreading will maybe make each task a bit faster, but also make the total number of completed tasks per day ("throughput") smaller, for that computer. If that is the case, you can decide for yourself if you want to go down in throughput while making the processing of each task (from it is received to it is returned) faster. /JeppeSN

Jim WilkinsProject donor
Send message
Joined: 4 Sep 07
Posts: 177
ID: 11784
Credit: 70,418,872
RAC: 25,142
321 LLR Ruby: Earned 2,000,000 credits (2,003,677)Cullen LLR Ruby: Earned 2,000,000 credits (2,015,249)ESP LLR Ruby: Earned 2,000,000 credits (2,006,731)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,015,421)PPS LLR Ruby: Earned 2,000,000 credits (2,014,635)PSP LLR Ruby: Earned 2,000,000 credits (2,318,872)SoB LLR Ruby: Earned 2,000,000 credits (3,650,202)SR5 LLR Ruby: Earned 2,000,000 credits (2,002,072)SGS LLR Ruby: Earned 2,000,000 credits (2,012,845)TRP LLR Ruby: Earned 2,000,000 credits (2,001,649)Woodall LLR Ruby: Earned 2,000,000 credits (2,059,175)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,010,304)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,004)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,001,945)PPS Sieve Sapphire: Earned 20,000,000 credits (31,981,732)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,599)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,124,676)AP 26/27 Ruby: Earned 2,000,000 credits (2,007,865)GFN Turquoise: Earned 5,000,000 credits (5,981,177)
Message 144936 - Posted: 1 Nov 2020 | 15:41:41 UTC - in response to Message 144935.

That's what I plan to do since empirically, for my two computers, there seems to benefit in selecting multithreading for SGS. I need to run a more controlled test which I will do.

I just wanted to make sure that there was no harm (besides timeliness) to running the task.
____________
Thanks,
Jim

Profile mikey
Avatar
Send message
Joined: 17 Mar 09
Posts: 1254
ID: 37043
Credit: 524,250,174
RAC: 163,433
Discovered 1 mega prime321 LLR Ruby: Earned 2,000,000 credits (2,038,739)Cullen LLR Ruby: Earned 2,000,000 credits (2,074,615)ESP LLR Ruby: Earned 2,000,000 credits (2,013,823)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,142,353)PPS LLR Turquoise: Earned 5,000,000 credits (7,282,383)PSP LLR Ruby: Earned 2,000,000 credits (2,194,746)SoB LLR Ruby: Earned 2,000,000 credits (2,778,827)SR5 LLR Ruby: Earned 2,000,000 credits (2,053,250)SGS LLR Turquoise: Earned 5,000,000 credits (5,147,768)TRP LLR Ruby: Earned 2,000,000 credits (2,025,737)Woodall LLR Ruby: Earned 2,000,000 credits (2,014,811)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (23,770,672)Cullen/Woodall Sieve (suspended) Gold: Earned 500,000 credits (944,431)Generalized Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,813,253)PPS Sieve Double Silver: Earned 200,000,000 credits (339,850,817)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,446,797)AP 26/27 Sapphire: Earned 20,000,000 credits (33,140,471)WW Ruby: Earned 2,000,000 credits (2,884,000)GFN Sapphire: Earned 20,000,000 credits (48,181,675)PSA Sapphire: Earned 20,000,000 credits (20,457,430)
Message 144972 - Posted: 3 Nov 2020 | 20:14:55 UTC

I just went into my preferences to enable Sophie Germain LLR cpu tasks and after saving my settings it says (disabled), is there a problem with the SGS LLR tasks and are they done being sent out?

Sophie Germain Prime Search LLR (SGS) CPU (disabled)

And of course I realized the problem...I was running a gpu project in that venue in the past and had disabled the cpu, changing that around it now works just fine.

Sophie Germain Prime Search LLR (SGS) CPU

Jim WilkinsProject donor
Send message
Joined: 4 Sep 07
Posts: 177
ID: 11784
Credit: 70,418,872
RAC: 25,142
321 LLR Ruby: Earned 2,000,000 credits (2,003,677)Cullen LLR Ruby: Earned 2,000,000 credits (2,015,249)ESP LLR Ruby: Earned 2,000,000 credits (2,006,731)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,015,421)PPS LLR Ruby: Earned 2,000,000 credits (2,014,635)PSP LLR Ruby: Earned 2,000,000 credits (2,318,872)SoB LLR Ruby: Earned 2,000,000 credits (3,650,202)SR5 LLR Ruby: Earned 2,000,000 credits (2,002,072)SGS LLR Ruby: Earned 2,000,000 credits (2,012,845)TRP LLR Ruby: Earned 2,000,000 credits (2,001,649)Woodall LLR Ruby: Earned 2,000,000 credits (2,059,175)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,010,304)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,004)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,001,945)PPS Sieve Sapphire: Earned 20,000,000 credits (31,981,732)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,599)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,124,676)AP 26/27 Ruby: Earned 2,000,000 credits (2,007,865)GFN Turquoise: Earned 5,000,000 credits (5,981,177)
Message 144973 - Posted: 3 Nov 2020 | 20:32:01 UTC - in response to Message 144936.

I ran SGS on two different iMacs both with multitasking on and off. SGS multitasking resulted in approximately running half the time than SGS multitasking turned off. Surprised me some, but I'm going with multitasking on for SGS.
____________
Thanks,
Jim

Profile BurProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Feb 20
Posts: 364
ID: 1241833
Credit: 84,660,020
RAC: 1,050,712
321 LLR Gold: Earned 500,000 credits (809,649)Cullen LLR Amethyst: Earned 1,000,000 credits (1,169,946)ESP LLR Gold: Earned 500,000 credits (636,842)Generalized Cullen/Woodall LLR Gold: Earned 500,000 credits (615,145)PPS LLR Amethyst: Earned 1,000,000 credits (1,225,852)PSP LLR Gold: Earned 500,000 credits (663,928)SoB LLR Gold: Earned 500,000 credits (818,190)SR5 LLR Amethyst: Earned 1,000,000 credits (1,060,324)SGS LLR Amethyst: Earned 1,000,000 credits (1,046,813)TRP LLR Gold: Earned 500,000 credits (561,429)Woodall LLR Gold: Earned 500,000 credits (781,741)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,107,153)PPS Sieve Amethyst: Earned 1,000,000 credits (1,045,010)AP 26/27 Ruby: Earned 2,000,000 credits (2,470,273)WW Emerald: Earned 50,000,000 credits (62,004,000)GFN Turquoise: Earned 5,000,000 credits (7,149,778)PSA Gold: Earned 500,000 credits (517,947)
Message 144986 - Posted: 4 Nov 2020 | 18:24:40 UTC
Last modified: 4 Nov 2020 | 18:25:09 UTC

Quite important, did you try assigning cores to the processes? That decreases run times by about 10-15% for single-threading.

Also, approximately half the time when running with 2 threads? That's a close call then, on the other hand, a slightly smaller throughput might be worth it due to increased 1st rate. Still, I would really test this for a few days and compare throughputs. I ran SGS a long time on an i3-2120 (2 cores) and throughput was definitely higher for single-thread.

Just out of curiosity, what does Prime95 benchmark say about it? FFT is 128k which really sounds like single-threading should be the fastest option. But of course, in the end what matters is what PG says you're computer delivered in the last 24 hours.
____________
Primes: 1281979 & 12+8+1979 & 1+2+8+1+9+7+9 & 1^2+2^2+8^2+1^2+9^2+7^2+9^2 & 12*8+19*79 & 12^8-1979 & 1281979 + 4 (cousin prime)

Jim WilkinsProject donor
Send message
Joined: 4 Sep 07
Posts: 177
ID: 11784
Credit: 70,418,872
RAC: 25,142
321 LLR Ruby: Earned 2,000,000 credits (2,003,677)Cullen LLR Ruby: Earned 2,000,000 credits (2,015,249)ESP LLR Ruby: Earned 2,000,000 credits (2,006,731)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,015,421)PPS LLR Ruby: Earned 2,000,000 credits (2,014,635)PSP LLR Ruby: Earned 2,000,000 credits (2,318,872)SoB LLR Ruby: Earned 2,000,000 credits (3,650,202)SR5 LLR Ruby: Earned 2,000,000 credits (2,002,072)SGS LLR Ruby: Earned 2,000,000 credits (2,012,845)TRP LLR Ruby: Earned 2,000,000 credits (2,001,649)Woodall LLR Ruby: Earned 2,000,000 credits (2,059,175)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,010,304)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (200,004)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,001,945)PPS Sieve Sapphire: Earned 20,000,000 credits (31,981,732)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,010,599)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,124,676)AP 26/27 Ruby: Earned 2,000,000 credits (2,007,865)GFN Turquoise: Earned 5,000,000 credits (5,981,177)
Message 145007 - Posted: 5 Nov 2020 | 22:04:06 UTC - in response to Message 144986.

I must admit, I'm not very good about computer architectures.

I have a one processor, 2-core iMac. I have this computer solely dedicated to SGS so I use 100% CPU and 100% usage for each CPU.

In my preferences, I selected "no-limit" the number of tasks I can run simultaneously and "no-limit" on max # of threads for each task. What resulted is 1 task running with 4 threads.

Frankly, I'm not sure why 4 threads are running instead of 2 threads.

Now that I look at it, it seems odd to me.

Any suggestions?


____________
Thanks,
Jim

Profile j.sheridanProject donor
Volunteer tester
Send message
Joined: 21 Mar 11
Posts: 776
ID: 91622
Credit: 1,486,151,549
RAC: 2,243,098
Discovered 2 mega primesFound 4 primes in the 2021 Tour de PrimesFound 2 mega primes in the 2021 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,011,712)Cullen LLR Turquoise: Earned 5,000,000 credits (7,840,474)ESP LLR Turquoise: Earned 5,000,000 credits (5,055,512)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (8,603,053)PPS LLR Jade: Earned 10,000,000 credits (15,319,902)PSP LLR Turquoise: Earned 5,000,000 credits (6,104,395)SoB LLR Jade: Earned 10,000,000 credits (10,245,712)SR5 LLR Jade: Earned 10,000,000 credits (10,848,830)SGS LLR Turquoise: Earned 5,000,000 credits (8,409,602)TRP LLR Jade: Earned 10,000,000 credits (10,009,531)Woodall LLR Turquoise: Earned 5,000,000 credits (7,065,558)321 Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,019,388)Cullen/Woodall Sieve (suspended) Double Silver: Earned 200,000,000 credits (265,102,350)PPS Sieve Double Gold: Earned 500,000,000 credits (547,992,812)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,801,812)AP 26/27 Emerald: Earned 50,000,000 credits (61,332,310)WW Double Bronze: Earned 100,000,000 credits (183,024,000)GFN Double Silver: Earned 200,000,000 credits (303,557,491)
Message 145016 - Posted: 6 Nov 2020 | 16:39:07 UTC - in response to Message 145007.

You have hyperthreading enabled so it looks to boinc like you have 4 CPUs not 2. You should set boinc to 50% cpu and 2 threads although 2 x single threaded tasks is likely to be faster for SGS.

Post to thread

Message boards : Sophie Germain Prime Search : MT Question

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2021 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 2.46, 2.62, 2.25
Generated 4 Mar 2021 | 21:46:50 UTC