LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-20-2018, 04:46 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
Current64 - Fri Apr 20 updates - RCU kernel options


Current64 - the Fir Apr 20 updates contain:
Code:
k/kernel-source-4.14.35-noarch-1.txz: Upgraded.
       RCU_EXPERT n -> y
       +RCU_FANOUT 32
       +RCU_FANOUT_LEAF 16
       +RCU_FAST_NO_HZ y
       +RCU_NOCB_CPU y
       Thanks to alienBOB.
What is the purpose of these changes? I could not find an LQ thread discussing things.
Please enlighten me.
 
Old 04-20-2018, 05:22 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by burdi01 View Post
What is the purpose of these changes? I could not find an LQ thread discussing things.
Please enlighten me.
Did say something for you the word "Ryzen" ? That's why.
 
Old 04-20-2018, 06:55 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I applied those to my own custom kernel on my Ryzen powered build server and that put an end to the many kernel oopses (needs a "rcu_nocbs=0-<maxprox-1>" parameter on the kernel's boot commandline too).
Then I asked Pat to add it to the Slackware kernel config so that I can revert to stock kernel.
 
3 members found this post helpful.
Old 04-20-2018, 07:08 AM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by Alien Bob View Post
I applied those to my own custom kernel on my Ryzen powered build server and that put an end to the many kernel oopses (needs a "rcu_nocbs=0-<maxprox-1>" parameter on the kernel's boot commandline too).
Then I asked Pat to add it to the Slackware kernel config so that I can revert to stock kernel.
I bet that that changes aren't on your benefits only.

There are other Ryzen owners around. Not including me, as I am more than happy with my Bulldozers.

Last edited by Darth Vader; 04-20-2018 at 03:10 PM.
 
Old 04-20-2018, 12:13 PM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,670

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
me included
 
Old 04-20-2018, 01:41 PM   #6
aaazen
Member
 
Registered: Dec 2009
Posts: 358

Rep: Reputation: Disabled
It looks like there is an ongoing discussion about Ryzen lockups and kernel parameters etc. in the kernel bug list:

https://bugzilla.kernel.org/show_bug.cgi?id=196683
 
Old 04-21-2018, 10:35 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by burdi01 View Post
I could not find an LQ thread discussing things.
They've already covered the purpose behind the changes, but to cover where in LQ it was discussed...

Here's the thread where a user was running into similar lockups on Ryzen that I had experienced, so I pointed him to the changes I had made. I then mentioned that I had to make these changes in the thread about whether people use the stock kernels, stating this was the only change I had to make. It turns out Eric was running into the same lockups I had been, but I didn't know about it (otherwise I would've suggested it to him long ago -- I've been using it since at least Nov).

I had only thought that mfoley and I were the only ones affected by this issue on Slackware and neither of us were running -current.
 
Old 04-22-2018, 03:24 AM   #8
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
@bassmadrigal:
Quote:
... so I pointed him to the changes I had made.
Thks. I searched the forum for "RCU_" and did not find that thread therefore. The ryzen angle first came later.

Last edited by burdi01; 04-22-2018 at 03:26 AM.
 
Old 04-22-2018, 04:58 AM   #9
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Original Poster
Rep: Reputation: 114Reputation: 114
My kernels are of the distribution type - thus that they run on a variety of Intel (from Celeron upwards) and AMD (A and upwards) CPUs. At the moment they are at 4.16.3. Would these RCU settings applicable here too?
 
Old 04-23-2018, 06:54 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by burdi01 View Post
My kernels are of the distribution type - thus that they run on a variety of Intel (from Celeron upwards) and AMD (A and upwards) CPUs. At the moment they are at 4.16.3. Would these RCU settings applicable here too?
As far as I know, this only takes effect if you pass the "rcu_nocbs=0-<maxprox-1>" option at boot. But I haven't seen anything from various bug reports stating this Ryzen issue has been fixed on newer kernel releases yet, so for us Ryzen owners, we'll probably need to continue doing this to prevent these lockups.

But I'm not familiar enough with what this setting does and why it prevents the Ryzen lockups to give you any definitive answers.
 
Old 04-23-2018, 09:23 AM   #11
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,815

Rep: Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489Reputation: 1489
The bugzilla thread (link in post #6) gives the impression that it's not a kernel problem or kernel config problem but something to be fixed with a BIOS update. Setting a new option "Power Supply Idle Control" to "Typical Current Idle" should fix it. The CPU will dissipate a few more watts when idle which makes it stable.

It seems that the kernel RCU settings just have a side effect which makes some systems stable, maybe because they make the CPU draw more power.
 
1 members found this post helpful.
Old 04-26-2018, 11:09 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Petri Kaukasoina View Post
The bugzilla thread (link in post #6) gives the impression that it's not a kernel problem or kernel config problem but something to be fixed with a BIOS update. Setting a new option "Power Supply Idle Control" to "Typical Current Idle" should fix it. The CPU will dissipate a few more watts when idle which makes it stable.
Thanks for the info! I never had the heart to fully read through the bug report since a lot of it went over my head. Once we get unpacked (in the middle of a move across the country right now), I'll have to see if there's an update for my motherboard that adds this option. If it's there, I can enable it and try to remove the kernel option on boot.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Current64 - May 16 updates - freetype 2.8: dejavu sans 10 looks different burdi01 Slackware 15 02-06-2018 08:11 PM
Current64 - Sun Nov 19 03:36:30 UTC 2017 updates - login runlvl=3 minor inconsistency burdi01 Slackware 11 11-22-2017 12:07 PM
[SOLVED] Current - Apr 24 updates - Firefox ESR ? burdi01 Slackware 4 04-25-2017 10:33 AM
[SOLVED] mkfs.ext4 issue? Slackware64 with Fri May 20 updates dr.s Slackware 6 05-26-2016 06:17 PM
[SOLVED] some graphic corruption with radeon driver after Apr 27 updates Barx Slackware 9 05-03-2010 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration