]> git.proxmox.com Git - pve-docs.git/blobdiff - qm.conf.5-opts.adoc
fix #3593: add affinity to docs
[pve-docs.git] / qm.conf.5-opts.adoc
index a56dc5d6909dad081ce9034123cb9b67f9e8c14b..e46b4c23f4507a9a0ee1c10d3a2ad14e7588e47e 100644 (file)
@@ -155,6 +155,10 @@ Limit of CPU usage.
 +
 NOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit.
 
+`affinity`: `<string>`::
+
+Set of CPU cores to pin the virtual machine processes to. This is a comma sepparated list of numbers or ranges in list format as defined by the Linux man page for cpuset. ( e.g `0,4-6,9` )
+
 `cpuunits`: `<integer> (1 - 262144)` ('default =' `cgroup v1: 1024, cgroup v2: 100`)::
 
 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.