Bug 1274445

Summary: tuned-profiles-nfv: add nohz=on to the kernel command-line
Product: Red Hat Enterprise Linux 7 Reporter: Luiz Capitulino <lcapitulino>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED WORKSFORME QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jeder, jskarvad, williams
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-03 14:38:22 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:
Bug Depends On:    
Bug Blocks: 1240765, 1273048    

Description Luiz Capitulino 2015-10-22 17:59:51 UTC
The RHEL real-time kernel is disabling nohz by default since kernel 3.10.0-320.rt56.196.el7 (bug 1206356), so we need to pass "nohz=on" in the host and guest profiles in order to enable it back.

Note that passing nozh_full= is not enough, we have to pass nohz_full= *and* nohz=on.

Comment 1 Jaroslav Škarvada 2015-10-29 15:18:14 UTC
Fixed trivially upstream by the following commit:
https://git.fedorahosted.org/cgit/tuned.git/commit/?id=9aeb585a636a5987cb5053317f4d9bb83d27f3fa

I will create nicer fix once the feature from bug 1274464 is ready.

Comment 2 Luiz Capitulino 2015-10-29 19:36:05 UTC
Thanks Jaroslav.

There's a discussion downstream about enabling nohz automagically when the kernel sees nohz_full= in the command-line. If this fix is implemented, then we don't have to rush with this on downstream (although it doesn't hurt having, in fact I think it's a good idea to have it because KVM-RT do depend on this feature).

Comment 3 Clark Williams 2015-10-29 20:26:36 UTC
Ah, Luiz beat me to it. I believe we'll have the nohz fix in 7.2 GA, presuming everything goes as planned. The fix is to to enable nohz if we see nohz_full while parsing/processing the boot command line. Bz for that one is 1274519.

Comment 4 Luiz Capitulino 2015-11-03 14:38:22 UTC
The RHEL RT kernel got this issue fixed by enabling nohz when the kernel sees nohz_full= in the command-line (bug 1276071), so we don't need this fix anymore.

Jarda, sorry for making you fix this in upstream. You could revert the fix, as it's probably unusual to have nohz disabled by default. Or, you could leave it this way as it doesn't make any difference.