-
Notifications
You must be signed in to change notification settings - Fork 21
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
daemon,agent: Use custom load1 for CPU scaling #1136
base: misha/cpu-scaling
Are you sure you want to change the base?
Commits on Oct 31, 2024
-
neonvm-controller: add spec.cpuScalingMode, change vm-controller to e…
…xplicitly default the field value if it is not set Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8853993 - Browse repository at this point
Copy the full SHA 8853993View commit details -
neonvmrunner,neonvmcontroller: allocate all possible CPUs to the VM a…
…nd mark vmSpec.Guest.CPUs.Min as online during the boot Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 513a1a2 - Browse repository at this point
Copy the full SHA 513a1a2View commit details -
neonvmd: expose interface to control online/offline state of the CPUs
Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 72f060c - Browse repository at this point
Copy the full SHA 72f060cView commit details -
neonvm: sysfs cpu state based scaling support
introduce separate CPU scaling flow based on the vmSpec.cpuScalingMode If vmSpec.cpuScalingMode is equal to `qmp_scaling` the logic of the scaling is preserved as before: - Scale, if required the amount of CPUs using qmp commands. - If it is required to scale cgroups, call vm-runner /cpu_change endpoint if vmSpec.cpuScalingMode is equal to `cpuSysfsStateScaling` all cpu scaling requests go directly to the vm-runner /cpu_change, which in that configuration goes to the neonvm-daemon to reconcile required amount of online CPUs. Value `cpuSysfsStateScaling` also modifies the qemu and the kernel arguments to enable plug all CPUs but mark as online only first one. Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 998f78d - Browse repository at this point
Copy the full SHA 998f78dView commit details -
neonvm: apply code review fixes
pass cpuScalingMode as argument to the vm-runner rename arguments, constants and functions here and there drop unused code move default cpu scaling mode to controller argument Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 65e86fb - Browse repository at this point
Copy the full SHA 65e86fbView commit details -
neonvm-controller: apply lint and regenerate code
Co-authored-by: Oleg Vasilev <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for adbcc04 - Browse repository at this point
Copy the full SHA adbcc04View commit details -
neonvm-controller: rename runner cpu functions
Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 97ff1f7 - Browse repository at this point
Copy the full SHA 97ff1f7View commit details -
neonvm-controller: make spec.cpuScalingMode immutable if already set
Signed-off-by: Misha Sakhnov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 991ba87 - Browse repository at this point
Copy the full SHA 991ba87View commit details
Commits on Nov 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 68c68e4 - Browse repository at this point
Copy the full SHA 68c68e4View commit details