使用sysbench对Oracle做基准测试(六) FILEIO

--test=fileio           测试类型为fileio
--file-num=256          测试文件数量 
--file-block-size=8K    每个块大小
--file-total-size=2G    测试文件总大小
--file-test-mode=rndrw  测试模式 
           
--测试前准备
[root@localhost sysbench]#./sysbench  --test=fileio --file-num=256  --file-block-size=8K --file-total-size=2G --file-test-mode=rndrw   prepare      
sysbench 0.5:  multi-threaded system evaluation benchmark


256 files, 8192Kb each, 2048Mb total
Creating files for the test...
Extra file open flags: 0
Creating file test_file.0
Creating file test_file.1
Creating file test_file.2
Creating file test_file.3
Creating file test_file.4
Creating file test_file.5
Creating file test_file.6
Creating file test_file.7
Creating file test_file.8
Creating file test_file.9
Creating file test_file.10
Creating file test_file.11
Creating file test_file.12
Creating file test_file.13
Creating file test_file.14
Creating file test_file.15
Creating file test_file.16
Creating file test_file.17
Creating file test_file.18
Creating file test_file.19
Creating file test_file.20
Creating file test_file.21
Creating file test_file.22
Creating file test_file.23
Creating file test_file.24
Creating file test_file.25
Creating file test_file.26
Creating file test_file.27
Creating file test_file.28
Creating file test_file.29
Creating file test_file.30
Creating file test_file.31
Creating file test_file.32
Creating file test_file.33
Creating file test_file.34
Creating file test_file.35
Creating file test_file.36
Creating file test_file.37
Creating file test_file.38
Creating file test_file.39
Creating file test_file.40
Creating file test_file.41
Creating file test_file.42
Creating file test_file.43
Creating file test_file.44
Creating file test_file.45
Creating file test_file.46
Creating file test_file.47
Creating file test_file.48
Creating file test_file.49
Creating file test_file.50
Creating file test_file.51
Creating file test_file.52
Creating file test_file.53
Creating file test_file.54
Creating file test_file.55
Creating file test_file.56
Creating file test_file.57
Creating file test_file.58
Creating file test_file.59
Creating file test_file.60
Creating file test_file.61
Creating file test_file.62
Creating file test_file.63
Creating file test_file.64
Creating file test_file.65
Creating file test_file.66
Creating file test_file.67
Creating file test_file.68
Creating file test_file.69
Creating file test_file.70
Creating file test_file.71
Creating file test_file.72
Creating file test_file.73
Creating file test_file.74
Creating file test_file.75
Creating file test_file.76
Creating file test_file.77
Creating file test_file.78
Creating file test_file.79
Creating file test_file.80
Creating file test_file.81
Creating file test_file.82
Creating file test_file.83
Creating file test_file.84
Creating file test_file.85
Creating file test_file.86
Creating file test_file.87
Creating file test_file.88
Creating file test_file.89
Creating file test_file.90
Creating file test_file.91
Creating file test_file.92
Creating file test_file.93
Creating file test_file.94
Creating file test_file.95
Creating file test_file.96
Creating file test_file.97
Creating file test_file.98
Creating file test_file.99
Creating file test_file.100
Creating file test_file.101
Creating file test_file.102
Creating file test_file.103
Creating file test_file.104
Creating file test_file.105
Creating file test_file.106
Creating file test_file.107
Creating file test_file.108
Creating file test_file.109
Creating file test_file.110
Creating file test_file.111
Creating file test_file.112
Creating file test_file.113
Creating file test_file.114
Creating file test_file.115
Creating file test_file.116
Creating file test_file.117
Creating file test_file.118
Creating file test_file.119
Creating file test_file.120
Creating file test_file.121
Creating file test_file.122
Creating file test_file.123
Creating file test_file.124
Creating file test_file.125
Creating file test_file.126
Creating file test_file.127
Creating file test_file.128
Creating file test_file.129
Creating file test_file.130
Creating file test_file.131
Creating file test_file.132
Creating file test_file.133
Creating file test_file.134
Creating file test_file.135
Creating file test_file.136
Creating file test_file.137
Creating file test_file.138
Creating file test_file.139
Creating file test_file.140
Creating file test_file.141
Creating file test_file.142
Creating file test_file.143
Creating file test_file.144
Creating file test_file.145
Creating file test_file.146
Creating file test_file.147
Creating file test_file.148
Creating file test_file.149
Creating file test_file.150
Creating file test_file.151
Creating file test_file.152
Creating file test_file.153
Creating file test_file.154
Creating file test_file.155
Creating file test_file.156
Creating file test_file.157
Creating file test_file.158
Creating file test_file.159
Creating file test_file.160
Creating file test_file.161
Creating file test_file.162
Creating file test_file.163
Creating file test_file.164
Creating file test_file.165
Creating file test_file.166
Creating file test_file.167
Creating file test_file.168
Creating file test_file.169
Creating file test_file.170
Creating file test_file.171
Creating file test_file.172
Creating file test_file.173
Creating file test_file.174
Creating file test_file.175
Creating file test_file.176
Creating file test_file.177
Creating file test_file.178
Creating file test_file.179
Creating file test_file.180
Creating file test_file.181
Creating file test_file.182
Creating file test_file.183
Creating file test_file.184
Creating file test_file.185
Creating file test_file.186
Creating file test_file.187
Creating file test_file.188
Creating file test_file.189
Creating file test_file.190
Creating file test_file.191
Creating file test_file.192
Creating file test_file.193
Creating file test_file.194
Creating file test_file.195
Creating file test_file.196
Creating file test_file.197
Creating file test_file.198
Creating file test_file.199
Creating file test_file.200
Creating file test_file.201
Creating file test_file.202
Creating file test_file.203
Creating file test_file.204
Creating file test_file.205
Creating file test_file.206
Creating file test_file.207
Creating file test_file.208
Creating file test_file.209
Creating file test_file.210
Creating file test_file.211
Creating file test_file.212
Creating file test_file.213
Creating file test_file.214
Creating file test_file.215
Creating file test_file.216
Creating file test_file.217
Creating file test_file.218
Creating file test_file.219
Creating file test_file.220
Creating file test_file.221
Creating file test_file.222
Creating file test_file.223
Creating file test_file.224
Creating file test_file.225
Creating file test_file.226
Creating file test_file.227
Creating file test_file.228
Creating file test_file.229
Creating file test_file.230
Creating file test_file.231
Creating file test_file.232
Creating file test_file.233
Creating file test_file.234
Creating file test_file.235
Creating file test_file.236
Creating file test_file.237
Creating file test_file.238
Creating file test_file.239
Creating file test_file.240
Creating file test_file.241
Creating file test_file.242
Creating file test_file.243
Creating file test_file.244
Creating file test_file.245
Creating file test_file.246
Creating file test_file.247
Creating file test_file.248
Creating file test_file.249
Creating file test_file.250
Creating file test_file.251
Creating file test_file.252
Creating file test_file.253
Creating file test_file.254
Creating file test_file.255
2147483648 bytes written in 169.89 seconds (12.05 MB/sec).


--开启测试
[root@localhost sysbench]# ./sysbench  --test=fileio --file-num=256  --file-block-size=8K --file-total-size=2G --file-test-mode=rndrw  run
sysbench 0.5:  multi-threaded system evaluation benchmark


Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored




Extra file open flags: 0
256 files, 8Mb each
2Gb total file size
Block size 8Kb
Number of IO requests: 10000
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Threads started!


Operations performed:  6000 reads, 4000 writes, 25600 Other = 35600 Total
Read 46.875Mb  Written 31.25Mb  Total transferred 78.125Mb  (1.3669Mb/sec)
  174.97 Requests/sec executed


General statistics:
    total time:                          57.1536s             --总运行时间
    total number of events:              10000                --测试次数
    total time taken by event execution: 49.6440s             --其中纯花费在测试上的时间
    response time:
         min:                                  0.00ms         --最小时间
         avg:                                  4.96ms         --平均时间
         max:                                 88.10ms         --最大时间
         approx.  95 percentile:              21.75ms         --去除最高的5%后的最大时间


Threads fairness:
    events (avg/stddev):           10000.0000/0.00
    execution time (avg/stddev):   49.6440/0.00
    
--查看刚刚测试用的文件
[root@localhost sysbench]# ll
total 2105468
-rw-r--r--. 1 root root 4334382 Oct  9 17:11 appfirst-i386.deb
-rw-r--r--. 1 root root    3661 Oct  9 15:20 CMakeLists.txt
-rw-r--r--. 1 root root   23294 Oct  9 15:20 db_driver.c
-rw-r--r--. 1 root root    9800 Oct  9 15:20 db_driver.h
-rw-r--r--. 1 root root  127984 Oct  9 15:27 db_driver.o
drwxr-xr-x. 6 root root    4096 Oct  9 15:26 drivers
-rw-r--r--. 1 root root   24992 Oct  9 15:26 Makefile
-rw-r--r--. 1 root root    1887 Oct  9 15:20 Makefile.am
-rw-r--r--. 1 root root   25551 Oct  9 15:26 Makefile.in
-rw-r--r--. 1 root root    3626 Oct  9 15:20 sb_list.h
-rw-r--r--. 1 root root   16223 Oct  9 15:20 sb_logger.c
-rw-r--r--. 1 root root    4554 Oct  9 15:20 sb_logger.h
-rw-r--r--. 1 root root  116136 Oct  9 15:27 sb_logger.o
-rw-r--r--. 1 root root   13731 Oct  9 15:20 sb_options.c
-rw-r--r--. 1 root root    3108 Oct  9 15:20 sb_options.h
-rw-r--r--. 1 root root  109424 Oct  9 15:27 sb_options.o
-rw-r--r--. 1 root root    3456 Oct  9 15:20 sb_percentile.c
-rw-r--r--. 1 root root    1570 Oct  9 15:20 sb_percentile.h
-rw-r--r--. 1 root root   64488 Oct  9 15:27 sb_percentile.o
-rw-r--r--. 1 root root    5982 Oct  9 15:20 sb_timer.c
-rw-r--r--. 1 root root    3796 Oct  9 15:20 sb_timer.h
-rw-r--r--. 1 root root   54424 Oct  9 15:27 sb_timer.o
-rw-r--r--. 1 root root    6860 Oct  9 15:20 sb_win.c
-rw-r--r--. 1 root root    2747 Oct  9 15:20 sb_win.h
drwxr-xr-x. 4 root root    4096 Oct  9 15:27 scripting
-rwxr-xr-x. 1 root root 3280920 Oct  9 15:27 sysbench
-rw-r--r--. 1 root root   34046 Oct  9 15:20 sysbench.c
-rw-r--r--. 1 root root    7149 Oct  9 15:20 sysbench.h
-rw-r--r--. 1 root root  165104 Oct  9 15:27 sysbench.o
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.0
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.1
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.10
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.100
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.101
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.102
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.103
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.104
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.105
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.106
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.107
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.108
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.109
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.11
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.110
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.111
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.112
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.113
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.114
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.115
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.116
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.117
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.118
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.119
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.12
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.120
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.121
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.122
-rw-------. 1 root root 8388608 Oct 24 22:01 test_file.123
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.124
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.125
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.126
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.127
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.128
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.129
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.13
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.130
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.131
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.132
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.133
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.134
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.135
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.136
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.137
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.138
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.139
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.14
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.140
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.141
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.142
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.143
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.144
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.145
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.146
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.147
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.148
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.149
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.15
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.150
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.151
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.152
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.153
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.154
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.155
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.156
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.157
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.158
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.159
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.16
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.160
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.161
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.162
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.163
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.164
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.165
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.166
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.167
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.168
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.169
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.17
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.170
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.171
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.172
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.173
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.174
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.175
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.176
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.177
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.178
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.179
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.18
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.180
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.181
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.182
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.183
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.184
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.185
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.186
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.187
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.188
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.189
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.19
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.190
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.191
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.192
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.193
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.194
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.195
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.196
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.197
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.198
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.199
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.2
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.20
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.200
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.201
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.202
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.203
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.204
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.205
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.206
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.207
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.208
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.209
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.21
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.210
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.211
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.212
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.213
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.214
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.215
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.216
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.217
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.218
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.219
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.22
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.220
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.221
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.222
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.223
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.224
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.225
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.226
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.227
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.228
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.229
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.23
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.230
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.231
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.232
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.233
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.234
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.235
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.236
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.237
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.238
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.239
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.24
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.240
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.241
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.242
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.243
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.244
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.245
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.246
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.247
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.248
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.249
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.25
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.250
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.251
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.252
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.253
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.254
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.255
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.26
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.27
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.28
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.29
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.3
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.30
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.31
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.32
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.33
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.34
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.35
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.36
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.37
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.38
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.39
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.4
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.40
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.41
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.42
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.43
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.44
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.45
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.46
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.47
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.48
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.49
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.5
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.50
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.51
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.52
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.53
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.54
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.55
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.56
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.57
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.58
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.59
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.6
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.60
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.61
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.62
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.63
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.64
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.65
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.66
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.67
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.68
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.69
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.7
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.70
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.71
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.72
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.73
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.74
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.75
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.76
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.77
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.78
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.79
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.8
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.80
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.81
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.82
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.83
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.84
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.85
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.86
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.87
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.88
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.89
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.9
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.90
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.91
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.92
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.93
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.94
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.95
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.96
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.97
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.98
-rw-------. 1 root root 8388608 Oct 24 22:02 test_file.99
drwxr-xr-x. 9 root root    4096 Oct  9 15:26 tests


--清理刚刚测试的文件	
[root@localhost sysbench]# ./sysbench  --test=fileio --file-num=256  --file-block-size=8K --file-total-size=2G --file-test-mode=rndrw  --file-io
-mode cleanup
sysbench 0.5:  multi-threaded system evaluation benchmark


Removing test files...
[root@localhost sysbench]# ll
total 8316
-rw-r--r--. 1 root root 4334382 Oct  9 17:11 appfirst-i386.deb
-rw-r--r--. 1 root root    3661 Oct  9 15:20 CMakeLists.txt
-rw-r--r--. 1 root root   23294 Oct  9 15:20 db_driver.c
-rw-r--r--. 1 root root    9800 Oct  9 15:20 db_driver.h
-rw-r--r--. 1 root root  127984 Oct  9 15:27 db_driver.o
drwxr-xr-x. 6 root root    4096 Oct  9 15:26 drivers
-rw-r--r--. 1 root root   24992 Oct  9 15:26 Makefile
-rw-r--r--. 1 root root    1887 Oct  9 15:20 Makefile.am
-rw-r--r--. 1 root root   25551 Oct  9 15:26 Makefile.in
-rw-r--r--. 1 root root    3626 Oct  9 15:20 sb_list.h
-rw-r--r--. 1 root root   16223 Oct  9 15:20 sb_logger.c
-rw-r--r--. 1 root root    4554 Oct  9 15:20 sb_logger.h
-rw-r--r--. 1 root root  116136 Oct  9 15:27 sb_logger.o
-rw-r--r--. 1 root root   13731 Oct  9 15:20 sb_options.c
-rw-r--r--. 1 root root    3108 Oct  9 15:20 sb_options.h
-rw-r--r--. 1 root root  109424 Oct  9 15:27 sb_options.o
-rw-r--r--. 1 root root    3456 Oct  9 15:20 sb_percentile.c
-rw-r--r--. 1 root root    1570 Oct  9 15:20 sb_percentile.h
-rw-r--r--. 1 root root   64488 Oct  9 15:27 sb_percentile.o
-rw-r--r--. 1 root root    5982 Oct  9 15:20 sb_timer.c
-rw-r--r--. 1 root root    3796 Oct  9 15:20 sb_timer.h
-rw-r--r--. 1 root root   54424 Oct  9 15:27 sb_timer.o
-rw-r--r--. 1 root root    6860 Oct  9 15:20 sb_win.c
-rw-r--r--. 1 root root    2747 Oct  9 15:20 sb_win.h
drwxr-xr-x. 4 root root    4096 Oct  9 15:27 scripting
-rwxr-xr-x. 1 root root 3280920 Oct  9 15:27 sysbench
-rw-r--r--. 1 root root   34046 Oct  9 15:20 sysbench.c
-rw-r--r--. 1 root root    7149 Oct  9 15:20 sysbench.h
-rw-r--r--. 1 root root  165104 Oct  9 15:27 sysbench.o
drwxr-xr-x. 9 root root    4096 Oct  9 15:26 tests

你可能感兴趣的:(使用sysbench对Oracle做基准测试(六) FILEIO)