summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-06-13 21:00:46 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-06-13 21:00:46 +0200
commita08bc17f470c3ae3abbc90f9ca77c37866ad0028 (patch)
treeba49648b2857fcef247a53fec60f1e799e79031f
parentdd19ee6d101147473a02e2ed965459cfa3fbfe59 (diff)
downloadfio-a08bc17f470c3ae3abbc90f9ca77c37866ad0028.tar.gz
fio-a08bc17f470c3ae3abbc90f9ca77c37866ad0028.tar.bz2
HOWTO: expand the cpumask explanation a bit
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--HOWTO4
1 files changed, 3 insertions, 1 deletions
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.