Ryzen on Linux

Message boards : Number crunching : Ryzen on Linux
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876756 - Posted: 4 Jul 2017, 9:58:40 UTC
Last modified: 4 Jul 2017, 9:59:02 UTC

Since my old thread autolocked already i create a new one.

I successfully installed my Ryzen System yesterday.
As precaution i upgraded Mint 18 to kernel 4.10 before.
I only had to update the GPU drivers to get it work.

System is as follows.

Ryzen 1800X
Crosshair VI Hero
16 GB Gskill 3200 CL 14
AMD R9 380

All is running fine so far.
The question is should i upgrade to kernel 4.11 or 4.12 ?
Anyone running those kernels already ?

Thanks in advance.
Mike
With each crime and every kindness we birth our future.
ID: 1876756 · Report as offensive
Profile MarkJProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 08
Posts: 1044
Credit: 50,379,048
RAC: 3,680
Australia
Message 1876776 - Posted: 4 Jul 2017, 12:23:58 UTC - in response to Message 1876756.  
Last modified: 4 Jul 2017, 12:25:54 UTC

The question is should i upgrade to kernel 4.11 or 4.12 ?

Mike

Ryzen support is in 4.9.10 onwards, so 4.10 or 4.11 is more than enough. The main thing to keep updated is the bios to get microcode updates and other fixes.

I'm running Debian with the 4.9.30 kernel which seems to be the latest they have at the moment.
ID: 1876776 · Report as offensive
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876782 - Posted: 4 Jul 2017, 23:23:58 UTC

Thanks Mark for your reply.

I see you are running the AVX version.
I suggest to try the SSE 4.1 version.
Check my results.
With each crime and every kindness we birth our future.
ID: 1876782 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876801 - Posted: 5 Jul 2017, 0:35:08 UTC - in response to Message 1876782.  

Hi Mike. Welcome to the Ryzen World. Curious how your stderr.txt output for your CPU run tasks report CPU frequency. Is that because of the Linux platform... or because of the Linux SSE4.1 app? I see you are running Anonymous and wonder why I never report CPU frequency on my Anonymous platform. I know that the stock app reports CPU frequency for Intel processors but I don't believe I've ever seen CPU frequency reported for AMD processors. I also thought it was because AMD doesn't report that or the app doesn't expose it for AMD processors.

Also noticed a couple of different reported CPU frequencies for your CPU tasks. The majority ran at 2200 Mhz but a couple ran at 3600 Mhz. Are you running stock speeds with no overclocks and letting the Core Performance Boost do its thing on 1 or 2 cores when it can?
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876801 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876804 - Posted: 5 Jul 2017, 0:57:50 UTC

Hey Mike, how many Ryzen systems did you build? Your 3 systems all show up as Ryzen 1800X. I think that BOINC is probably confused. I looked at 5735690 and it shows up as a 1800X but your CPU tasks show a FX-8350 in stderr.txt. BOINC is confused.... right?
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876804 · Report as offensive
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1817
Credit: 105,378,526
RAC: 450,915
Canada
Message 1876805 - Posted: 5 Jul 2017, 1:13:53 UTC - in response to Message 1876804.  

I think that would be from swapping drives around.
ID: 1876805 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876810 - Posted: 5 Jul 2017, 2:05:16 UTC

Brent, would you know the answer to my previous question to Mike about reported frequency in stderr.txt?
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876810 · Report as offensive
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1817
Credit: 105,378,526
RAC: 450,915
Canada
Message 1876817 - Posted: 5 Jul 2017, 2:32:31 UTC - in response to Message 1876810.  
Last modified: 5 Jul 2017, 2:47:10 UTC

I do know that some apps report CPU speed some don't. Whether that is a limitation of the code type used (vX SSSe, AVX, etc)I don't know, but would think it is just what the individual programmer add in.

AS for changes, it could be Turbo mode, etc, or changes made. He would have to answer that by saying if he made changes, or if it is dynamic.

EDIT: Just checked my Linux CPU apps, SSE3 MB/AP, SSSE3 and AVX MB/AP are all reporting CPU speeds.
ID: 1876817 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876819 - Posted: 5 Jul 2017, 2:57:36 UTC - in response to Message 1876817.  

Thanks Brent, I suspect it is up to the individual app to report the CPU frequency and not specific to OS platform.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876819 · Report as offensive
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876834 - Posted: 5 Jul 2017, 8:19:30 UTC - in response to Message 1876804.  
Last modified: 5 Jul 2017, 9:12:22 UTC

Hey Mike, how many Ryzen systems did you build? Your 3 systems all show up as Ryzen 1800X. I think that BOINC is probably confused. I looked at 5735690 and it shows up as a 1800X but your CPU tasks show a FX-8350 in stderr.txt. BOINC is confused.... right?


Hey Keith.

All hosts in my list are the same computer.
Just haven reported much on windows yet because i switched to Linux during the outage.

IIRC Raistmer removed the CPU Frequency for windows because it wasn't always correct.
Urs still uses this feature for his Linux apps.
With each crime and every kindness we birth our future.
ID: 1876834 · Report as offensive
Profile ML1
Volunteer tester

Send message
Joined: 25 Nov 01
Posts: 9370
Credit: 7,019,307
RAC: 5,310
United Kingdom
Message 1876863 - Posted: 5 Jul 2017, 14:08:58 UTC - in response to Message 1876776.  
Last modified: 5 Jul 2017, 14:12:50 UTC

The question is should i upgrade to kernel 4.11 or 4.12 ?

Mike

Ryzen support is in 4.9.10 onwards, so 4.10 or 4.11 is more than enough. The main thing to keep updated is the bios to get microcode updates and other fixes.

I'm running Debian with the 4.9.30 kernel which seems to be the latest they have at the moment.

Good comments there, especially for including CPU microcode updates. I have those updated via the kernel rather than re-flashing the BIOS. (A BIOS re-flash is only done if the BIOS doesn't work in some way...)

At the moment I'm running the 4.10.17 kernel. That series includes improvements to IO scheduling that improves responsiveness during maxed out disk writes. See "Linux kernel 4.10 Improved writeback management" (Throughput should remain the same.)

Kernel 4.11 has only recently been released... Good to try if you wish to be on the "cutting edge". I would only jump there if there is some new 'must-have' feature. Otherwise, let things settle for one kernel cycle and follow the main distros. You'll still be ahead of everything else!


A good fun list for what is new is listed on "Linux Kernel Newbies":


Kernel 4.11 is already up at version 8 so that is going to be safe enough to jump up to for picking up the latest tweaks and developments.

But really, the only motivation to move up the kernels is if/when there is some must-have feature in there that you wish to take advantage of. Usually, that would only be if there is some new support for whatever new hardware, especially so for new GPUs. (For example, my jump to 4.10 skipped quite a few versions in between.)

Or just go with whatever is most easily supported.



Hope that is of interest,

Happy cool fast crunchin',
Martin


See new freedom: Mageia Linux
Take a look for yourself: Linux Format
The Future is what We all make IT (GPLv3)
ID: 1876863 · Report as offensive
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876865 - Posted: 5 Jul 2017, 14:22:43 UTC

Thanks Martin.

So far i know CPU temps are only available since 4.11.for Ryzen so i will probably try that.
OTOH it runs very smooth and fast.

Dunno.

CPU tasks are more than 30 minutes faster than on win.
With each crime and every kindness we birth our future.
ID: 1876865 · Report as offensive
Profile Brent Norman
Volunteer tester

Send message
Joined: 1 Dec 99
Posts: 1817
Credit: 105,378,526
RAC: 450,915
Canada
Message 1876871 - Posted: 5 Jul 2017, 14:30:38 UTC - in response to Message 1876865.  

CPU tasks are more than 30 minutes faster than on win.
Is that with the same type of application? i.e. AVX/SSSE4?
ID: 1876871 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876901 - Posted: 5 Jul 2017, 16:31:32 UTC - in response to Message 1876871.  

CPU tasks are more than 30 minutes faster than on win.
Is that with the same type of application? i.e. AVX/SSSE4?

It was for me. Same AVX app on the shift from FX-8350 to R7-1700X.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876901 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876941 - Posted: 5 Jul 2017, 18:55:59 UTC - in response to Message 1876871.  

I always thought that from the notes in the Lunatics installer that the SSE4.1/2 app was supposed to be faster than the AVX app on AMD processors. Unfortunately, there never was a SSE4.1/2 SETI V8 app developed for the Windows platform. Because of Urs, Linux users have that luxury now. Seems that the comment about the SSE4.1 app is faster than the AVX app on Linux as was suggested.

And of course, most Linux installations always seem faster than the equivalent Windows installation on the same hardware. Just up to the general efficiency of Linux over Windows I guess.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876941 · Report as offensive
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876959 - Posted: 5 Jul 2017, 20:32:03 UTC - in response to Message 1876941.  

I always thought that from the notes in the Lunatics installer that the SSE4.1/2 app was supposed to be faster than the AVX app on AMD processors. Unfortunately, there never was a SSE4.1/2 SETI V8 app developed for the Windows platform. Because of Urs, Linux users have that luxury now. Seems that the comment about the SSE4.1 app is faster than the AVX app on Linux as was suggested.

And of course, most Linux installations always seem faster than the equivalent Windows installation on the same hardware. Just up to the general efficiency of Linux over Windows I guess.


I did a few benches today.
The SSE 4.1 app is just 1% faster than AVX version on Linux but i talk about 1800 seconds.

The AVX app on Linux takes 180 seconds on the VLAR test task but 315 seconds on windows.
The next few days i will try to get win 7 running and see how this works.
With each crime and every kindness we birth our future.
ID: 1876959 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876966 - Posted: 5 Jul 2017, 21:07:31 UTC - in response to Message 1876959.  

I would think that one of the benefits of the SSE4.1 app over the AVX app is that it doesn't work the CPU as hard leading to better thermals. That is a plus for the hot-running Ryzen processor even with the better power consumption over the FX processors.

I need to get off my duff and get a Linux system put together from my spare parts. The only thing that has me dragging my feet is my cast off computer case which is really not conducive to putting an AIO into. I should just bite the bullet and accept that I might have to spend some $ for the build.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876966 · Report as offensive
Profile MikeProject Donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 30589
Credit: 57,532,446
RAC: 30,504
Germany
Message 1876977 - Posted: 5 Jul 2017, 21:47:14 UTC

My Ryzen isn`t running very hot.
I usually have 51° to 55°C running 6 instances on CPU plus GPU.
I have a Noctua D15 installed and its not even running full load atm.
Of course you are overclocked with your 1700 which is different.

I have Linux running on a 64 GB USB 3 stick. That was just 60 Bucks.
It runs smoothly and very fast.
You just need some time to read thruough everything.
With each crime and every kindness we birth our future.
ID: 1876977 · Report as offensive
Profile Keith MyersProject Donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 2421
Credit: 183,324,812
RAC: 350,212
United States
Message 1876982 - Posted: 5 Jul 2017, 22:11:00 UTC - in response to Message 1876977.  

Yes, as my usual wont ...... I always try to overclock my AMD processors. Just to prove my bang for the buck philosophy. I was curious what you were cooling with. The Noctua NH-D15 is plenty for stock speeds and I'm sure it isn't even breathing hard. I think I have settled on 3.875 Ghz for the CPU since every time I attempt 3.9 Ghz it eventually black screens. I refuse to crank the voltages to insane levels to achieve that clock speed. I just don't want to deal with the temps. I did reconfigure the AIO yesterday since I wanted to check the thermal paste application. I had read that the pump barely moves any fluid around and has minimal volume and has a difficult time dealing with a gravity head so I moved it from the roof exhausting out to the front pulling air in from the outside. That has improved the temps by about 2 degrees on average and the pump is basically level with the input of the radiator. I know I should just bite the bullet and go with a proper custom water loop but I just can't find anything that will fit comfortable with least amount of upset in my case. I would have to add the cost of a bigger case along with the custom cooling components. I just bought the new case for the Ryzen build and would like to get my moneys worth out of it for the meantime. I am now running 58-62 ° C on eight CPU jobs on the physical cores with an occasional spillover CPU job on a virtual core when a MW or Einstein task moves in and four GPU jobs on the dual 1070s.
Seti@Home classic workunits:20,676 CPU time:74,226 hours
ID: 1876982 · Report as offensive
Profile petri33Project Donor
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1465
Credit: 268,598,140
RAC: 290,506
Finland
Message 1877003 - Posted: 6 Jul 2017, 0:11:00 UTC - in response to Message 1876977.  

My Ryzen isn`t running very hot.
I usually have 51° to 55°C running 6 instances on CPU plus GPU.
I have a Noctua D15 installed and its not even running full load atm.
Of course you are overclocked with your 1700 which is different.

I have Linux running on a 64 GB USB 3 stick. That was just 60 Bucks.
It runs smoothly and very fast.
You just need some time to read thruough everything.


A warning is at a place here (Eine kleine warnung).

Boinc and the seti app both write to disk (USB). BOINC writes just as it is told to do in the user interface (once in a minute or so).
The (GPU) App writes checkpoints hundreds of times a second unless it is modified in the source code to not to do so.
Please make a backup for your own sake.

My NV code will not do any checkpoints in the next version. A restart of a task will start from 0% but that is not so a big loss, is it?

Viel Grüss,
Petri
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1877003 · Report as offensive
1 · 2 · Next

Message boards : Number crunching : Ryzen on Linux


 
©2017 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.