From df94a40661bf6c91a32f4e6a49a41616c4c95d72 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Mon, 11 Nov 2024 14:30:03 +0100 Subject: [PATCH] Add balanced and cbalanced policies to likwid-pin manpage --- doc/likwid-pin.1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/likwid-pin.1 b/doc/likwid-pin.1 index 05cafcd05..28da983f7 100644 --- a/doc/likwid-pin.1 +++ b/doc/likwid-pin.1 @@ -150,6 +150,12 @@ the expression .B S:scatter results in the CPU list .B 0,2,1,3,4,6,5,7 +Besides scatter, there is also 'balanced' (close pinning over domains in natural order) and 'cbalanced' (close pinning over domain with physical cores first). If we assume the socket setup above, the expression +.B S:balanced:4 +results in the CPU list +.B 0,4,2,6 +while with cbalanced, the CPU list is (assuming 4-7 being SMT threads) +.B 0,1,2,3 .SH EXAMPLE .IP 1. 5