From 9ef9656c96d9681d2069fae83025423193e9da4b Mon Sep 17 00:00:00 2001 From: Elisamara Aoki Goncalves Date: Tue, 2 Aug 2022 15:12:42 -0300 Subject: [PATCH] Fix keystone prompt Fixing promt from review https://review.opendev.org/c/starlingx/docs/+/845379 Signed-off-by: Elisamara Aoki Goncalves Change-Id: I6177b0ee95af3626ebecc80bcfeeff10c3a01e5f --- ...-cores-to-enhance-application-performance.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/source/admintasks/kubernetes/isolating-cpu-cores-to-enhance-application-performance.rst b/doc/source/admintasks/kubernetes/isolating-cpu-cores-to-enhance-application-performance.rst index 193f805df..a8d58ee8f 100644 --- a/doc/source/admintasks/kubernetes/isolating-cpu-cores-to-enhance-application-performance.rst +++ b/doc/source/admintasks/kubernetes/isolating-cpu-cores-to-enhance-application-performance.rst @@ -20,11 +20,11 @@ For example: .. code-block:: none - ~(keystone)admin)$ system host-lock worker-1 - ~(keystone)admin)$ system host-cpu-modify -f platform -p0 1 worker-1 - ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p0 15 worker-1 - ~(keystone)admin)$ system host-cpu-modify -f application-isolated -p1 15 worker-1 - ~(keystone)admin)$ system host-unlock worker-1 + ~(keystone_admin)]$ system host-lock worker-1 + ~(keystone_admin)]$ system host-cpu-modify -f platform -p0 1 worker-1 + ~(keystone_admin)]$ system host-cpu-modify -f application-isolated -p0 15 worker-1 + ~(keystone_admin)]$ system host-cpu-modify -f application-isolated -p1 15 worker-1 + ~(keystone_admin)]$ system host-unlock worker-1 All |SMT| siblings (hyperthreads, if enabled) on a core will have the same assigned function. On host boot, any CPUs designated as isolated will be @@ -102,19 +102,19 @@ kernels: .. code-block:: none - ~(keystone)admin)$ system host-lock + ~(keystone_admin)]$ system host-lock #. Assign the ``disable-nohz-full`` label. .. code-block:: none - ~(keystone)admin)$ system host-label-assign disable-nohz-full=enabled + ~(keystone_admin)]$ system host-label-assign disable-nohz-full=enabled #. Unlock the host. .. code-block:: none - ~(keystone)admin)$ system host-unlock + ~(keystone_admin)]$ system host-unlock .. note:: ``disable-nohz-full`` label can be also assigned via the GUI. \ No newline at end of file