2 #include "../profile.h"
5 static unsigned long size;
6 static unsigned long loops;
7 static unsigned long bs;
10 static const char *tb_opts[] = {
11 "buffered=0", "size=4*1024*$mb_memory", "bs=4k", "timeout=600",
12 "numjobs=4", "group_reporting", "thread", "overwrite=1",
13 "filename=.fio.tio.1:.fio.tio.2:.fio.tio.3:.fio.tio.4",
14 "name=seqwrite", "rw=write", "end_fsync=1",
15 "name=randwrite", "stonewall", "rw=randwrite", "end_fsync=1",
16 "name=seqread", "stonewall", "rw=read",
17 "name=randread", "stonewall", "rw=randread", NULL,
20 static struct fio_option options[] = {
31 .help = "Block size in bytes",
38 .help = "Number of runs",
42 .type = FIO_OPT_STR_STORE,
44 .help = "Test directory",
51 static struct profile_ops tiobench_profile = {
53 .version = FIO_PROFILE_VERSION,
58 static void fio_init tiobench_register(void)
60 register_profile(&tiobench_profile);
63 static void fio_exit tiobench_unregister(void)
65 unregister_profile(&tiobench_profile);