throughput-performance: added arch specific tuning for AMD
Resolves: rhbz#1746957 Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
5041abf70a
commit
f87263ae20
1 changed files with 9 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ summary=Broadly applicable tuning that provides excellent performance across a v
|
|||
|
||||
[variables]
|
||||
thunderx_cpuinfo_regex=CPU part\s+:\s+(0x0?516)|(0x0?af)|(0x0?a[0-3])|(0x0?b8)\b
|
||||
amd_cpuinfo_regex=model name\s+:.*\bAMD\b
|
||||
|
||||
[cpu]
|
||||
governor=performance
|
||||
|
|
@ -77,3 +78,11 @@ type=sysctl
|
|||
uname_regex=aarch64
|
||||
cpuinfo_regex=${thunderx_cpuinfo_regex}
|
||||
kernel.numa_balancing=0
|
||||
|
||||
# AMD
|
||||
[sysctl.amd]
|
||||
type=sysctl
|
||||
uname_regex=x86_64
|
||||
cpuinfo_regex=${amd_cpuinfo_regex}
|
||||
kernel.sched_migration_cost_ns=5000000
|
||||
kernel.numa_balancing=0
|
||||
|
|
|
|||
Loading…
Reference in a new issue