tuned icon indicating copy to clipboard operation
tuned copied to clipboard

[Features request] Ability to define profile at start

Open ghost opened this issue 8 years ago • 3 comments

Add the possibility to choose a profile to load when tuned start and set it in a config file.

ghost avatar Oct 22 '17 19:10 ghost

Tuned 2.9.0 has /etc/tuned/recommend.d directory. You can put your configuration file there, syntax follows /usr/lib/tuned/recommend.d/50-tuned-recommend.conf, i.e. add file with the content: [balanced]

And 'balanced' profile will be set for the first start of Tuned and recommended whenever you run 'tuned-adm recommend'. You can set there various rules saying what profile will be recommended on which configuration (e.g. different default profiles on bare metal/VM/server/laptop, etc. are possible with one configuration file).

yarda avatar Oct 22 '17 19:10 yarda

Ok. Thanks. Is it possible to use this recommend system to dynamically set the profile on laptop battery?

ghost avatar Oct 22 '17 20:10 ghost

Not yet, but we have it on our todo list to extend the syntax and add support for AC/battery rules and battery capacity rules.

yarda avatar Oct 22 '17 20:10 yarda