Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-15141

TuneD RFE: Add "tuned-adm" support to Dbus API

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.4
    • rhel-9.4
    • tuned
    • 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
    • Hide

      None

      Show
      None
    • None
    • None
    • 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

              jskarvad Jaroslav Skarvada
              jmario@redhat.com Joe Mario
              Jaroslav Skarvada Jaroslav Skarvada
              Robin Hack Robin Hack
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: