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

[libvirt] [PATCH] docs: update docs for cpu_shares setting



* 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


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