????IOZONE??????????????????????????????????ù???????????Χ????У?write ?? Re-write?? Read?? Re-Read?? Random Read?? Random Write?? Random Mix?? Backwards Read?? Record Rewrite?? Strided Read?? Fwrite?? Frewrite?? Fread?? Freread?? Mmap?? Async I/O
???????iozone?????????????cpu???????cpu cache????С??????????I/O??д???????????в???????????????
????(0=write/rewrite?? 1=read/re-read?? 2=random-read/write
????3=Read-backwards?? 4=Re-write-record?? 5=stride-read?? 6=fwrite/re-fwrite?? 7=fread/Re-fread??
????8=random mix?? 9=pwrite/Re-pwrite?? 10=pread/Re-pread?? 11=pwritev/Re-pwritev?? 12=preadv/Re-preadv).
????Iozone ???????????
????Iozone??????rpm????????????Iozone????iozone-3-283.i386.rpm????????/usr/src?????棬??????rpm –ivh iozone-3-283.i386.rpm ???а?????????????????/opt/iozone/bin/??????????????????????????????в????
?????????????????????????????в?????
????1??  ??????μ????I/O??д????
??????????128K??16M??256M??2G?????С??8?????64?????128?????????в???
??????????????д?????д??????????????漴??д???????????????漴??д?????????????????????漴???д????????????С1M cpu cache 2048kbyte??
????1.1 128k ????????????
????1.1.1 8???????????????
???????????????
????Iozone –s 128k –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 8 –r 1m –S 2048 –G –o –B > test-128k-8-g.txt
????1.1.2 64???????????????
???????????????
????Iozone –s 128k –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 64 –r 1m –S 2048 –G –o –B > test-128k-64-g.txt
????1.1.3 128???????????????
???????????????
????Iozone –s 128k –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 128 –r 1m –S 2048 –G –o –B > test-128k-128-g.txt
????1.2 16M??????????
????1.2.1 8???????????????
???????????????
????Iozone –s 16M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 8 –r 1m –S 2048 –G –o –B > test-16m-8-g.txt
????1.2.2 64???????????????
???????????????
????Iozone –s 16M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 64 –r 1m –S 2048  –G –o –B > test-16m-64-g.txt
????1.2.3 128???????????????
???????????????
????Iozone –s 16M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 128 –r 1m –S 2048  –G –o –B > test-16m-128-g.txt
????1.3 256M??????????
????1.3.1 8???????????????
???????????????
????Iozone –s 256M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 8 –r 1m –S 2048  –G –o –B > test-256m-8-g.txt
????1.3.2 64???????????????
???????????????
????Iozone –s 256M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 64 –r 1m –S 2048  –G –o –B > test-256m-64-g.txt
????1.3.3 128???????????????
???????????????
????Iozone –s 256M –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 128 –r 1m –S 2048  –G –o –B > test-256m-128-g.txt
????1.4 2G??????????
????1.4.1 8???????????????
???????????????
????Iozone –s 2G –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 8 –r 1m –S 2048  –G –o –B > test-2G-8-g.txt
????1.4.2 64???????????????
???????????????
????Iozone –s 2G –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 64  –r 1m –S 2048  –G –o –B > test-2G-64-g.txt
????1.4.3 128???????????????
???????????????
????Iozone –s 2G –i 0 –i 1 –i 2 –i 3 –i 4 –i 5 –i 8 –t 128 –r 1m –S 2048  –G –o –B > test-2G-128-g.txt