SUSE/saptune

View on GitHub
testdata/ini_wrong_test.ini

Summary

Maintainability
Test Coverage
# 1557506 - Linux paging improvements
# Description:    Tune page cache limit to prevent eviction of SAP applications memory into swap
# Version 16 from 06.02.2020 in English

[version]
# SAP-NOTE=1234567 CATEGORY=Linux VERSION=2 DATE=02.11.2017 NAME="ini_test: SAP Note file for ini_test"

VERSION=16
DATE=06.02.2020

[pagecache]
## Type:    yesno
## Default: no
#
# Consider to enable pagecache limit feature if your SAP workloads cause 
# frequent and excessive swapping activities.
# It is recommended to leave pagecache limit disabled if the system has low 
# or no swap space.
ENABLE_PAGECACHE_LIMIT=no

## Type:    integer
## Default: 1
#
# Whether or not to ignore dirty memory when enforcing the pagecache limit.
# If set to 0, dirty (unmapped) memory will be considered freeable and the Linux
# kernel will try to write the pages out when enforcing the page cache limit.
# If set to 1 (ignore all dirty memory in the page cache when enforcing the limit)
# the page cache can actually grow well beyond the configured limit if lots of writes
# happen to local filesystems.
# If set to 2 - a middle ground, some dirty memory will be freed when enforcing
# the limit.
vm.pagecache_limit_ignore_dirty=1

## Type:    integer
## Default: ""
#
# When pagecache limit feature is enabled, this parameter defines how to set
# the pagecache limit
# The limit value can be calculated automatically or the value can be overridden
# if you set this parameter to the desired limit value.
#
# To calculate the limit, set the parameter to 0.
# Or set the parameter to the desired limit value.
# An empty string will be treated as 0. To disable pagecache limit use the
# variable ENABLE_PAGECACHE_LIMIT above
OVERRIDE_PAGECACHE_LIMIT_MB=0