Multi Profile option in TuneD#567
Conversation
Introducing multi_profile option in TuneD which does the below: 1) Apply a profile on specific set of cores 2) Apply multiple profiles on different sets of cores simultaneously. More on multi_profile : https://docs.google.com/document/d/1Tb6LygN8aM5pdX7akqNe3Wsn65O3oBkPZBEKEX6tZ_s/edit Signed-off-by: Veda Barrenkala <vedabarrenkala@gmail.com>
|
Sorry for the delay, I was busy with the TuneD FDP pre-release and related tasks. I think that with the current syntax you can achieve nearly everything from the proposal, e.g.:
Custom profile: The custom profile can be even named PROFILE and put into /etc/tuned, then the
PROFILE1: PROFILE2: And the final profile loading multiple profiles and aplying them on specific CPUs: For the 2) to work with the stock profiles all we would have to do is to rewrite the profiles to use unique instance names, e.g. instead of the following in the balanced profile: which is semantically equivalent and just a shortcut to: we could have the following: I am also thinking about per-instance include for some time, but I have never implemented it, which could be also useful, e.g.: Which would include to the instance [cpu_power] just the instance [cpu] from the profile "powersave" and then you could override whatever you want. But other than that I wouldn't probably complicate the current behavior. I am keeping this open for a discussion.. |
|
Hi Yarda, Thanks for your feedback. I was not aware of the multiprofile option already being present in TuneD. I see it is not properly documented anywhere. Maybe that's the reason. Anyway, we are trying to understand it and check if it serves our purpose. Will reach out to you when we need help. Thank you. |
Introducing multi_profile option in TuneD which does the below:
More on multi_profile :
https://docs.google.com/document/d/1Tb6LygN8aM5pdX7akqNe3Wsn65O3oBkPZBEKEX6tZ_s/edit