throughput-performance: added arch specific tuning for Marvell ThunderX
Resolves: rhbz#1746961 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
60a9a9509c
commit
5041abf70a
1 changed files with 17 additions and 0 deletions
|
|
@ -5,11 +5,21 @@
|
|||
[main]
|
||||
summary=Broadly applicable tuning that provides excellent performance across a variety of common server workloads
|
||||
|
||||
[variables]
|
||||
thunderx_cpuinfo_regex=CPU part\s+:\s+(0x0?516)|(0x0?af)|(0x0?a[0-3])|(0x0?b8)\b
|
||||
|
||||
[cpu]
|
||||
governor=performance
|
||||
energy_perf_bias=performance
|
||||
min_perf_pct=100
|
||||
|
||||
# Marvell ThunderX
|
||||
[vm.thunderx]
|
||||
type=vm
|
||||
uname_regex=aarch64
|
||||
cpuinfo_regex=${thunderx_cpuinfo_regex}
|
||||
transparent_hugepages=never
|
||||
|
||||
[disk]
|
||||
# The default unit for readahead is KiB. This can be adjusted to sectors
|
||||
# by specifying the relevant suffix, eg. (readahead => 8192 s). There must
|
||||
|
|
@ -60,3 +70,10 @@ vm.dirty_background_ratio = 10
|
|||
# 100 tells the kernel to aggressively swap processes out of physical memory
|
||||
# and move them to swap cache
|
||||
vm.swappiness=10
|
||||
|
||||
# Marvell ThunderX
|
||||
[sysctl.thunderx]
|
||||
type=sysctl
|
||||
uname_regex=aarch64
|
||||
cpuinfo_regex=${thunderx_cpuinfo_regex}
|
||||
kernel.numa_balancing=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue