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 : LLR Ryzen Performance

Author Message
C. KetelsenProject donor
Send message
Joined: 30 Dec 10
Posts: 3
ID: 79134
Credit: 33,257,449
RAC: 1
321 LLR Gold: Earned 500,000 credits (534,365)Cullen LLR Silver: Earned 100,000 credits (113,893)Generalized Cullen/Woodall LLR Bronze: Earned 10,000 credits (32,965)PPS LLR Silver: Earned 100,000 credits (424,517)SoB LLR Gold: Earned 500,000 credits (524,822)SR5 LLR Gold: Earned 500,000 credits (629,290)SGS LLR Silver: Earned 100,000 credits (341,038)Woodall LLR Silver: Earned 100,000 credits (243,213)321 Sieve Bronze: Earned 10,000 credits (22,692)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (218,091)Generalized Cullen/Woodall Sieve (suspended) Bronze: Earned 10,000 credits (31,127)PPS Sieve Jade: Earned 10,000,000 credits (11,528,820)TRP Sieve (suspended) Bronze: Earned 10,000 credits (16,891)AP 26/27 Amethyst: Earned 1,000,000 credits (1,055,223)GFN Jade: Earned 10,000,000 credits (14,015,085)PSA Ruby: Earned 2,000,000 credits (3,525,418)
Message 115838 - Posted: 7 Mar 2018 | 10:04:18 UTC

Is there any ETA when LLR Apps will be using Gwnum Library Version 28.14?

From MersenneForum:

http://www.mersenneforum.org/showthread.php?t=22981

This LLR version is linked with the Version 28.14 of George Woltman's gwnum library.
The only thing new from 28.13 is better FFT selections for AMD Ryzen CPUs.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 12948
ID: 53948
Credit: 195,936,579
RAC: 145,240
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,092,282)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 (6,904,245)PSP LLR Ruby: Earned 2,000,000 credits (2,632,269)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,012,222)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,046,112)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,702,154)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 115839 - Posted: 7 Mar 2018 | 11:13:33 UTC - in response to Message 115838.

Is there any ETA when LLR Apps will be using Gwnum Library Version 28.14?

From MersenneForum:

http://www.mersenneforum.org/showthread.php?t=22981

This LLR version is linked with the Version 28.14 of George Woltman's gwnum library.
The only thing new from 28.13 is better FFT selections for AMD Ryzen CPUs.


We expect to be starting official acceptance testing of that version of LLR in the near future. In the meantime, feel free to use that version of LLR under app_info.xml. I don't know if it will help with Ryzen performance, but it definitely seems to fix the multi-threading bug.

If you run it under app_info, please let us know if there are any problems.

I've been using it for a month or two, and it seems reliable.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

No_NameProject donor
Avatar
Send message
Joined: 2 Feb 17
Posts: 6
ID: 487741
Credit: 182,293,003
RAC: 192,696
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (7,233,982)Cullen LLR Jade: Earned 10,000,000 credits (10,034,189)ESP LLR Jade: Earned 10,000,000 credits (10,844,467)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (9,979,166)PPS LLR Jade: Earned 10,000,000 credits (11,880,245)PSP LLR Turquoise: Earned 5,000,000 credits (5,044,286)SoB LLR Jade: Earned 10,000,000 credits (11,633,243)SR5 LLR Jade: Earned 10,000,000 credits (10,001,854)SGS LLR Jade: Earned 10,000,000 credits (10,005,567)TRP LLR Jade: Earned 10,000,000 credits (10,027,407)Woodall LLR Turquoise: Earned 5,000,000 credits (5,662,098)321 Sieve Jade: Earned 10,000,000 credits (10,105,794)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,022,928)PPS Sieve Jade: Earned 10,000,000 credits (12,142,342)TRP Sieve (suspended) Silver: Earned 100,000 credits (287,139)AP 26/27 Jade: Earned 10,000,000 credits (14,473,940)GFN Sapphire: Earned 20,000,000 credits (20,003,964)PSA Jade: Earned 10,000,000 credits (12,910,392)
Message 116133 - Posted: 18 Mar 2018 | 14:56:30 UTC
Last modified: 18 Mar 2018 | 15:04:41 UTC

I´ve tested the new Version and found no problems.
The performance has increased by 10.5% averaged from 11 WUs
____________
Main system

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Project scientist
Avatar
Send message
Joined: 21 Jan 10
Posts: 12948
ID: 53948
Credit: 195,936,579
RAC: 145,240
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,092,282)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 (6,904,245)PSP LLR Ruby: Earned 2,000,000 credits (2,632,269)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,012,222)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,046,112)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,702,154)PSA Jade: Earned 10,000,000 credits (12,404,447)
Message 116135 - Posted: 18 Mar 2018 | 15:19:32 UTC - in response to Message 116133.

I´ve tested the new Version and found no problems.
The performance has increased by 10.5% averaged from 11 WUs


Thanks for running those tests.

The good news is... with Ryzen and the latest software, we finally do see an improvement when using FMA3. Previously, LLR wouldn't even attempt to use AVX or FMA3 because it didn't provide a benefit. 10% is a significant improvement...

The bad news is... ...unless you compare it to Intel CPUs. At least it's movement in the right direction.

I guess if you're running a Ryzen CPU, I'd recommend running the new LLR under app_info.xml if you're up to handling the configuration hassles. I'll see what I can do to get the ball rolling on getting the new LLR into production.
____________
Please do not PM me with support questions. Ask on the forums instead. Thank you!

My lucky number is 75898524288+1

No_NameProject donor
Avatar
Send message
Joined: 2 Feb 17
Posts: 6
ID: 487741
Credit: 182,293,003
RAC: 192,696
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (7,233,982)Cullen LLR Jade: Earned 10,000,000 credits (10,034,189)ESP LLR Jade: Earned 10,000,000 credits (10,844,467)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (9,979,166)PPS LLR Jade: Earned 10,000,000 credits (11,880,245)PSP LLR Turquoise: Earned 5,000,000 credits (5,044,286)SoB LLR Jade: Earned 10,000,000 credits (11,633,243)SR5 LLR Jade: Earned 10,000,000 credits (10,001,854)SGS LLR Jade: Earned 10,000,000 credits (10,005,567)TRP LLR Jade: Earned 10,000,000 credits (10,027,407)Woodall LLR Turquoise: Earned 5,000,000 credits (5,662,098)321 Sieve Jade: Earned 10,000,000 credits (10,105,794)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,022,928)PPS Sieve Jade: Earned 10,000,000 credits (12,142,342)TRP Sieve (suspended) Silver: Earned 100,000 credits (287,139)AP 26/27 Jade: Earned 10,000,000 credits (14,473,940)GFN Sapphire: Earned 20,000,000 credits (20,003,964)PSA Jade: Earned 10,000,000 credits (12,910,392)
Message 116136 - Posted: 18 Mar 2018 | 17:32:51 UTC

The configuration of the app_info.xml has to be done only one time but it would be great if you could get the ball rolling.

Here the exactly results for 321 WUs with a Ryzen 7 1700x @ stock with 8 threads / WU and 16 GB dual rank @ 1463.6 MHz / 16.0-16-16-39-55:

New version from 11 WUs: running time 11586,48s, CPU time 88535,62s, Credits 4909,38 -> credits / second 0,423716239
Old version from 26 WUs: running time 12717,83s, CPU time 82772,24s, Credits 4877,12 -> credits / second 0,383487231

Maybe someone else can confirm my results?
____________
Main system

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2785
ID: 50683
Credit: 52,558,486
RAC: 770
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 116150 - Posted: 19 Mar 2018 | 8:31:03 UTC - in response to Message 116136.

The configuration of the app_info.xml has to be done only one time but it would be great if you could get the ball rolling.

Here the exactly results for 321 WUs with a Ryzen 7 1700x @ stock with 8 threads / WU and 16 GB dual rank @ 1463.6 MHz / 16.0-16-16-39-55:

New version from 11 WUs: running time 11586,48s, CPU time 88535,62s, Credits 4909,38 -> credits / second 0,423716239
Old version from 26 WUs: running time 12717,83s, CPU time 82772,24s, Credits 4877,12 -> credits / second 0,383487231

Maybe someone else can confirm my results?


Using Primegrid for benchmark is not good idea. You must use same data and perform test with "old" and "new" LLR. Then any only then you will know does new LLR give improvements in speed or not.
With srsieve make test sieve file and process it, and then give us results.
____________
271643232^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!

No_NameProject donor
Avatar
Send message
Joined: 2 Feb 17
Posts: 6
ID: 487741
Credit: 182,293,003
RAC: 192,696
Found 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2018 Tour de Primes Mountain StageFound 1 prime in the 2019 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (7,233,982)Cullen LLR Jade: Earned 10,000,000 credits (10,034,189)ESP LLR Jade: Earned 10,000,000 credits (10,844,467)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (9,979,166)PPS LLR Jade: Earned 10,000,000 credits (11,880,245)PSP LLR Turquoise: Earned 5,000,000 credits (5,044,286)SoB LLR Jade: Earned 10,000,000 credits (11,633,243)SR5 LLR Jade: Earned 10,000,000 credits (10,001,854)SGS LLR Jade: Earned 10,000,000 credits (10,005,567)TRP LLR Jade: Earned 10,000,000 credits (10,027,407)Woodall LLR Turquoise: Earned 5,000,000 credits (5,662,098)321 Sieve Jade: Earned 10,000,000 credits (10,105,794)Generalized Cullen/Woodall Sieve (suspended) Jade: Earned 10,000,000 credits (10,022,928)PPS Sieve Jade: Earned 10,000,000 credits (12,142,342)TRP Sieve (suspended) Silver: Earned 100,000 credits (287,139)AP 26/27 Jade: Earned 10,000,000 credits (14,473,940)GFN Sapphire: Earned 20,000,000 credits (20,003,964)PSA Jade: Earned 10,000,000 credits (12,910,392)
Message 116152 - Posted: 19 Mar 2018 | 9:00:04 UTC

Sorry, I mean if anyone else can confirm the overall performance increase.
____________
Main system

Profile Crun-chiProject donor
Volunteer tester
Avatar
Send message
Joined: 25 Nov 09
Posts: 2785
ID: 50683
Credit: 52,558,486
RAC: 770
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 116154 - Posted: 19 Mar 2018 | 10:08:57 UTC - in response to Message 116152.

Sorry, I mean if anyone else can confirm the overall performance increase.

You dont be needed sorry for anything. But I very skeptic about increasing performance using latest LLR.
So made test and know for all time, is that true or not :)
____________
271643232^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!

mackerelProject donor
Volunteer tester
Avatar
Send message
Joined: 2 Oct 08
Posts: 2215
ID: 29980
Credit: 334,823,993
RAC: 110,061
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 (7,225,300)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 Sapphire: Earned 20,000,000 credits (48,586,872)PSP LLR Jade: Earned 10,000,000 credits (10,128,604)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,326,385)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 Sapphire: Earned 20,000,000 credits (48,107,585)PSA Ruby: Earned 2,000,000 credits (2,939,755)
Message 116170 - Posted: 19 Mar 2018 | 15:30:45 UTC - in response to Message 116135.

The good news is... with Ryzen and the latest software, we finally do see an improvement when using FMA3. Previously, LLR wouldn't even attempt to use AVX or FMA3 because it didn't provide a benefit. 10% is a significant improvement...


Before Ryzen that is the case. LLR uses gwnum, like Prime95. It's easier for me to go by Prime95 version numbers for now. 28.x and earlier implementations simply didn't know about the existence of Ryzen, and picked an older transform for AMD CPUs in general. With 29.x came a new CPU detection method that did recognise Ryzen, enabling FMA3 in that case. In my limited testing, that didn't give a difference beyond test variations. Later on in 29.x was a FFT type choice refresh. The generic "best" transform was used for each CPU architecture. I'm not sure I've actually tested this.

Very roughly speaking, my early tests with 29.x suggested Ryzen was about half the peak IPC of Intel in FMA3 type operations. I will go back and see if it has changed, but probably after the 321 challenge.

Message boards : Number crunching : LLR Ryzen Performance

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2019 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 3.49, 2.90, 2.40
Generated 23 Oct 2019 | 13:42:02 UTC