-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4
-
None
-
tuned-2.22.0-0.1.rc1.el9
-
None
-
None
-
FutureFeature, Patch, Upstream
-
rhel-sst-cs-net-perf-services
-
ssg_core_services
-
26
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Pass
-
Needed
-
Automated
-
-
All
-
None
TuneD recently added D-bus API support. The example below demonstrates it.
Users may invoke the D-bus APIs to set selected cpus to full power and performance or to powersave modes. For example, a user may be toggling power and performance on various cpus throughout the day, depending on workload, (with the goal of saving power on unused cpus).
However, there is no way to ask TuneD what the current state is on a system. E.G.: Which cpus are in full power/performance (governor, EPB, Cstate/pm_qos), and which ones are in powersave mode.
This RFE is a request for that functionality.
Thank you.
Joe Mario
Example profile using the dbus.
> # cat /etc/tuned/test_Dbus-profile/tuned.conf
> [main]
> summary=Testing out Dbus interface
> include=throughput-performance
>
> # workaround for inheritance problems with TuneD PR477
> [cpu]
> enabled=0
>
> [cpus_performance]
> type=cpu
> devices=cpu8,cpu9
> governor=performance
> pm_qos_resume_latency_us=2
>
> [cpus_powersave]
> type=cpu
> devices=*
> governor=powersave
Then, the above can be utilized with either busctl or dbus-send.
For example, to additionally set cpus 10-13 at full power, do the the following:
- busctl call com.redhat.tuned /Tuned com.redhat.tuned.control instance_acquire_devices ss cpu10,cpu11,cpu12,cpu13 cpus_performance
or with:
- dbus-send --system --print-reply --dest="com.redhat.tuned" /Tuned com.redhat.tuned.control.instance_acquire_devices string:cpu10,cpu11,cpu12,cpu13 string:cpus_performance
- links to
-
RHBA-2024:127940 tuned update
- mentioned on