Hi
We use gluster samba vfs test io,but the read performance via vfs is half of
write perfomance,
but via fuse the read and write performance is almost the same.
this is our smb.conf:
[global]
workgroup = MYGROUP
server string = DCS Samba Server
log file = /var/log/samba/log.vfs
max log size = 500000
# use sendfile = true
aio read size = 262144
aio write size = 262144
aio write behind = true
min receivefile size = 262144
write cache size = 268435456
security = user
passdb backend = tdbsam
load printers = yes
cups options = raw
read raw = yes
write raw = yes
max xmit = 262144
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144
SO_SNDBUF=262144
kernel oplocks = no
stat cache = no
any advises helpful?
thanks
kane
----------------------------------------------------------------
Email: kai.zhou at soulinfo.com
??: 0510-85385788-616
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130913/30ac1a5d/attachment.html>
Vijay Bellur
2013-Sep-13 13:21 UTC
[Gluster-users] Gluster samba vfs read performance slow
On 09/13/2013 06:10 PM, kane wrote:> Hi > > We use gluster samba vfs test io,but the read performance via vfs is > half of write perfomance, > but via fuse the read and write performance is almost the same. > > this is our smb.conf: > [global] > workgroup = MYGROUP > server string = DCS Samba Server > log file = /var/log/samba/log.vfs > max log size = 500000 > # use sendfile = true > aio read size = 262144 > aio write size = 262144 > aio write behind = true > min receivefile size = 262144 > write cache size = 268435456 > security = user > passdb backend = tdbsam > load printers = yes > cups options = raw > read raw = yes > write raw = yes > max xmit = 262144 > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=262144 > SO_SNDBUF=262144 > kernel oplocks = no > stat cache = no > > any advises helpful? >This patch has shown improvement in read performance with libgfapi: http://review.gluster.org/#/c/5897/ Would it be possible for you to try this patch and check if it improves performance in your case? -Vijay