mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-08 21:18:03 +03:00
conf: cpuunits: adapt description and defaults for cgroup v2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6c71a52acd
commit
67498860a4
@ -315,11 +315,13 @@ my $confdesc = {
|
||||
cpuunits => {
|
||||
optional => 1,
|
||||
type => 'integer',
|
||||
description => "CPU weight for a VM.",
|
||||
verbose_description => "CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.",
|
||||
description => "CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.",
|
||||
verbose_description => "CPU weight for a VM. Argument is used in the kernel fair scheduler."
|
||||
." The larger the number is, the more CPU time this VM gets. Number is relative to"
|
||||
." weights of all the other running VMs.",
|
||||
minimum => 2,
|
||||
maximum => 262144,
|
||||
default => 1024,
|
||||
default => 'cgroup v1: 1024, cgroup v2: 100',
|
||||
},
|
||||
memory => {
|
||||
optional => 1,
|
||||
|
Loading…
Reference in New Issue
Block a user