Bug 1109113

Summary: configuration improvement CONFIG_RCU_NOCB_CPU
Product: [Fedora] Fedora Reporter: Morten Stevens <ms>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-17 16:46:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Morten Stevens 2014-06-13 09:32:00 UTC
Description of problem:

Please set CONFIG_RCU_NOCB_CPU=y

Version-Release number of selected component (if applicable):

kernel-3.14.5-200.fc20.x86_64

Actual results:

# cat /boot/config-3.14.5-200.fc20.x86_64 | grep CONFIG_RCU_NOCB_CPU
# CONFIG_RCU_NOCB_CPU is not set

Expected results:

CONFIG_RCU_NOCB_CPU=y

Comment 1 Josh Boyer 2014-06-13 11:20:22 UTC
You forgot to say why that should be enabled.

Comment 2 Morten Stevens 2014-06-13 11:45:50 UTC
(In reply to Josh Boyer from comment #1)
> You forgot to say why that should be enabled.

Hi Josh,

This is a new kernel option (since 3.10?) and reduces OS jitter for aggressive HPC or real-time workloads. It's also enabled on RHEL 7.

CONFIG_RCU_NOCB_CPU=y
CONFIG_RCU_NOCB_CPU_ALL=y

Comment 3 Josh Boyer 2014-06-13 11:49:01 UTC
Right.  Fedora isn't typically used extensively in either of those cases, which is why we left it off.

Comment 4 Morten Stevens 2014-06-13 12:19:12 UTC
(In reply to Josh Boyer from comment #3)
> Right.  Fedora isn't typically used extensively in either of those cases,
> which is why we left it off.

It has no negative impact to Fedora and for example Ubuntu 14.04 has it also enabled. Why not enable it for Fedora?!

Comment 5 Josh Boyer 2014-06-13 12:46:31 UTC
I didn't say we wouldn't look at enabling it.  I gave reason why it was left disabled originally.

At any rate, we're not going to flip this on in the middle of a stable release.  If it's done it will be done in rawhide.

Comment 6 Morten Stevens 2014-06-13 14:23:49 UTC
(In reply to Josh Boyer from comment #5)
> I didn't say we wouldn't look at enabling it.  I gave reason why it was left
> disabled originally.

Okay, thank you.

> At any rate, we're not going to flip this on in the middle of a stable
> release.  If it's done it will be done in rawhide.

I would be happy to see it in rawhide. Do you plan a kernel 3.15 rebase for Fedora 20? Would it be possible to enable it also for F20 with the upcoming 3.15 rebase?

Comment 7 Josh Boyer 2014-06-14 13:11:45 UTC
I enabled this in today's Rawhide kernel.  Should hit the repos tomorrow.

Comment 8 Josh Boyer 2014-06-14 13:13:08 UTC
We're likely not going to enable this in F20 with the 3.15 rebase.  We'll wait and see what happens with rawhide first.

Comment 9 Morten Stevens 2014-06-16 11:14:43 UTC
(In reply to Josh Boyer from comment #7)
> I enabled this in today's Rawhide kernel.  Should hit the repos tomorrow.

Okay, but CONFIG_RCU_NOCB_CPU_ALL is not set.

[root@fc20 boot]# cat config-3.16.0-0.rc0.git11.1.fc21.x86_64 | grep CONFIG_RCU_                                      NOCB_CPU_ALL
# CONFIG_RCU_NOCB_CPU_ALL is not set

Comment 10 Josh Boyer 2014-06-16 12:58:40 UTC
Oops.  Yes, my mistake.  I'll turn that on with today's 3.16-rc1 build.

Comment 11 Morten Stevens 2014-06-17 09:27:20 UTC
Hi Josh,

All right. The latest 3.16.0-0.rc1.git0.1.fc21.x86_64 kernel with CONFIG_RCU_NOCB_CPU=y and CONFIG_RCU_NOCB_CPU_ALL=y works fine for me. In my opinion, this is a stable feature (also enabled in RHEL 7.0 and Ubuntu 14.04 LTS) so it would be nice to have it also enabled with the next kernel 3.15 rebase for F20.

Comment 12 Josh Boyer 2014-06-17 16:46:17 UTC
Thanks for testing.  We'll evaluate f20 later.