[Gluster-users] Gluster samba vfs read performance slow

Vijay Bellur vbellur at redhat.com
Fri Sep 13 13:21:01 UTC 2013


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




More information about the Gluster-users mailing list