-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4
-
None
-
tuned-2.22.0-0.1.rc1.el9
-
None
-
None
-
Patch, Upstream
-
rhel-sst-cs-net-perf-services
-
ssg_core_services
-
26
-
None
-
False
-
-
None
-
None
-
Pass
-
Needed
-
Automated
-
-
All
-
None
TuneD recently added API support for accessing TuneD via the Dbus interface.
That API works well, but it is cumbersome, and customers will likely request a more simple interface.
For example, one method is via dbus-send, as shown here:
- # 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
Another method is via busctl, as shown here:
- # busctl call com.redhat.tuned /Tuned com.redhat.tuned.control instance_acquire_devices ss cpu10,cpu11,cpu12,cpu13 cpus_performance
Jaroslav suggested the above syntax could be simplified if the "tuned-adm" binary was used. For example, the above dbus-send and busctl commands could be done with:
- # tuned-adm instance_acquire_devices cpu10,cpu11,cpu12,cpu13 cpus_performance
While at it, it would be good to find a way to simplify the cpu enumeration, (similar to the way the TuneD plugins do it: "devices=${f:cpulist2devs:1-10,12,15-20}"
Thank you.
Joe Mario
- links to
-
RHBA-2024:127940 tuned update
- mentioned on