30GBのメモリを割り当てて計測した。
シーケンシャルアクセス
2Gバイトのファイルを作成して計測する。
ランダムアクセス
16-512KBのファイルを50 * 1000個16つのファイルに作成してIO性能を計測する。
/secは処理回数である。
ランダムアクセスでは、data領域では3477回/sでscratch領域では3761回/sだった。
## data領域
```
(base) s58002@wisteria01 ~/u/l/sbin ❯❯❯ ./bonnie++ -d ~/bonsample -n 50:512:16:16 -s 2G -r 30G
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.04 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
wisteria01 2G 258521 99 874394 99 880225 99 303760 99 +++++ +++ +++++ +++
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
50:512:16/16 3629 28 5435 31 8966 27 3477 28 5342 34 5166 19
wisteria01,2G,258521,99,874394,99,880225,99,303760,99,+++++,+++,+++++,+++,50:512:16/16,3629,28,5435,31,8966,27,3477,28,5342,34,5166,19
```
## scratch領域
```
(base) s58002@wisteria01 ~/u/l/sbin ❯❯❯ ./bonnie++ -d /data/scratch/gs58/s58002/test -n 50:512:16:16 -s 2G -r 30G
Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()...done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.04 ------Sequential Output------ --Sequential Input- --Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
wisteria01 2G 259272 99 884147 99 979934 99 311409 99 +++++ +++ +++++ +++
------Sequential Create------ --------Random Create--------
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
50:512:16/16 3892 25 5884 33 6458 20 3761 26 5677 33 7272 24
wisteria01,2G,259272,99,884147,99,979934,99,311409,99,+++++,+++,+++++,+++,50:512:16/16,3892,25,5884,33,6458,20,3761,26,5677,33,7272,24
```