Dear All,<br><br>I am benchmarking NFS and GlusterFS . I running Iozone in multi thread mode .from the test conclued that GlusterFS performs better then NFS in single server and single client at file size 100MB. Any commant and Idea . Is it correct? .Here I am using file size 100MB and 128 KB record size .In 100 MB file size GlusterFS performs better then NFS . but when I am testing 128 KB file size and 4KB record size ,in this case NFS performs better then GlusterFS .what is the reson for that? GlusterFS will perform better only in case of large file size ? <br>
<br><br>===============================================<br>NFS Performance in Iozone Thread mode:<br><br>[root@localhost nfs]# iozone -R -t 5 -r 128K -s 100M +-n -i 0 -i 1<br> Iozone: Performance Test of File I/O<br> Version $Revision: 3.239 $<br>
Compiled for 32 bit mode.<br> Build: linux <br><br> Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins<br> Al Slater, Scott Rhine, Mike Wisner, Ken Goss<br> Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,<br>
Randy Dunlap, Mark Montague, Dan Million, <br> Jean-Marc Zucconi, Jeff Blomberg,<br> Erik Habbinga, Kris Strecker, Walter Wong.<br><br> Run began: Mon Jan 12 20:29:37 2009<br>
<br> Excel chart generation enabled<br> Record Size 128 KB<br> File size set to 102400 KB<br> Command line used: iozone -R -t 5 -r 128K -s 100M -i 0 -i 1 +-n<br> Output is in Kbytes/sec<br> Time Resolution = 0.000001 seconds.<br>
Processor cache size set to 1024 Kbytes.<br> Processor cache line size set to 32 bytes.<br> File stride size set to 17 * record size.<br> Throughput test with 5 processes<br> Each process writes a 102400 Kbyte file in 128 Kbyte records<br>
<br> Children see throughput for 5 initial writers = 9269.31 KB/sec<br> Parent sees throughput for 5 initial writers = 8506.71 KB/sec<br> Min throughput per process = 1802.63 KB/sec <br>
Max throughput per process = 1914.05 KB/sec<br> Avg throughput per process = 1853.86 KB/sec<br> Min xfer = 96384.00 KB<br><br> Children see throughput for 5 rewriters = 7869.36 KB/sec<br>
Parent sees throughput for 5 rewriters = 7533.62 KB/sec<br> Min throughput per process = 1499.05 KB/sec <br> Max throughput per process = 1650.54 KB/sec<br> Avg throughput per process = 1573.87 KB/sec<br>
Min xfer = 93312.00 KB<br><br> Children see throughput for 5 readers = 8779.71 KB/sec<br> Parent sees throughput for 5 readers = 8753.18 KB/sec<br> Min throughput per process = 1741.74 KB/sec <br>
Max throughput per process = 1781.11 KB/sec<br> Avg throughput per process = 1755.94 KB/sec<br> Min xfer = 100608.00 KB<br><br> Children see throughput for 5 re-readers = 8785.78 KB/sec<br>
Parent sees throughput for 5 re-readers = 8765.13 KB/sec<br> Min throughput per process = 1732.58 KB/sec <br> Max throughput per process = 1788.77 KB/sec<br> Avg throughput per process = 1757.16 KB/sec<br>
Min xfer = 99584.00 KB<br><br><br><br>"Throughput report Y-axis is type of test X-axis is number of processes"<br>"Record size = 128 Kbytes "<br>"Output is in Kbytes/sec"<br>
<br>" Initial write " 9269.31 <br><br>" Rewrite " 7869.36 <br><br>" Read " 8779.71 <br><br>" Re-read " 8785.78 <br><br><br>iozone test complete.<br>
<br><br>======================================================<br>GlusterFS performance in Iozone Tread mode :<br><br>[root@localhost glusterfs]# iozone -R -t 5 -r 128K -s 100M +-n -i 0 -i 1<br> Iozone: Performance Test of File I/O<br>
Version $Revision: 3.239 $<br> Compiled for 32 bit mode.<br> Build: linux <br><br> Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins<br> Al Slater, Scott Rhine, Mike Wisner, Ken Goss<br>
Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,<br> Randy Dunlap, Mark Montague, Dan Million, <br> Jean-Marc Zucconi, Jeff Blomberg,<br> Erik Habbinga, Kris Strecker, Walter Wong.<br>
<br> Run began: Mon Jan 12 20:35:56 2009<br><br> Excel chart generation enabled<br> Record Size 128 KB<br> File size set to 102400 KB<br> Command line used: iozone -R -t 5 -r 128K -s 100M -i 0 -i 1 +-n<br> Output is in Kbytes/sec<br>
Time Resolution = 0.000001 seconds.<br> Processor cache size set to 1024 Kbytes.<br> Processor cache line size set to 32 bytes.<br> File stride size set to 17 * record size.<br> Throughput test with 5 processes<br>
Each process writes a 102400 Kbyte file in 128 Kbyte records<br><br> Children see throughput for 5 initial writers = 11305.49 KB/sec<br> Parent sees throughput for 5 initial writers = 10658.86 KB/sec<br>
Min throughput per process = 2113.47 KB/sec <br> Max throughput per process = 2320.99 KB/sec<br> Avg throughput per process = 2261.10 KB/sec<br> Min xfer = 93312.00 KB<br>
<br> Children see throughput for 5 rewriters = 10245.67 KB/sec<br> Parent sees throughput for 5 rewriters = 10052.28 KB/sec<br> Min throughput per process = 1984.79 KB/sec <br> Max throughput per process = 2150.17 KB/sec<br>
Avg throughput per process = 2049.13 KB/sec<br> Min xfer = 94592.00 KB<br><br> Children see throughput for 5 readers = 10172.49 KB/sec<br> Parent sees throughput for 5 readers = 10124.65 KB/sec<br>
Min throughput per process = 1128.39 KB/sec <br> Max throughput per process = 2271.28 KB/sec<br> Avg throughput per process = 2034.50 KB/sec<br> Min xfer = 51072.00 KB<br>
<br> Children see throughput for 5 re-readers = 10253.22 KB/sec<br> Parent sees throughput for 5 re-readers = 10193.55 KB/sec<br> Min throughput per process = 1137.78 KB/sec <br> Max throughput per process = 2290.00 KB/sec<br>
Avg throughput per process = 2050.64 KB/sec<br> Min xfer = 51072.00 KB<br><br><br><br>"Throughput report Y-axis is type of test X-axis is number of processes"<br>"Record size = 128 Kbytes "<br>
"Output is in Kbytes/sec"<br><br>" Initial write " 11305.49 <br><br>" Rewrite " 10245.67 <br><br>" Read " 10172.49 <br><br>" Re-read " 10253.22 <br>
<br><br>iozone test complete.<br><br>Thanks for your time .<br><br>Thanks <br>L.Mohan<br><br><br><br>