tuned icon indicating copy to clipboard operation
tuned copied to clipboard

prevent profile clean up on shutdown/stop

Open bcg62 opened this issue 4 years ago • 2 comments

tuned: 2022-03-07 08:37:13,431 INFO     tuned.daemon.daemon: stopping tuning
tuned: 2022-03-07 08:37:13,439 INFO     tuned.daemon.daemon: terminating TuneD, rolling back all changes

is there a profile or config option to prevent rollback? For example I load a profile and then kexec. With this rapid reload I don't need tuned to clean up settings only to re-apply them moments later.

Maybe this is an unexpected result of using systemctl kexec rather than kexec -e

Thanks.

bcg62 avatar Mar 07 '22 13:03 bcg62

Hi, I have same problem。 trace the source, donot have profile now。but u can change the python code yourself

wolegeyun avatar Jan 17 '23 03:01 wolegeyun

An option has been added to allow rollbacks to be disabled when the tuned process exits: https://github.com/redhat-performance/tuned/commit/7f3a79bbd6e1152d15187d5b071b64af08706bf4 I think that addresses this issue.

bartwensley avatar Jan 26 '24 16:01 bartwensley