* [PATCH 0/2] chcpu documentation update
@ 2024-09-02 15:05 Mete Durlu
2024-09-02 15:05 ` [PATCH 1/2] chcpu(8): Fix typo Mete Durlu
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mete Durlu @ 2024-09-02 15:05 UTC (permalink / raw)
To: kzak; +Cc: util-linux, hca
This patch series, fixes a typo and adds a CPU (de)configuration hint
to the chcpu manual.
Mete Durlu (2):
chcpu(8): Fix typo
chcpu(8): Document CPU deconfiguring behavior
sys-utils/chcpu.8.adoc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--
2.46.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] chcpu(8): Fix typo
2024-09-02 15:05 [PATCH 0/2] chcpu documentation update Mete Durlu
@ 2024-09-02 15:05 ` Mete Durlu
2024-09-02 15:05 ` [PATCH 2/2] chcpu(8): Document CPU deconfiguring behavior Mete Durlu
2024-09-03 9:51 ` [PATCH 0/2] chcpu documentation update Karel Zak
2 siblings, 0 replies; 4+ messages in thread
From: Mete Durlu @ 2024-09-02 15:05 UTC (permalink / raw)
To: kzak; +Cc: util-linux, hca
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
---
sys-utils/chcpu.8.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-utils/chcpu.8.adoc b/sys-utils/chcpu.8.adoc
index 80dfc5f20..0b0bcbc57 100644
--- a/sys-utils/chcpu.8.adoc
+++ b/sys-utils/chcpu.8.adoc
@@ -38,7 +38,7 @@ Enable the specified CPUs. Enabling a CPU means that the kernel sets it online.
*-g*, *--deconfigure* _cpu-list_::
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.
+*chcpu -g* is not supported on IBM z/VM, CPUs are always in a configured state.
*-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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] chcpu(8): Document CPU deconfiguring behavior
2024-09-02 15:05 [PATCH 0/2] chcpu documentation update Mete Durlu
2024-09-02 15:05 ` [PATCH 1/2] chcpu(8): Fix typo Mete Durlu
@ 2024-09-02 15:05 ` Mete Durlu
2024-09-03 9:51 ` [PATCH 0/2] chcpu documentation update Karel Zak
2 siblings, 0 replies; 4+ messages in thread
From: Mete Durlu @ 2024-09-02 15:05 UTC (permalink / raw)
To: kzak; +Cc: util-linux, hca
If architecture supports (de)configuring CPUs, the user should
deconfigure disabled CPUs to prevent performance penalties.
Signed-off-by: Mete Durlu <meted@linux.ibm.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 0/2] chcpu documentation update
2024-09-02 15:05 [PATCH 0/2] chcpu documentation update Mete Durlu
2024-09-02 15:05 ` [PATCH 1/2] chcpu(8): Fix typo Mete Durlu
2024-09-02 15:05 ` [PATCH 2/2] chcpu(8): Document CPU deconfiguring behavior Mete Durlu
@ 2024-09-03 9:51 ` Karel Zak
2 siblings, 0 replies; 4+ messages in thread
From: Karel Zak @ 2024-09-03 9:51 UTC (permalink / raw)
To: Mete Durlu; +Cc: util-linux, hca
On Mon, Sep 02, 2024 at 05:05:51PM GMT, Mete Durlu wrote:
> Mete Durlu (2):
> chcpu(8): Fix typo
> chcpu(8): Document CPU deconfiguring behavior
Applied, thanks!
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-03 9:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-02 15:05 [PATCH 0/2] chcpu documentation update Mete Durlu
2024-09-02 15:05 ` [PATCH 1/2] chcpu(8): Fix typo Mete Durlu
2024-09-02 15:05 ` [PATCH 2/2] chcpu(8): Document CPU deconfiguring behavior Mete Durlu
2024-09-03 9:51 ` [PATCH 0/2] chcpu documentation update Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).