From: Jens Axboe Date: Wed, 28 Oct 2015 05:04:24 +0000 (+0900) Subject: Update documentation for mmapshared (MMAP_SHARED) X-Git-Tag: fio-2.2.11~3 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=09c782bbe1c62d016c8b165f304c7085a7ff9ffd;ds=sidebyside Update documentation for mmapshared (MMAP_SHARED) Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index 40233bd9..81217b77 100644 --- a/HOWTO +++ b/HOWTO @@ -1177,6 +1177,9 @@ mem=str Fio can use various types of memory as the io unit buffer. backing. Append filename after mmaphuge, ala mem=mmaphuge:/hugetlbfs/file + mmapshared Same as mmap, but use a MMAP_SHARED + mapping. + The area allocated is a function of the maximum allowed bs size for the job, multiplied by the io depth given. Note that for shmhuge and mmaphuge to work, the system must have diff --git a/fio.1 b/fio.1 index 2ba36f91..3bd33182 100644 --- a/fio.1 +++ b/fio.1 @@ -1084,6 +1084,9 @@ is given after the option in the format `:\fIfile\fR'. .TP .B mmaphuge Same as \fBmmap\fR, but use huge files as backing. +.TP +.B mmapshared +Same as \fBmmap\fR, but use a MMAP_SHARED mapping. .RE .P The amount of memory allocated is the maximum allowed \fBblocksize\fR for the