[PATCH] docs: update docs for cpu_shares setting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* tools/virsh.pod
---
 tools/virsh.pod |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index 441ca8a..d3262b6 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -566,7 +566,11 @@ Xen (credit scheduler): weight, cap

 ESX (allocation scheduler): reservation, limit, shares

-B<Note>: The cpu_shares parameter has a valid value range of 0-262144.
+B<Note>: The cpu_shares parameter has a valid value range of 0-262144, however,
+negative number and positive number greater than 262144 are allowed, but
+negative number will be converted into positive number, and positive number
+greater than 262144 will be reduced to 262144 by cgroup in the end, e.g. -1
+can be used as useful shorthand for 262144.

 B<Note>: The weight and cap parameters are defined only for the
 XEN_CREDIT scheduler and are now I<DEPRECATED>.
--
1.7.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]