Browse code

Add description for "--cpu-shares=0".

Signed-off-by: Yuan Sun <sunyuan3@huawei.com>

Yuan Sun authored on 2015/10/08 11:50:55
Showing 1 changed files
... ...
@@ -800,7 +800,8 @@ can be modified by changing the container's CPU share weighting relative
800 800
 to the weighting of all other running containers.
801 801
 
802 802
 To modify the proportion from the default of 1024, use the `-c` or `--cpu-shares`
803
-flag to set the weighting to 2 or higher.
803
+flag to set the weighting to 2 or higher. If 0 is set, the system will ignore the
804
+value and use the default of 1024.
804 805
 
805 806
 The proportion will only apply when CPU-intensive processes are running.
806 807
 When tasks in one container are idle, other containers can use the