<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
        LINE-HEIGHT: 1.5; FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19328"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Hi folks,</DIV>
<DIV> </DIV>
<DIV>We found that samba performance downgrade a lot with glusterfs backend.
volume info as followed,</DIV>
<DIV>Volume Name: vol1<BR>Type: Distribute<BR>Status: Started<BR>Number of
Bricks: 1<BR>Transport-type: tcp<BR>Bricks:<BR>Brick1: pana53:/data/</DIV>
<DIV>Options Reconfigured:<BR>auth.allow: 192.168.*<BR>features.quota:
on<BR>nfs.disable: on</DIV>
<DIV> </DIV>
<DIV>Use dd (bs=1MB) or iozone (block=1MB) to test write
performance, about 400MB/s.</DIV>
<DIV>#dd if=/dev/zero of=dd.dat bs=1MB count=1k<BR>1024+0 records in<BR>1024+0
records out<BR>1024000000 bytes (1.0 GB) copied, 2.6142 s, 392 MB/s</DIV>
<DIV> </DIV>
<DIV>But exporting with samba, use 4 Win7 clients to test with SANergy/Iometer,
write performance only about 170MB/s.</DIV>
<DIV>
<DIV>Command line used: iozone -s 1g -r 1m -i 0 -t 4</DIV>
<DIV>Output is in Kbytes/sec</DIV>
<DIV
style="TEXT-ALIGN: left">Time Resolution = 0.000001 seconds.</DIV>
<DIV
style="TEXT-ALIGN: left">Processor cache size set to 1024 Kbytes.</DIV>
<DIV
style="TEXT-ALIGN: left">Processor cache line size set to 32 bytes.</DIV>
<DIV
style="TEXT-ALIGN: left">File stride size set to 17 * record size.</DIV>
<DIV
style="TEXT-ALIGN: left">Throughput test with 4 processes</DIV>
<DIV
style="TEXT-ALIGN: left">Each process writes a 1048576 Kbyte file in 1024 Kbyte records</DIV>
<DIV style="TEXT-ALIGN: left"> </DIV>
<DIV
style="TEXT-ALIGN: left">Children see throughput for 4 initial writers = 171295.03 KB/sec</DIV>
<DIV
style="TEXT-ALIGN: left">Parent sees throughput for 4 initial writers = 170732.54 KB/sec</DIV>
<DIV
style="TEXT-ALIGN: left">Min throughput per process = 42684.70 KB/sec </DIV>
<DIV
style="TEXT-ALIGN: left">Max throughput per process = 42991.59 KB/sec</DIV>
<DIV
style="TEXT-ALIGN: left">Avg throughput per process = 42823.76 KB/sec</DIV>
<DIV
style="TEXT-ALIGN: left">Min xfer = 1041408.00 KB</DIV>
<DIV style="TEXT-ALIGN: left"> </DIV>
<DIV style="TEXT-ALIGN: left">#smb.conf </DIV>
<DIV style="TEXT-ALIGN: left">[global]<BR> log file =
/var/log/samba/log.%m<BR> max log size =
50<BR> guest account = nobody<BR> map to
guest = bad password<BR> posix locking =
no<BR> max protocol = SMB2<BR> socket
options = TCP_NODELAY IPTOS_LOWDELAY</DIV>
<DIV style="TEXT-ALIGN: left">[test]<BR> comment = None
<BR> path = /mnt/glusterfs</DIV>
<DIV style="TEXT-ALIGN: left"> browseable =
yes<BR> read only = no<BR> hosts allow =
<BR> hosts deny = <BR> guest ok = yes</DIV>
<DIV style="TEXT-ALIGN: left"> </DIV>
<DIV style="TEXT-ALIGN: left">Anyone meet such issues? </DIV>
<DIV style="TEXT-ALIGN: left">thanks a lot</DIV></DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>nuaa_liuben</SPAN></DIV></BODY></HTML>