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 : Why is there such a difference between these 2 run times?

Author Message
Frank Schwegler
Avatar
Send message
Joined: 17 Jun 11
Posts: 3
ID: 102603
Credit: 144,581,753
RAC: 51,414
Discovered 1 mega primeEliminated 1 conjecture "k"321 LLR Turquoise: Earned 5,000,000 credits (5,730,232)Cullen LLR Turquoise: Earned 5,000,000 credits (7,172,788)ESP LLR Turquoise: Earned 5,000,000 credits (6,314,137)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (7,318,845)PPS LLR Turquoise: Earned 5,000,000 credits (7,864,035)PSP LLR Turquoise: Earned 5,000,000 credits (8,158,665)SoB LLR Jade: Earned 10,000,000 credits (10,673,012)SR5 LLR Turquoise: Earned 5,000,000 credits (5,524,841)SGS LLR Turquoise: Earned 5,000,000 credits (5,296,020)TRP LLR Turquoise: Earned 5,000,000 credits (7,670,974)Woodall LLR Turquoise: Earned 5,000,000 credits (7,102,525)321 Sieve Turquoise: Earned 5,000,000 credits (5,781,710)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,250,512)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,750,686)PPS Sieve Jade: Earned 10,000,000 credits (16,397,531)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,013,557)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,068,375)AP 26/27 Jade: Earned 10,000,000 credits (10,091,328)GFN Jade: Earned 10,000,000 credits (15,413,931)
Message 52267 - Posted: 29 Mar 2012 | 23:49:33 UTC

Can someone explain why there is such a difference between these two workunits.

http://www.primegrid.com/workunit.php?wuid=263002613

and

http://www.primegrid.com/workunit.php?wuid=262760791?

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2793
ID: 50683
Credit: 52,558,486
RAC: 96
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 (2,982,840)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,343,583)TRP Sieve (suspended) Silver: Earned 100,000 credits (255,612)AP 26/27 Ruby: Earned 2,000,000 credits (2,575,874)GFN Sapphire: Earned 20,000,000 credits (23,247,434)PSA Turquoise: Earned 5,000,000 credits (7,522,050)
Message 52268 - Posted: 29 Mar 2012 | 23:59:28 UTC - in response to Message 52267.
Last modified: 29 Mar 2012 | 23:59:52 UTC

One uses HT another not
One use AVX, another not.

If some user uses AVX without HT will be significantly faster then one than doesn't use AVX, but use HT. And last thing: you cannot see clock speed of those CPUs. Maybe one is on stock speed and another heavy clocked ( let say one is at 3.2 GHz and second is at 4.2 Ghz)
that will give cca 30% faster result ( just on overclocking)
____________
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!

Frank Schwegler
Avatar
Send message
Joined: 17 Jun 11
Posts: 3
ID: 102603
Credit: 144,581,753
RAC: 51,414
Discovered 1 mega primeEliminated 1 conjecture "k"321 LLR Turquoise: Earned 5,000,000 credits (5,730,232)Cullen LLR Turquoise: Earned 5,000,000 credits (7,172,788)ESP LLR Turquoise: Earned 5,000,000 credits (6,314,137)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (7,318,845)PPS LLR Turquoise: Earned 5,000,000 credits (7,864,035)PSP LLR Turquoise: Earned 5,000,000 credits (8,158,665)SoB LLR Jade: Earned 10,000,000 credits (10,673,012)SR5 LLR Turquoise: Earned 5,000,000 credits (5,524,841)SGS LLR Turquoise: Earned 5,000,000 credits (5,296,020)TRP LLR Turquoise: Earned 5,000,000 credits (7,670,974)Woodall LLR Turquoise: Earned 5,000,000 credits (7,102,525)321 Sieve Turquoise: Earned 5,000,000 credits (5,781,710)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,250,512)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,750,686)PPS Sieve Jade: Earned 10,000,000 credits (16,397,531)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,013,557)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,068,375)AP 26/27 Jade: Earned 10,000,000 credits (10,091,328)GFN Jade: Earned 10,000,000 credits (15,413,931)
Message 52269 - Posted: 30 Mar 2012 | 0:31:57 UTC - in response to Message 52268.

Both workunits were completed on the same computer.

The one using 6.13 ran faster than the one using AVX.

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2793
ID: 50683
Credit: 52,558,486
RAC: 96
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 (2,982,840)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,343,583)TRP Sieve (suspended) Silver: Earned 100,000 credits (255,612)AP 26/27 Ruby: Earned 2,000,000 credits (2,575,874)GFN Sapphire: Earned 20,000,000 credits (23,247,434)PSA Turquoise: Earned 5,000,000 credits (7,522,050)
Message 52270 - Posted: 30 Mar 2012 | 0:35:48 UTC - in response to Message 52269.

You can always send PM to user .
Why bother with assumption when you can get clear answer :)
____________
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!

Usucapio LibertatisProject donor
Avatar
Send message
Joined: 21 Apr 10
Posts: 729
ID: 59072
Credit: 543,201,357
RAC: 39,584
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,387,311)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,249,129)PSA Emerald: Earned 50,000,000 credits (79,952,619)
Message 52271 - Posted: 30 Mar 2012 | 1:00:32 UTC - in response to Message 52269.

Both workunits were completed on the same computer.

The one using 6.13 ran faster than the one using AVX.

The difference is less than 30%: 1160 vs 1400 seconds. It can be explained by the different versions of llr as well as by the load on the other cores when you crunched those wus.
Version 6.13 uses avx, but only on avx capable cpus, which I think is not the case of first generation of intel i-7 such as yours.

Frank Schwegler
Avatar
Send message
Joined: 17 Jun 11
Posts: 3
ID: 102603
Credit: 144,581,753
RAC: 51,414
Discovered 1 mega primeEliminated 1 conjecture "k"321 LLR Turquoise: Earned 5,000,000 credits (5,730,232)Cullen LLR Turquoise: Earned 5,000,000 credits (7,172,788)ESP LLR Turquoise: Earned 5,000,000 credits (6,314,137)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (7,318,845)PPS LLR Turquoise: Earned 5,000,000 credits (7,864,035)PSP LLR Turquoise: Earned 5,000,000 credits (8,158,665)SoB LLR Jade: Earned 10,000,000 credits (10,673,012)SR5 LLR Turquoise: Earned 5,000,000 credits (5,524,841)SGS LLR Turquoise: Earned 5,000,000 credits (5,296,020)TRP LLR Turquoise: Earned 5,000,000 credits (7,670,974)Woodall LLR Turquoise: Earned 5,000,000 credits (7,102,525)321 Sieve Turquoise: Earned 5,000,000 credits (5,781,710)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,250,512)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,750,686)PPS Sieve Jade: Earned 10,000,000 credits (16,397,531)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,013,557)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,068,375)AP 26/27 Jade: Earned 10,000,000 credits (10,091,328)GFN Jade: Earned 10,000,000 credits (15,413,931)
Message 52272 - Posted: 30 Mar 2012 | 1:00:58 UTC - in response to Message 52270.

It is my computer and I would like to know why there is a difference in the CPU completion time.

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1842
ID: 352
Credit: 2,616,990,096
RAC: 963,692
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (53,722,608)Cullen LLR Emerald: Earned 50,000,000 credits (50,296,190)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (100,184,938)PSP LLR Sapphire: Earned 20,000,000 credits (31,596,735)SoB LLR Emerald: Earned 50,000,000 credits (67,865,553)SR5 LLR Emerald: Earned 50,000,000 credits (50,320,316)SGS LLR Sapphire: Earned 20,000,000 credits (26,720,263)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (57,441,313)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)321 Sieve Emerald: Earned 50,000,000 credits (50,611,470)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (214,118,887)GFN Double Gold: Earned 500,000,000 credits (631,220,701)PSA Double Gold: Earned 500,000,000 credits (531,254,992)
Message 52275 - Posted: 30 Mar 2012 | 9:01:14 UTC

Similar experience on one host - http://www.primegrid.com/forum_thread.php?id=4206&nowrap=true#52235
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2793
ID: 50683
Credit: 52,558,486
RAC: 96
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 (2,982,840)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,343,583)TRP Sieve (suspended) Silver: Earned 100,000 credits (255,612)AP 26/27 Ruby: Earned 2,000,000 credits (2,575,874)GFN Sapphire: Earned 20,000,000 credits (23,247,434)PSA Turquoise: Earned 5,000,000 credits (7,522,050)
Message 52278 - Posted: 30 Mar 2012 | 10:53:38 UTC - in response to Message 52275.

It looks like that is problem on Intel CPU-s
On my AMD 6 core, all task are finished in +/- 2 seconds ( at most)
____________
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 Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 13015
ID: 53948
Credit: 199,950,024
RAC: 202,895
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,816,300)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 (7,802,484)PSP LLR Ruby: Earned 2,000,000 credits (4,750,428)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,060,139)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 (65,955,901)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 52280 - Posted: 30 Mar 2012 | 11:33:23 UTC - in response to Message 52272.

It is my computer and I would like to know why there is a difference in the CPU completion time.


You're comparing two different WUs, and they may run at different speeds. Usually, similar WUs run in similar times, but not always.

With your computer idle, try running those particular numbers manually (16978976538405*2^666667-1 and 16800905003685*2^666667-1), and see if the timings are reproducible. If they are, then probably what happened is that the larger of the two numbers required a larger FFT size (or a different FFT), which made the computation slower.

If they run at the same speed, then it's unlikely anyone on this forum will be able to provide you with a satisfactory answer since the behavior would be unreproducible.

____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

Prime Al ScreenProject donor
Send message
Joined: 1 Dec 09
Posts: 240
ID: 50942
Credit: 38,208,946
RAC: 0
321 LLR Amethyst: Earned 1,000,000 credits (1,061,666)Cullen LLR Amethyst: Earned 1,000,000 credits (1,029,850)PPS LLR Ruby: Earned 2,000,000 credits (2,647,860)PSP LLR Ruby: Earned 2,000,000 credits (2,877,696)SoB LLR Amethyst: Earned 1,000,000 credits (1,376,336)SR5 LLR Silver: Earned 100,000 credits (131,116)SGS LLR Ruby: Earned 2,000,000 credits (2,025,343)TRP LLR Amethyst: Earned 1,000,000 credits (1,112,533)Woodall LLR Amethyst: Earned 1,000,000 credits (1,118,119)321 Sieve Amethyst: Earned 1,000,000 credits (1,014,806)Cullen/Woodall Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,022,047)PPS Sieve Turquoise: Earned 5,000,000 credits (6,478,805)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (242,867)TRP Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,050,478)AP 26/27 Gold: Earned 500,000 credits (679,594)GFN Ruby: Earned 2,000,000 credits (2,278,022)PSA Jade: Earned 10,000,000 credits (12,061,816)
Message 52292 - Posted: 30 Mar 2012 | 16:48:46 UTC - in response to Message 52280.

It is my computer and I would like to know why there is a difference in the CPU completion time.


You're comparing two different WUs, and they may run at different speeds. Usually, similar WUs run in similar times, but not always.

With your computer idle, try running those particular numbers manually (16978976538405*2^666667-1 and 16800905003685*2^666667-1), and see if the timings are reproducible. If they are, then probably what happened is that the larger of the two numbers required a larger FFT size (or a different FFT), which made the computation slower.

If they run at the same speed, then it's unlikely anyone on this forum will be able to provide you with a satisfactory answer since the behavior would be unreproducible.

You did notice that the LLR program was different, didn't you?
(3.8.8 vs 3.8.6)

Anyhow, it is a Windows issue as you are running GPU WUs as well. I do occasionally see this with my windows host as it is has HT only and crunching GPU. I know that Windows needs all available cores on CPU to get best performance but then GPU suffers. In contrast, I do find Linux more robust to this as I see virtually no difference with workload as seen below with PRPNet LLR binaries.

If it still bothers you, copy your LLR binaries from the boinc directory into a some test directory and run WU again from the command line similar to below for Linux.

From a very busy Linux host with no GPU and HT enabled so times are unreliable - there are more CPU intensive tasks than available cores (I had to do 1 run as it was too different) :
$ ./llr_507 -v Primality Testing of k*b^n+/-1 Program - Version 3.8.8 $ ./llr_507 -q"16978976538405*2^666667-1" -d Starting Lucas Lehmer Riesel prime test of 16978976538405*2^666667-1 Using zero-padded Pentium4 type-1 FFT length 72K, Pass1=96, Pass2=768 V1 = 15 ; Computing U0...done.Starting Lucas-Lehmer loop... 16978976538405*2^666667-1, iteration : 60000 / 666667 [8.99%]. Time per iteration : 1.114 ms. 16978976538405*2^666667-1, iteration : 340000 / 666667 [50.99%]. Time per iteration : 1.088 ms. 16978976538405*2^666667-1 is not prime. LLR Res64: 9616FD7AE9FBE4B2 Time : 746.407 sec. $ ./llr_507 -q"16800905003685*2^666667-1" -d Starting Lucas Lehmer Riesel prime test of 16800905003685*2^666667-1 Using zero-padded Pentium4 type-1 FFT length 72K, Pass1=96, Pass2=768 V1 = 5 ; Computing U0...done.Starting Lucas-Lehmer loop... 16800905003685*2^666667-1, iteration : 70000 / 666667 [10.49%]. Time per iteration : 1.117 ms. 16800905003685*2^666667-1, iteration : 170000 / 666667 [25.49%]. Time per iteration : 1.041 ms. 16800905003685*2^666667-1, iteration : 440000 / 666667 [65.99%]. Time per iteration : 1.108 ms. 16800905003685*2^666667-1 is not prime. LLR Res64: 6C8A19FC527ADF5B Time : 747.959 sec. $ ./llr_505 -v Primality Testing of k*b^n+/-1 Program - Version 3.8.6 $ ./llr_505 -q"16800905003685*2^666667-1" -d Starting Lucas Lehmer Riesel prime test of 16800905003685*2^666667-1 Using zero-padded Pentium4 type-1 FFT length 72K, Pass1=96, Pass2=768 V1 = 5 ; Computing U0...done.Starting Lucas-Lehmer loop... 16800905003685*2^666667-1, iteration : 160000 / 666667 [23.99%]. Time per iteration : 1.143 ms. 16800905003685*2^666667-1, iteration : 330000 / 666667 [49.49%]. Time per iteration : 1.128 ms. 16800905003685*2^666667-1 is not prime. LLR Res64: 6C8A19FC527ADF5B Time : 754.521 sec. $ ./llr_505 -q"16978976538405*2^666667-1" -d Starting Lucas Lehmer Riesel prime test of 16978976538405*2^666667-1 Using zero-padded Pentium4 type-1 FFT length 72K, Pass1=96, Pass2=768 V1 = 15 ; Computing U0...done.Starting Lucas-Lehmer loop... 16978976538405*2^666667-1, iteration : 160000 / 666667 [23.99%]. Time per iteration : 1.140 ms. 16978976538405*2^666667-1, iteration : 340000 / 666667 [50.99%]. Time per iteration : 1.135 ms. 16978976538405*2^666667-1 is not prime. LLR Res64: 9616FD7AE9FBE4B2 Time : 757.349 sec.

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1842
ID: 352
Credit: 2,616,990,096
RAC: 963,692
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (53,722,608)Cullen LLR Emerald: Earned 50,000,000 credits (50,296,190)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (100,184,938)PSP LLR Sapphire: Earned 20,000,000 credits (31,596,735)SoB LLR Emerald: Earned 50,000,000 credits (67,865,553)SR5 LLR Emerald: Earned 50,000,000 credits (50,320,316)SGS LLR Sapphire: Earned 20,000,000 credits (26,720,263)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (57,441,313)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)321 Sieve Emerald: Earned 50,000,000 credits (50,611,470)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (214,118,887)GFN Double Gold: Earned 500,000,000 credits (631,220,701)PSA Double Gold: Earned 500,000,000 credits (531,254,992)
Message 52373 - Posted: 1 Apr 2012 | 16:09:33 UTC

Original question was "Why is there such a difference between these 2 run times?"
I would add "on the very same host".

I have taken last 100 SGS results from suspicious host - http://www.primegrid.com/results.php?hostid=164884&offset=0&show_names=0&state=3&appid=
CPU time goes from 453 to 21253 secs and so are min and max of run times, magnitude of 47X.
CPU time is 128 463, run time is 166 113, around 24%. This is because initialization phase of task is taking more than one core and sometimes not only during initial phase.
Median is 553 for CPU time and 666 for run times.
Standard deviation is 2607, resp. 2765 (!).

What I would consider my *normal* host running SGS has ~280-345 sec, around 25% - that natural difference in run time that stems from different WUs.
Difference between CPU time and run time around 2%, that's good one.
Standard deviation is 17, resp. 12
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

Profile pschoeferProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 20 Sep 05
Posts: 656
ID: 845
Credit: 1,899,259,626
RAC: 561,901
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,966,603)Cullen LLR Turquoise: Earned 5,000,000 credits (5,098,443)ESP LLR Jade: Earned 10,000,000 credits (11,096,003)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (19,415,453)PPS LLR Jade: Earned 10,000,000 credits (12,953,244)PSP LLR Turquoise: Earned 5,000,000 credits (9,056,181)SoB LLR Jade: Earned 10,000,000 credits (12,074,463)SR5 LLR Jade: Earned 10,000,000 credits (12,628,776)SGS LLR Turquoise: Earned 5,000,000 credits (6,242,555)TPS LLR (retired) Bronze: Earned 10,000 credits (76,372)TRP LLR Jade: Earned 10,000,000 credits (10,366,704)Woodall LLR Turquoise: Earned 5,000,000 credits (8,281,303)321 Sieve Ruby: Earned 2,000,000 credits (2,295,030)Cullen/Woodall Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,000,264)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (11,111,347)PPS Sieve Double Silver: Earned 200,000,000 credits (342,928,524)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (3,177,104)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,556,644)AP 26/27 Double Bronze: Earned 100,000,000 credits (106,241,834)GFN Double Silver: Earned 200,000,000 credits (338,250,646)PSA Double Gold: Earned 500,000,000 credits (955,439,601)
Message 52437 - Posted: 2 Apr 2012 | 8:27:53 UTC

My Q9450 with LLR64 3.8.8 stock app and Win7 x64 has stable runtimes, but on i7 980X (HT enabled) with LLR32 3.8.8 via app_info and Win7 x64 they vary a lot. Sometimes the CPU time is higher than the runtime.

I think the long startup time problem discussed in the other thread is actually the same issue.

I could imagine that this is related to GWNUM's broken hyperthreading detection (known bug in GWNUM 27.4, not fixed in 27.5), since nobody has reported those problems on non-HT CPUs and we've never seen similar problems with LLR 3.8.6/GWNUM 26.6.
____________

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1842
ID: 352
Credit: 2,616,990,096
RAC: 963,692
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (53,722,608)Cullen LLR Emerald: Earned 50,000,000 credits (50,296,190)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (100,184,938)PSP LLR Sapphire: Earned 20,000,000 credits (31,596,735)SoB LLR Emerald: Earned 50,000,000 credits (67,865,553)SR5 LLR Emerald: Earned 50,000,000 credits (50,320,316)SGS LLR Sapphire: Earned 20,000,000 credits (26,720,263)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (57,441,313)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)321 Sieve Emerald: Earned 50,000,000 credits (50,611,470)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (214,118,887)GFN Double Gold: Earned 500,000,000 credits (631,220,701)PSA Double Gold: Earned 500,000,000 credits (531,254,992)
Message 52441 - Posted: 2 Apr 2012 | 9:10:14 UTC

It is no HT issue. I have it disabled since 1) my VmWare edition is limited to 6 cores per CPU, 2) Brings no benefit in performance.
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

Profile rroonnaallddProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 3 Jul 09
Posts: 1213
ID: 42893
Credit: 34,634,263
RAC: 0
321 LLR Silver: Earned 100,000 credits (101,692)Cullen LLR Silver: Earned 100,000 credits (104,876)ESP LLR Silver: Earned 100,000 credits (101,979)PPS LLR Silver: Earned 100,000 credits (148,018)PSP LLR Silver: Earned 100,000 credits (140,441)SoB LLR Silver: Earned 100,000 credits (119,475)SR5 LLR Silver: Earned 100,000 credits (120,939)SGS LLR Silver: Earned 100,000 credits (122,783)TRP LLR Silver: Earned 100,000 credits (100,115)Woodall LLR Silver: Earned 100,000 credits (107,459)321 Sieve Silver: Earned 100,000 credits (202,757)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,908,135)PPS Sieve Sapphire: Earned 20,000,000 credits (25,450,104)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (130,966)TRP Sieve (suspended) Silver: Earned 100,000 credits (201,525)AP 26/27 Silver: Earned 100,000 credits (100,015)GFN Silver: Earned 100,000 credits (246,369)PSA Silver: Earned 100,000 credits (226,594)
Message 52447 - Posted: 2 Apr 2012 | 10:36:57 UTC - in response to Message 52441.

It is no HT issue. I have it disabled since 1) my VmWare edition is limited to 6 cores per CPU, 2) Brings no benefit in performance.

1)VMware counts only the real cores not the hyperthreaded but uses all available cores.

2)HT creates only a performance gain, if you have short instructions (instructions with short runtimes) or different parts of a CPU can be used in separate order.
Integer on a modern Intel cpu needs lets say 3 cycles per instruction but floating point (LLR) needs at least the double or tripple count of cycles.
Another point is the dependency of FP from the memory access. This was best viewable after Intel decided to follow the AMD road and included the memory controller in the cpu (Core2 and Nehalem). While the integer performance was increased normal (like seen with every new cpu before), the foating point performance reached nearly the double value.

Integer on BD can be executed on both parts of a modul but the FP-unit is parted between both parts of a modul. To lower this limitation, AMD included a faster FP-unit than the Intel counterpart. BD is able to calculate Floating Point instructions nearly as fast as Integer instructions.
AMDs Phenoms are comparable to all Intel CPUs like Core, Core2 and Core_i because Intel has not changed much between all generations. You have new instructions or older instructions need a different count of cycles for their execution but nothing comparable to AMDs road of development for BD.
This is not ever a false decision...
____________
Best wishes. Knowledge is power. by jjwhalen

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1842
ID: 352
Credit: 2,616,990,096
RAC: 963,692
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (53,722,608)Cullen LLR Emerald: Earned 50,000,000 credits (50,296,190)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (100,184,938)PSP LLR Sapphire: Earned 20,000,000 credits (31,596,735)SoB LLR Emerald: Earned 50,000,000 credits (67,865,553)SR5 LLR Emerald: Earned 50,000,000 credits (50,320,316)SGS LLR Sapphire: Earned 20,000,000 credits (26,720,263)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (57,441,313)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)321 Sieve Emerald: Earned 50,000,000 credits (50,611,470)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (214,118,887)GFN Double Gold: Earned 500,000,000 credits (631,220,701)PSA Double Gold: Earned 500,000,000 credits (531,254,992)
Message 52455 - Posted: 2 Apr 2012 | 12:05:53 UTC - in response to Message 52447.
Last modified: 2 Apr 2012 | 12:19:07 UTC

1)VMware counts only the real cores not the hyperthreaded but uses all available cores.

Wasn't able to create virtual host with 8 cores anyway.

Let's keep it simple, i5-2500, 4 cores no HT, ESXi4, Windows 2008 R2 SP.

Running test standalone is fine - usage is limited to 1 core even with affinity available to all cores, runtimes around 436 and 438 secs.
primegrid_cllr.exe -q"34908861433845*2^666666+1"
primegrid_cllr.exe -q"34909025081535*2^666666+1"

The very same tests under BOINC 7.0.23 (using same executable, same host) already taking 25 minutes and growing, using more than single core.
http://www.primegrid.com/workunit.php?wuid=264705378
http://www.primegrid.com/workunit.php?wuid=264705306
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

Profile rroonnaallddProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 3 Jul 09
Posts: 1213
ID: 42893
Credit: 34,634,263
RAC: 0
321 LLR Silver: Earned 100,000 credits (101,692)Cullen LLR Silver: Earned 100,000 credits (104,876)ESP LLR Silver: Earned 100,000 credits (101,979)PPS LLR Silver: Earned 100,000 credits (148,018)PSP LLR Silver: Earned 100,000 credits (140,441)SoB LLR Silver: Earned 100,000 credits (119,475)SR5 LLR Silver: Earned 100,000 credits (120,939)SGS LLR Silver: Earned 100,000 credits (122,783)TRP LLR Silver: Earned 100,000 credits (100,115)Woodall LLR Silver: Earned 100,000 credits (107,459)321 Sieve Silver: Earned 100,000 credits (202,757)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,908,135)PPS Sieve Sapphire: Earned 20,000,000 credits (25,450,104)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (130,966)TRP Sieve (suspended) Silver: Earned 100,000 credits (201,525)AP 26/27 Silver: Earned 100,000 credits (100,015)GFN Silver: Earned 100,000 credits (246,369)PSA Silver: Earned 100,000 credits (226,594)
Message 52486 - Posted: 2 Apr 2012 | 17:24:57 UTC - in response to Message 52455.

1)VMware counts only the real cores not the hyperthreaded but uses all available cores.

Wasn't able to create virtual host with 8 cores anyway.
Sorry, i forget that you have vSphere4. My links in the other thread pointing to vSphere5...
With vSphere4 you need an Enterprise Plus licence and a host with at least 8 cores (real or HT cores does not matter) if you want to have vSMP=8 in a VM. All lower vSphere4 versions like Hypervisor (ESXi with free-licence), ESXi (ESXi with pay-licence), Standard, Advanced or Enterprise have vSMP=4.

Let's keep it simple, i5-2500, 4 cores no HT, ESXi4, Windows 2008 R2 SP.
vSphere4 needs at least 2GB RAM for installation. After installation an ESXi consumes around 1GB RAM and wants to have one free core or at least some free CPU cycles for his own work.
Please be aware that a VM with vSMP>1 gets only computation time when the same amount of cores is free or the VM got a bonus via round robin scheduling because in the last scheduling cycle were not 4 cores free for your VM with vSMP=4.
You will see faster computation times and/or smaller differences in computation times on a Quadcore host, if you limit vSMP to 2 or 1 for your W2k8-R2 VM.
...or runs only your W2k8-R2 VM on this host?

____________
Best wishes. Knowledge is power. by jjwhalen

HonzaProject donor
Volunteer moderator
Volunteer tester
Project scientist
Send message
Joined: 15 Aug 05
Posts: 1842
ID: 352
Credit: 2,616,990,096
RAC: 963,692
Discovered 5 mega primesEliminated 3 conjecture "k"sFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain Stage2019 Tour de Primes largest primeFound 4 primes in the 2019 Tour de PrimesFound 1 mega prime in the 2019 Tour de PrimesFound 1 prime in the 2019 Tour de Primes Mountain Stage321 LLR Emerald: Earned 50,000,000 credits (53,722,608)Cullen LLR Emerald: Earned 50,000,000 credits (50,296,190)ESP LLR Emerald: Earned 50,000,000 credits (50,853,190)Generalized Cullen/Woodall LLR Emerald: Earned 50,000,000 credits (50,309,119)PPS LLR Double Bronze: Earned 100,000,000 credits (100,184,938)PSP LLR Sapphire: Earned 20,000,000 credits (31,596,735)SoB LLR Emerald: Earned 50,000,000 credits (67,865,553)SR5 LLR Emerald: Earned 50,000,000 credits (50,320,316)SGS LLR Sapphire: Earned 20,000,000 credits (26,720,263)TPS LLR (retired) Bronze: Earned 10,000 credits (43,033)TRP LLR Emerald: Earned 50,000,000 credits (57,441,313)Woodall LLR Emerald: Earned 50,000,000 credits (50,956,094)321 Sieve Emerald: Earned 50,000,000 credits (50,611,470)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,142,109)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,504,945)PPS Sieve Double Gold: Earned 500,000,000 credits (504,377,255)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,288,222)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,149,354)AP 26/27 Double Silver: Earned 200,000,000 credits (214,118,887)GFN Double Gold: Earned 500,000,000 credits (631,220,701)PSA Double Gold: Earned 500,000,000 credits (531,254,992)
Message 52492 - Posted: 2 Apr 2012 | 18:21:46 UTC

Yes, it runs only single VM with W2K8R2 so this VM should have all CPU resources available. Host has 16GB RAM and 14GB for the only one VM.
(it's basically test enviroment with real aplications but low CPU usage. Or prepared VM enviroment for time in need when HP server goes down or when different VM needs to be tested).

As far as I can see, odd run times and behaviour has these features:
1. CPU with AVX
2. ESXi 4.1 (non AVX aware)
3. OS that is AVX aware (W2K8R2 SP)

Only combination of there brings problem with 3.8.8, version 3.8.6 is fine.

The other host with same HW, same ESXi but with OS AVX non-aware (Win 2003) is OK.
Yet another host with same HW, W2K8R2SP on bare matel, AVX is doing great.
So it is not hardware specific.
____________
My stats
Badge score: 1*1 + 5*1 + 7*1 + 8*8 + 9*7 + 11*1 + 12*3 = 187

Message boards : Sophie Germain Prime Search : Why is there such a difference between these 2 run times?

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 1.39, 1.27, 1.31
Generated 14 Nov 2019 | 5:04:39 UTC