-
Notifications
You must be signed in to change notification settings - Fork 25
/
benchmark.fio
115 lines (104 loc) · 2.15 KB
/
benchmark.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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
; Job/Section Selection: --section={write_1|read_1|write_2|read_2|write_4|read_4|write_8|read_8|write_16|read_16}
;
; Suggested sequence:
;
; Startup file server
; Mount file system
; Erase all files in file system
; Unmount file system
; Restart file server
; Remount file system
; fio --section=write_1 benchmark.fio
; Record results
; Unmount file system
; Restart file server
; Remount file system
; fio --section=read_1 benchmark.fio
; Record results
; Erase all files in file system
; Unmount file system
; Restart file server
; Remount file system
; fio --section=write_2 benchmark.fio
; Record results
; Unmount file system
; Restart file server
; Remount file system
; fio --section=read_2 benchmark.fio
; Record results
; Erase all files in file system
; Unmount file system
; Restart file server
; Remount file system
; fio --section=write_4 benchmark.fio
; Record results
; Unmount file system
; Restart file server
; Remount file system
; fio --section=read_4 benchmark.fio
; Record results
; Erase all files in file system
; Unmount file system
; Restart file server
; Remount file system
; fio --section=write_8 benchmark.fio
; Record results
; Unmount file system
; Restart file server
; Remount file system
; fio --section=read_8 benchmark.fio
; Record results
; Erase all files in file system
; Unmount file system
; Restart file server
; Remount file system
; fio --section=write_16 benchmark.fio
; Record results
; Unmount file system
; Restart file server
; Remount file system
; fio --section=read_16 benchmark.fio
; Record results
; Erase all files in file system
; Unmount file system
; Stop file server
[global]
directory=/mnt
end_fsync=1
filename_format=fio.$jobnum.$filenum
group_reporting
iodepth=1
ioengine=psync
direct=1
blocksize=64Ki
size=4Gi
[write_1]
readwrite=write
numjobs=1
[read_1]
readwrite=read
numjobs=1
[write_2]
readwrite=write
numjobs=2
[read_2]
readwrite=read
numjobs=2
[write_4]
readwrite=write
numjobs=4
[read_4]
readwrite=read
numjobs=4
[write_8]
readwrite=write
numjobs=8
[read_8]
readwrite=read
numjobs=8
[write_16]
readwrite=write
numjobs=16
[read_16]
readwrite=read
numjobs=16