Bug 1447323

Summary: tuned-profiles-oracle and KCS 39188 use different settings
Product: Red Hat Enterprise Linux 7 Reporter: George Angelopoulos <gangelop>
Component: tunedAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Dominik Rehák <drehak>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.4CC: drehak, external.z09oduqu, jeder, jskarvad, olysonek, psklenar, rlopez, tcerna, thozza
Target Milestone: rcKeywords: Patch, Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tuned-2.10.0-0.1.rc1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-30 10:48:57 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: 1549614    

Description George Angelopoulos 2017-05-02 12:20:38 UTC
Description of problem:
The settings applied by tuned-profiles-oracle are different from the settings recommended in knoledgebase solution (KCS) 39188

  Tuning Red Hat Enterprise Linux for Oracle and Oracle RAC performance
  https://access.redhat.com/solutions/39188

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

These are the values from the package compared to what they should be according to solution 39188
vm.swappiness = 1       <= should be 10
vm.dirty_ratio = 80    <= should be 40
kernel.shmmax = 4398046511104   <= should be calculated
kernel.shmall = 1073741824    <= should be calculated
kernel.sem = 250 32000 100 128    <= should be calculated

Either the tuned profile needs to change or our KCS.

I'm far from an expert in this, so I don't have a good suggestion. If there is some more information I can provide, please let me know.

Comment 10 Jaroslav Škarvada 2018-06-06 15:46:30 UTC
I changed profile according to previous comments, upstream commit:
https://github.com/redhat-performance/tuned/commit/64517b7785d5f302f1029dc080d8e147646d5ef5

At the moment kernel.shmmax, kernel.shmall, and kernel.sem are preset, because it seems to be sufficient, but Tuned is capable of calculating them. If it is needed to dynamically calculate them, please let me know and provide the formulas.

Comment 12 rlopez 2018-06-11 13:20:18 UTC
@Jaroslav - The values for shammx, shmall, shmmni since they are already set high by default on the distro so  it should be fine as is.

Comment 16 errata-xmlrpc 2018-10-30 10:48:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3172