Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 666020 Details for
Bug 887355
disable transparent hugepages in latency-performance profile
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed fix
tuned-1-add-thp-never.patch (text/plain), 2.61 KB, created by
Jaroslav Škarvada
on 2012-12-19 11:08:10 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jaroslav Škarvada
Created:
2012-12-19 11:08:10 UTC
Size:
2.61 KB
patch
obsolete
>diff --git a/tune-profiles/enterprise-storage/ktune.sh b/tune-profiles/enterprise-storage/ktune.sh >index 924d3ee..8106cf2 100755 >--- a/tune-profiles/enterprise-storage/ktune.sh >+++ b/tune-profiles/enterprise-storage/ktune.sh >@@ -4,7 +4,7 @@ > > start() { > set_cpu_governor performance >- enable_transparent_hugepages >+ set_transparent_hugepages always > disable_disk_barriers > multiply_disk_readahead 4 > >diff --git a/tune-profiles/functions b/tune-profiles/functions >index 1fad391..0b44731 100644 >--- a/tune-profiles/functions >+++ b/tune-profiles/functions >@@ -226,10 +226,10 @@ disable_cpu_multicore_powersave() { > THP_ENABLE="/sys/kernel/mm/redhat_transparent_hugepage/enabled" > THP_SAVE="/var/run/tuned/ktune-thp.save" > >-enable_transparent_hugepages() { >+set_transparent_hugepages() { > if [ -e $THP_ENABLE ]; then > cut -f2 -d'[' $THP_ENABLE | cut -f1 -d']' > $THP_SAVE >- (echo always > $THP_ENABLE) &> /dev/null >+ (echo "$1" > $THP_ENABLE) &> /dev/null > fi > } > >diff --git a/tune-profiles/latency-performance/ktune.sh b/tune-profiles/latency-performance/ktune.sh >index de39c60..9eb5bc3 100755 >--- a/tune-profiles/latency-performance/ktune.sh >+++ b/tune-profiles/latency-performance/ktune.sh >@@ -5,6 +5,7 @@ > start() { > set_cpu_governor performance > /usr/libexec/tuned/pmqos-static.py cpu_dma_latency=0 >+ set_transparent_hugepages never > > return 0 > } >@@ -12,7 +13,7 @@ start() { > stop() { > restore_cpu_governor > /usr/libexec/tuned/pmqos-static.py disable >- >+ restore_transparent_hugepages > return 0 > } > >diff --git a/tune-profiles/throughput-performance/ktune.sh b/tune-profiles/throughput-performance/ktune.sh >index 168aecc..671f4fe 100755 >--- a/tune-profiles/throughput-performance/ktune.sh >+++ b/tune-profiles/throughput-performance/ktune.sh >@@ -4,7 +4,7 @@ > > start() { > set_cpu_governor performance >- enable_transparent_hugepages >+ set_transparent_hugepages always > > return 0 > } >diff --git a/tune-profiles/virtual-guest/ktune.sh b/tune-profiles/virtual-guest/ktune.sh >index 924d3ee..8106cf2 100755 >--- a/tune-profiles/virtual-guest/ktune.sh >+++ b/tune-profiles/virtual-guest/ktune.sh >@@ -4,7 +4,7 @@ > > start() { > set_cpu_governor performance >- enable_transparent_hugepages >+ set_transparent_hugepages always > disable_disk_barriers > multiply_disk_readahead 4 > >diff --git a/tune-profiles/virtual-host/ktune.sh b/tune-profiles/virtual-host/ktune.sh >index 924d3ee..8106cf2 100755 >--- a/tune-profiles/virtual-host/ktune.sh >+++ b/tune-profiles/virtual-host/ktune.sh >@@ -4,7 +4,7 @@ > > start() { > set_cpu_governor performance >- enable_transparent_hugepages >+ set_transparent_hugepages always > disable_disk_barriers > multiply_disk_readahead 4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 887355
: 666020