Commit a4b1a503 authored by Jaroslav Škarvada's avatar Jaroslav Škarvada

profiles: included sap-hana and sap-hana-vmware profiles

These profiles are performance optimized for SAP HANA loads.
There are available in tuned-profiles-sap-hana subpackage.
Signed-off-by: default avatarJaroslav Škarvada <jskarvad@redhat.com>
parent 6c45d006
#!/bin/bash
# SAP ktune script
#
# TODO: drop this script and implement native support
# into plugins
. /usr/lib/tuned/functions
start() {
ethtool -K eth0 lro off
return 0
}
stop() {
ethtool -K eth0 lro on
return 0
}
process $@
#
# tuned configuration
#
[main]
include=throughput-performance
[cpu]
force_latency=1
[vm]
transparent_hugepages=never
[sysctl]
vm.swappiness = 30
kernel.sem = 1250 256000 100 8192
[script]
script=script.sh
#
# tuned configuration
#
[main]
include=throughput-performance
[cpu]
force_latency=1
[vm]
transparent_hugepages=never
[sysctl]
kernel.sem = 1250 256000 100 8192
......@@ -42,11 +42,18 @@ identify applications that behave power inefficient (many small operations
instead of fewer large ones).
%package profiles-sap
Summary: Additional tuned profile(s) targeted to SAP loads
Summary: Additional tuned profile(s) targeted to SAP NetWeaver loads
Requires: %{name} = %{version}-%{release}
%description profiles-sap
Additional tuned profile(s) targeted to SAP loads.
Additional tuned profile(s) targeted to SAP NetWeaver loads.
%package profiles-sap-hana
Summary: Additional tuned profile(s) targeted to SAP HANA loads
Requires: %{name} = %{version}-%{release}
%description profiles-sap-hana
Additional tuned profile(s) targeted to SAP HANA loads.
%package profiles-atomic
Summary: Additional tuned profiles targeted to Atomic
......@@ -116,6 +123,8 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%exclude %{_prefix}/lib/tuned/enterprise-storage
%exclude %{_prefix}/lib/tuned/spindown-disk
%exclude %{_prefix}/lib/tuned/sap-netweaver
%exclude %{_prefix}/lib/tuned/sap-hana
%exclude %{_prefix}/lib/tuned/sap-hana-vmware
%exclude %{_prefix}/lib/tuned/atomic-host
%exclude %{_prefix}/lib/tuned/atomic-guest
%{_prefix}/lib/tuned
......@@ -154,6 +163,11 @@ sed -i 's|.*/\([^/]\+\)/[^\.]\+\.conf|\1|' /etc/tuned/active_profile
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/sap-netweaver
%files profiles-sap-hana
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/sap-hana
%{_prefix}/lib/tuned/sap-hana-vmware
%files profiles-atomic
%defattr(-,root,root,-)
%{_prefix}/lib/tuned/atomic-host
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment