diff --git a/man/tuned-profiles-sap-hana.7 b/man/tuned-profiles-sap-hana.7 index e89e35a..3690b86 100644 --- a/man/tuned-profiles-sap-hana.7 +++ b/man/tuned-profiles-sap-hana.7 @@ -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/* diff --git a/profiles/sap-hana-kvm-guest/tuned.conf b/profiles/sap-hana-kvm-guest/tuned.conf new file mode 100644 index 0000000..386c602 --- /dev/null +++ b/profiles/sap-hana-kvm-guest/tuned.conf @@ -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 diff --git a/tuned.spec b/tuned.spec index 57924ae..8550abf 100644 --- a/tuned.spec +++ b/tuned.spec @@ -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