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.
+ operating systems or kernel versions. This option doesn't
+ work well for a higher CPU count than what you can store in
+ an integer mask, so it can only control cpus 1-32. For
+ boxes with larger CPU counts, use cpus_allowed.
cpus_allowed=str Controls the same options as cpumask, but it allows a text
setting of the permitted CPUs instead. So to use CPUs 1 and
- 5, you would specify cpus_allowed=1,5.
+ 5, you would specify cpus_allowed=1,5. This options also
+ allows a range of CPUs. Say you wanted a binding to CPUs
+ 1, 5, and 8-15, you would set cpus_allowed=1,5,8-15.
startdelay=time Start this job the specified number of seconds after fio
has started. Only useful if the job file contains several