summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2019-09-11 10:56:39 -0400
committerJens Axboe <axboe@kernel.dk>2019-09-11 09:00:16 -0600
commit4a4199035ee07da312b5a611637a164ebe8a4805 (patch)
tree184790e3920ac18c065966b7b9dd43c64214692b
parent27f436d9f72a9d2d3da3adfdf712757152eab29e (diff)
downloadfio-4a4199035ee07da312b5a611637a164ebe8a4805.tar.gz
fio-4a4199035ee07da312b5a611637a164ebe8a4805.tar.bz2
doc: clarify what --alloc-size does
The alloc-size option actually directs fio to allocate additional shared memory pools of the specified size, augmenting the default allocation. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--HOWTO4
-rw-r--r--fio.14
2 files changed, 4 insertions, 4 deletions
diff --git a/HOWTO b/HOWTO
index 6b449e97..4fef1504 100644
--- a/HOWTO
+++ b/HOWTO
@@ -222,8 +222,8 @@ Command line options
.. option:: --alloc-size=kb
- Set the internal smalloc pool size to `kb` in KiB. The
- ``--alloc-size`` switch allows one to use a larger pool size for smalloc.
+ Allocate additional internal smalloc pools of size `kb` in KiB. The
+ ``--alloc-size`` option increases shared memory set aside for use by fio.
If running large jobs with randommap enabled, fio can run out of memory.
Smalloc is an internal allocator for shared structures from a fixed size
memory pool and can grow to 16 pools. The pool size defaults to 16MiB.
diff --git a/fio.1 b/fio.1
index e0283f7f..77a2d799 100644
--- a/fio.1
+++ b/fio.1
@@ -112,8 +112,8 @@ only applies to job sections. The reserved *global* section is always
parsed and used.
.TP
.BI \-\-alloc\-size \fR=\fPkb
-Set the internal smalloc pool size to \fIkb\fR in KiB. The
-\fB\-\-alloc\-size\fR switch allows one to use a larger pool size for smalloc.
+Allocate additional internal smalloc pools of size \fIkb\fR in KiB. The
+\fB\-\-alloc\-size\fR option increases shared memory set aside for use by fio.
If running large jobs with randommap enabled, fio can run out of memory.
Smalloc is an internal allocator for shared structures from a fixed size
memory pool and can grow to 16 pools. The pool size defaults to 16MiB.