-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply tuned profile on SEAPATH virtual machines #529
Comments
Possibly relevant information. I mentioned it because on the hypervisor you're setting kernel commandline parameters through tuned as well, so it might warrant a dedicated profile that extends |
I've tried this and the Kernel super doesn't like it. Not stable.
Probably don't need a dedicated tuned-profile for the VM for now.
|
Thanks for your investigations Daniel, this topic is important. Applying the tuned profile in the VM could provide CPU isolation inside the virtual machine. That's a use case we have for testing at SFL, but I don't know if it will be used in production. I'm not a specialist of tuned, but wouldn't it be interesting to have a VM tuned profile to setup some parameters ? like cpufreq.default_governor=performance for example ? |
I don't consider myself a tuned specialist either ;) But what you're referring to would be a commandline parameter for the kernel (in this case of the VM). Which would in turn use the sysfs interface to set the behaviour for frequency scaling (boosting) cpu frequency. I'm not sure whether that would work in the first place, and if it does whether its a good idea to be handled by the VM. That being said though. That setting is only gonna do anything in the first place, if you don't set intel_pstate=disable. Because that will turn off dynamic voltage and frequency scaling. Typically you want this for RT-applications, but intel has done some nice studies into mixed criticallity which look quite promising for using it to some degree. Here are some slides on DVFS in mixed criticality. I originally looked into the whitepaper linked in the further reading section, but it seems to no longer be available. |
Okay, thanks for your investigations. I close this one, at least for now. |
Hi Daniel This three does not have any effect because I didn't defined any Are you sure that the other do not affect the virtual machine real-time capabilities ? |
As far as I can tell there is no real way to preview what a profile would change. You have to check out the all the includes for for the tuned profile you want to apply, and also its corresponding variables. Your parameters are probably pulled in by the realtime profile, and the variables need to be set in The includes for realtime-virtual-guest looks like this EDIT: Forgot to address some of your other points. |
Hi Daniel I will post a PR that load this tuned profile inside the virtual machines. |
Yeah sure, I got no objections. |
Tuned is used to configure the real-time capabilities in the Debian kernel.
A custom Seapath tuned profile is applied to the hypervisor in
ansible/roles/debian/hypervisor/tasks/main.yml
Line 167 in f087cef
A tuned profile must also be applied on SEAPATH VM. A simple
realtime-virtual-guest
could do the jobThe text was updated successfully, but these errors were encountered: