1
0
Fork 0

Merge pull request #529 from newkit/master

Added sap-hana-kvm-guest profile
This commit is contained in:
Jaroslav Škarvada 2023-06-14 10:51:06 +02:00 committed by GitHub
commit f65b43d1dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -37,6 +37,13 @@ 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.
.TP
.BI "sap\-hana\-kvm\-guest"
A performance optimized profile for the SAP HANA application when running as
virtual guest on KVM. It loads the cpuidle-haltpoll driver to ensure lower
latencies (at the cost of a higher power consumption).
The clocksource is set to TSC, skew_tick is enabled.
.SH "FILES"
.nf
.I /etc/tuned/*

View file

@ -0,0 +1,18 @@
#
# tuned configuration
#
[main]
summary=Optimize for running SAP HANA on KVM inside a virtual guest
include=sap-hana
[modules]
cpuidle-haltpoll=+r force
[sysfs]
priority=10
/sys/devices/system/clocksource/clocksource0/current_clocksource=tsc
/sys/module/haltpoll/parameters/guest_halt_poll_ns=2400000
/sys/module/haltpoll/parameters/guest_halt_poll_grow_start=2400000
[bootloader]
cmdline_saphana=skew_tick=1

View file

@ -415,6 +415,7 @@ fi
%exclude %{_prefix}/lib/tuned/spindown-disk
%exclude %{_prefix}/lib/tuned/sap-netweaver
%exclude %{_prefix}/lib/tuned/sap-hana
%exclude %{_prefix}/lib/tuned/sap-hana-kvm-guest
%exclude %{_prefix}/lib/tuned/mssql
%exclude %{_prefix}/lib/tuned/oracle
%exclude %{_prefix}/lib/tuned/atomic-host
@ -490,6 +491,7 @@ fi
%files profiles-sap-hana
%{_prefix}/lib/tuned/sap-hana
%{_prefix}/lib/tuned/sap-hana-kvm-guest
%{_mandir}/man7/tuned-profiles-sap-hana.7*
%files profiles-mssql