From: Hiroyuki S. <hir...@gm...> - 2011-02-25 07:49:35
|
Dear memebers. I'm newbie about benchmarking. I would like to know benchmark best practice about SRP. I tested the following environment . result (this result is the average rate of multiple tests) 1) enable buffer cache read 456MB/sec write 243MB/sec 2) diable buffer cache read 454MB/sec write 246MB/sec I'm thinking SRP is more faster and my test is something wrong. I would like to know the following info. I'll test again and feedback it. 1) benchmark tool (only freeware) 2) scst and kernel tuning parameters. 3) observation point cpu average, memory usage... like that 4) best practice website or books. Thank you for your advice. -- Hiroyuki Sato ------------------------------------------------------------------------------- How to test 1, client and server environment SRP Server -- Mellanox SDR IB Card -- SRP Client Software OS : CentOS 5.5 x86_64 IB Stack: OFED-1.5.3-rc3 Kernel: 2.6.36.3 with scst_exec_req_fifo-2.6.36.patch patch SCST: 2.0.0.x (I downloaded it at 8/Feb) Tag Revision 1.0.0 439 SRPT 1.0.0 450 1.0.1 805 1.0.1.1 1050 Server: memory 16GB (2GB * 8) connected mode MTU 65520 Client: 512MB memory connected mode MTU 65520 2, Configuration Server:/etc/scst.conf HANDLER dev_disk { DEVICE 1:0:0:0 } HANDLER vdisk_fileio { DEVICE disk01 { t10_dev_id "disk01 b8ceed65" usn b8ceed65 filename /dev/ram0 } } TARGET_DRIVER ib_srpt { TARGET ib_srpt_target_0 { LUN 0 1:0:0:0 LUN 1 disk01 enabled 1 } } LUN1 is ramdisk 15GB allocated on server with grub.conf http://www.vanemery.com/Linux/Ramdisk/ramdisk.html client mounted LUN1 ramdisk is formated as ext3. mount /dev/sdd1 /ramdisk ( no option ) 3, benchmark tool: bonnie++-1.03e.tgz change bonnie.h value [before] define MinTime (0.5) [after] define MinTime (0.01) test command client# bonnie++ -s 13312 -d /ramdisk -s 13312 -u 70000:70000 Sequential block read and write used. 4, disable buffer cache I wolud like to disable buffer cache. and I execute the fowlloing comand echo "0" > /proc/sys/vm/dirty_background_ratio echo "0" > /proc/sys/vm/dirty_ratio |