Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15:Update
tuned.14822
check_for_cpupower.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check_for_cpupower.patch of Package tuned.14822
Index: tuned-2.8.0/tuned/plugins/plugin_cpu.py =================================================================== --- tuned-2.8.0.orig/tuned/plugins/plugin_cpu.py +++ tuned-2.8.0/tuned/plugins/plugin_cpu.py @@ -18,12 +18,15 @@ class CPULatencyPlugin(base.Plugin): Plugin for tuning CPU options. Powersaving, governor, required latency, etc. """ + CPUPOWER_PATH = "/usr/bin/cpupower" + def __init__(self, *args, **kwargs): super(self.__class__, self).__init__(*args, **kwargs) self._has_pm_qos = True self._has_energy_perf_bias = True self._has_intel_pstate = False + self._has_cpupower = os.path.isfile(self.CPUPOWER_PATH) and os.access(self.CPUPOWER_PATH, os.X_OK) self._min_perf_pct_save = None self._max_perf_pct_save = None
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor