[PATCH 2/2] chcpu(8): Document CPU deconfiguring behavior

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

 



If architecture supports (de)configuring CPUs, the user should
deconfigure disabled CPUs to prevent performance penalties.

Signed-off-by: Mete Durlu <meted@xxxxxxxxxxxxx>
---
 sys-utils/chcpu.8.adoc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-utils/chcpu.8.adoc b/sys-utils/chcpu.8.adoc
index 0b0bcbc57..f08b5a6ab 100644
--- a/sys-utils/chcpu.8.adoc
+++ b/sys-utils/chcpu.8.adoc
@@ -39,6 +39,8 @@ Enable the specified CPUs. Enabling a CPU means that the kernel sets it online.
 Deconfigure the specified CPUs. Deconfiguring a CPU means that the hypervisor removes the CPU from the virtual hardware on which the Linux instance runs and returns it to the CPU pool. A CPU must be offline, see *-d*, before it can be deconfigured.
 +
 *chcpu -g* is not supported on IBM z/VM, CPUs are always in a configured state.
++
+if *chcpu -g* is supported, any *disabled* CPUs should be *deconfigured* to inform the hypervisor that these CPUs won't be used, avoiding potential performance penalties.
 
 *-p*, *--dispatch* _mode_::
 Set the CPU dispatching _mode_ (polarization). This option has an effect only if your hardware architecture and hypervisor support CPU polarization. Available _modes_ are:
-- 
2.46.0





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux