summaryrefslogtreecommitdiffstats
path: root/src/test/fio/ceph-bluestore.fio
blob: dbadf701a825c2d3fac092ee5ba138a7e7ea922d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Runs a 64k random write test against the ceph BlueStore.
[global]
ioengine=libfio_ceph_objectstore.so # must be found in your LD_LIBRARY_PATH

conf=ceph-bluestore.conf # must point to a valid ceph configuration file
directory=/mnt/fio-bluestore # directory for osd_data

#oi_attr_len=350-4000 # specifies OI(aka '_') attribute length range to couple
                      # writes with. Default: 0 (disabled)

#snapset_attr_len=35  # specifies snapset attribute length range to couple
                      # writes with. Default: 0 (disabled)

#_fastinfo_omap_len=186 # specifies _fastinfo omap entry length range to
                        # couple writes with. Default: 0 (disabled)

#pglog_simulation=1   # couples write and omap generation in OSD PG log manner.
                      # Ceph's osd_min_pg_log_entries, osd_pg_log_trim_min,
					  # osd_pg_log_dups_tracked settings control cyclic
					  # omap keys creation/removal.
                      # Following additional FIO pglog_ settings to apply too:

#pglog_omap_len=173   # specifies PG log entry length range to couple
                      # writes with. Default: 0 (disabled)

#pglog_dup_omap_len=57 # specifies duplicate PG log entry length range
                       # to couple writes with. Default: 0 (disabled)
#single_pool_mode=0   # Enables the mode when all jobs run against for the same pool.

rw=randwrite
iodepth=16

time_based=1
runtime=20s

[bluestore]
nr_files=64
size=256m
bs=64k