From 4a4199035ee07da312b5a611637a164ebe8a4805 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Wed, 11 Sep 2019 10:56:39 -0400 Subject: [PATCH] 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 --- HOWTO | 4 ++-- fio.1 | 4 ++-- 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. -- 2.25.1