X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=profiles%2Ftiobench.c;h=9d9885a35788d4249652d511a0e176f532962def;hb=dbd39049ca473de7dc031cd9bf3efe992834323f;hp=b4331d75ae52c00437c9183d1ef4e76dc7cdf7ca;hpb=c0c4b1d42e39c2ea4cb2d58e5a17aec4b00263d9;p=fio.git diff --git a/profiles/tiobench.c b/profiles/tiobench.c index b4331d75..9d9885a3 100644 --- a/profiles/tiobench.c +++ b/profiles/tiobench.c @@ -1,6 +1,7 @@ #include "../fio.h" #include "../profile.h" #include "../parse.h" +#include "../optgroup.h" static unsigned long long size; static unsigned int loops = 1; @@ -38,7 +39,7 @@ static struct fio_option options[] = { .lname = "Tiobench size", .type = FIO_OPT_STR_VAL, .off1 = offsetof(struct tiobench_options, size), - .help = "Size in MB", + .help = "Size in MiB", .category = FIO_OPT_C_PROFILE, .group = FIO_OPT_G_TIOBENCH, }, @@ -48,7 +49,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = offsetof(struct tiobench_options, bs), .help = "Block size in bytes", - .def = "4k", + .def = "4096", .category = FIO_OPT_C_PROFILE, .group = FIO_OPT_G_TIOBENCH, }, @@ -90,7 +91,7 @@ static struct fio_option options[] = { static int tb_prep_cmdline(void) { /* - * tiobench uses size as MB, so multiply up + * tiobench uses size as MiB, so multiply up */ size *= 1024 * 1024ULL; if (size)