IOmeter
iometer的性能测试是windows下的性能测试工具,windows与linux机器通过tcp网络传输进行io测试。当你需要测试linux设备下某个磁盘的io性能时,需要设置其块大小(分区的块大小),随机及顺序读写等参数
下载iometer,linux下安装只需执行make -f Makefile-Linux.x86_64 dynamo
windows下的安装与普通软件一样
iometer的执行过程:./dynamo -i 192.168.8.214 -m 192.168.77.60(-i的ip为windows机器的ip,-m的ip为linux的ip)
IOzone
[root@localhost current]# ./iozone -a -n 512m -g 4g -i 0 -i 1 -i 5 -f /var/edatacache/iozone -Rb ./iozone.xls
Iozone: Performance Test of File I/O
Version $Revision: 3.417 $
Compiled for 64 bit mode.
Build: linux-AMD64
Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
Al Slater, Scott Rhine, Mike Wisner, Ken Goss
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
Vangel Bojaxhi, Ben England.
Run began: Wed Jul 3 14:22:48 2013
Auto Mode
Using minimum file size of 524288 kilobytes.
Using maximum file size of 4194304 kilobytes.
Excel chart generation enabled
Command line used: ./iozone -a -n 512m -g 4g -i 0 -i 1 -i 5 -f /var/edatacache/iozone -Rb ./iozone.xls
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
random random bkwd record stride
KB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
524288 64 1377219 1934985 4692502 4740614 4617615
524288 128 1389895 2391444 5627399 5719536 5642242
524288 256 1400128 2368024 5506357 5576637 5552124
524288 512 1414043 2354412 5522481 5691056 5668465
524288 1024 1401667 2384026 5653672 5748331 5734810
524288 2048 1414043 2346278 5696113 5770415 5548188
524288 4096 1396537 2346952 5626664 5708208 5685803
524288 8192 1273226 1989639 3150102 3166810 3168535
524288 16384 1262294 1946117 2866873 2872652 2871834
1048576 64 1376542 2324605 5624324 5668682 5524165
1048576 128 1405901 2396455 5681211 5729138 5653947
1048576 256 1404812 2362497 5540721 5575929 5570540
1048576 512 1417322 2386989 5653431 5682254 5678167
1048576 1024 1424412 2384454 5697048 5742191 5735189
1048576 2048 1427152 2378721 5731019 5769838 5759192
1048576 4096 1416764 2359414 5661400 5693022 5694548
1048576 8192 1245964 1916106 2900064 2906260 2903547
1048576 16384 1261748 1955638 2908590 2913820 2911125
2097152 64 1341109 2229312 5398158 5440000 5299908
2097152 128 1359957 2290922 5458249 5490746 5423497
2097152 256 1358927 2259148 5271279 5314908 5311009
2097152 512 1370924 2265313 5370207 5412368 5458689
2097152 1024 1376407 2282726 5405433 5489119 5507744
2097152 2048 1381516 2273904 5481904 5520784 5538847
2097152 4096 1370042 2248438 5434118 5484283 5500625
2097152 8192 1250330 1922759 3051832 3055050 3050429
2097152 16384 1228180 1917955 2912840 2917890 2912645
IOZone和IOMeter不同,IOMeter的测试是基于数据块,因此很适合用来测试物理设备的性能,如DAS和SAN,而IOZone的测试基于文件,因此适合用来测试文件系统的性能,如,测试NAS设备。IOZone的测试性能可以被文件系统的缓冲区加速,而IOMeter则不会。