Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sap-hana: updated tuning #231

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 6 additions & 4 deletions man/tuned-profiles-sap-hana.7
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ The following profiles are provided:

.TP
.BI "sap\-hana"
A performance optimized profile for the SAP HANA applications.
It is based on throughput\-performance profile. It additionally disables
transparent hugepages, locks CPU to the low C states (by PM QoS) and tunes sysctl
regarding semaphores.
A performance optimized profile for the SAP HANA applications. It disables
power saving mechanisms and enables sysctl settings that improve throughput
performance of disk and network IO. CPU governor is set to performance and CPU
energy performance bias is set to performance. It also disables transparent
hugepages, locks CPU to the low C states (by PM QoS) and tunes sysctl regarding
semaphores.

.SH "FILES"
.nf
Expand Down
9 changes: 8 additions & 1 deletion profiles/sap-hana/tuned.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,21 @@

[main]
summary=Optimize for SAP HANA
include=throughput-performance

[cpu]
force_latency=cstate.id:3|70
governor=performance
energy_perf_bias=performance
min_perf_pct=100

[vm]
transparent_hugepages=never

[sysctl]
kernel.sem = 32000 1024000000 500 32000
kernel.numa_balancing = 0
kernel.sched_min_granularity_ns = 3000000
kernel.sched_wakeup_granularity_ns = 4000000
vm.dirty_ratio = 40
vm.dirty_background_ratio = 10
vm.swappiness = 10