-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstcs.64k.fio
45 lines (41 loc) · 1.7 KB
/
stcs.64k.fio
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
40
41
42
43
44
45
[global]
rw=readwrite # type of load wanted
ioengine=libaio # libaio = best for linux, mmap if not supported (Mac)
iodepth=8 # baseline of a medium used server, increase to 16-32 for more heavily to max used
invalidate=1 # Invalidate the buffer/page cache parts for this file prior to starting I/O
direct=1 # bypass os buffers
randrepeat=1 # run one pass of the defined time
fallocate=none # do not pre-allocate space when files are laid down
thread=1 # only run one thread for each job
fadvise_hint=0 # don't alert the OS kernel of type of load
time_based=1 # run on timer vs. rounds
directory=./data # directory to store files
file_service_type=sequential # finish one file write then move to the next
filename_format=cassandra.$filenum # create named files to be reused in all jobs below
nrfiles=10 # number of files to read/write
filesize=150m:5g # create random sized files to emulate STCS patterns
blocksize=64k # default sstable compaction chunk size
[setup]
readwrite=write
end_fsync=1
runtime=1
stonewall
[sstable_writer]
new_group
name=stcs_64k_write
readwrite=write
runtime=60s
# write to 2 files ie default compaction
openfiles=2
write_bw_log=stcs.64k.write
write_lat_log=stcs.64k.write
write_iops_log=stcs.64k.write
[sstable_reader]
name=stcs_64k_read
rw=randread
runtime=60s
openfiles=5
file_service_type=random
write_bw_log=stcs.64k.read
write_lat_log=stcs.64k.read
write_iops_log=stcs.64k.read