From a08bc17f470c3ae3abbc90f9ca77c37866ad0028 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 13 Jun 2007 21:00:46 +0200 Subject: [PATCH] HOWTO: expand the cpumask explanation a bit Signed-off-by: Jens Axboe --- HOWTO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HOWTO b/HOWTO index 99cbaea3..7e706aba 100644 --- a/HOWTO +++ b/HOWTO @@ -466,7 +466,9 @@ ratecycle=int Average bandwidth for 'rate' and 'ratemin' over this number of milliseconds. cpumask=int Set the CPU affinity of this job. The parameter given is a - bitmask of allowed CPU's the job may run on. See man + bitmask of allowed CPU's the job may run on. So if you want + the allowed CPUs to be 1 and 5, you would pass the decimal + value of (1 << 1 | 1 << 5), or 34. See man sched_setaffinity(2). This may not work on all supported operating systems or kernel versions. -- 2.25.1