Commit f823ec7
tools/contrib: add assign_crimson_cores as a more general replacement for balance_cpu
Improvements:
- shorter
- has tests
- uses lscpu -e --json to get logical<->physical mappings and avoid
needing to parse cpu ranges in lscpu --json
- supports allocating alienstore threads
- supports requiring physical cores only independently for alienstore
and seastar reactors
Signed-off-by: Samuel Just <[email protected]>
(cherry picked from commit efd4aa9)1 parent b74b612 commit f823ec7
1 file changed
+491
-0
lines changed
0 commit comments