From: Sitsofe Wheeler Date: Wed, 28 Jun 2017 21:53:06 +0000 (+0100) Subject: fio: make gauss a duplicate of normal for file_service_type X-Git-Tag: fio-2.99~14 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=dd3503d365f87e68079fb3e443a410743688d53b fio: make gauss a duplicate of normal for file_service_type To be consistent with random_distribution add a normal parameter to file_service_type and state that gauss is an alias of it. Signed-off-by: Sitsofe Wheeler --- diff --git a/HOWTO b/HOWTO index d2acd8fb..6e53cff8 100644 --- a/HOWTO +++ b/HOWTO @@ -853,10 +853,13 @@ Target file/device **pareto** Use a *Pareto* distribution to decide what file to access. - **gauss** + **normal** Use a *Gaussian* (normal) distribution to decide what file to access. + **gauss** + Alias for normal. + For *random*, *roundrobin*, and *sequential*, a postfix can be appended to tell fio how many I/Os to issue before switching to a new file. For example, specifying ``file_service_type=random:8`` would cause fio to issue diff --git a/fio.1 b/fio.1 index fbaf77f2..ab042081 100644 --- a/fio.1 +++ b/fio.1 @@ -676,8 +676,11 @@ Use a zipfian distribution to decide what file to access. .B pareto Use a pareto distribution to decide what file to access. .TP +.B normal +Use a Gaussian (normal) distribution to decide what file to access. +.TP .B gauss -Use a gaussian (normal) distribution to decide what file to access. +Alias for normal. .RE .P For \fBrandom\fR, \fBroundrobin\fR, and \fBsequential\fR, a postfix can be diff --git a/options.c b/options.c index f103fc46..09a21af0 100644 --- a/options.c +++ b/options.c @@ -2269,9 +2269,13 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { .oval = FIO_FSERVICE_PARETO, .help = "Pareto randomized", }, + { .ival = "normal", + .oval = FIO_FSERVICE_GAUSS, + .help = "Normal (Gaussian) randomized", + }, { .ival = "gauss", .oval = FIO_FSERVICE_GAUSS, - .help = "Normal (Gaussian) distribution", + .help = "Alias for normal", }, { .ival = "roundrobin", .oval = FIO_FSERVICE_RR,