-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDB_Simulate.fio
More file actions
81 lines (81 loc) · 1.77 KB
/
Copy pathDB_Simulate.fio
File metadata and controls
81 lines (81 loc) · 1.77 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[seq-read]
# Sequential reads
rw=read
# Size if the the I/O
size=8g
# Directory where the test file will be created
#directory=/utest
# Diables posix_fadvise - predeclare an access pattern for file data
fadvise_hint=0
# Block size
blocksize=8k
# Use of direct I/O
direct=1
# Number of I/O threads :
numjobs=1
# Number of files :
nrfiles=1
# Duration of the test in seconds
runtime=300
# Usage of ASYNC I/O
ioengine=libaio
# Runtime based, overwrites or overreads several times the specified file
time_based
# To free pagecache, dentries and inodes (only possible as root, therefore commented out) :
# exec_prerun=echo 3 > /proc/sys/vm/drop_caches
[seq-write]
rw=write
size=8g
#directory=/utest
fadvise_hint=0
blocksize=8k
direct=1
numjobs=1
nrfiles=1
runtime=300
ioengine=libaio
time_based
# exec_prerun=echo 3 > /proc/sys/vm/drop_caches
[random-read]
# Each process allocates one file, therefore to have 8G the size should be set to 1G with 8 processes
rw=randread
size=1g
#directory=/utest
fadvise_hint=0
blocksize=8k
direct=1
numjobs=8
nrfiles=1
runtime=300
ioengine=libaio
time_based
# exec_prerun=echo 3 > /proc/sys/vm/drop_caches
[random-write]
# Each process allocates one file, therefore to have 8G the size should be set to 1G with 8 processes
rw=randwrite
size=1g
#directory=/utest
fadvise_hint=0
blocksize=8k
direct=1
numjobs=8
nrfiles=1
runtime=300
ioengine=libaio
time_based
# exec_prerun=echo 3 > /proc/sys/vm/drop_caches
[read-write]
# Each process allocates one file, therefore to have 8G the size should be set to 1G with 8 processes
rw=rw
rwmixread=80
size=1g
#directory=/utest
fadvise_hint=0
blocksize=8k
direct=1
numjobs=8
nrfiles=1
runtime=300
ioengine=libaio
time_based
# exec_prerun=echo 3 > /proc/sys/vm/drop_caches