redhat-performance / tuned

Tuning Profile Delivery Mechanism for Linux
GNU General Public License v2.0
814 stars 178 forks source link

Add a tuned-adm command for moving devices between plugin instances #566

Closed zacikpa closed 10 months ago

zacikpa commented 11 months ago

Resolves: RHEL-15141

Until now, this was only possible by manually sending a message to TuneD via the DBus API.

yarda commented 11 months ago

Thanks, maybe just update the man and built-in help, otherwise OK.

yarda commented 11 months ago

I was thinking a bit more about it. Maybe we could drop the -c | --cpu-list arguments and rely only on the "cpulist:" prefix the API supports and just document it. Maybe it's more consistent approach? What do you think?

zacikpa commented 11 months ago

I was thinking a bit more about it. Maybe we could drop the -c | --cpu-list arguments and rely only on the "cpulist:" prefix the API supports and just document it. Maybe it's more consistent approach? What do you think?

I think that makes sense. As you say, it's more consistent, and we don't duplicate the handling of the option. I will remove it and mention the cpulist: prefix in the manpages.