[Gluster-users] Gluster samba vfs read performance slow

kane stef_9k at 163.com
Fri Sep 13 14:37:31 UTC 2013


Hi Vijay,

	thank you for post this message, i will try it soon

-kane



在 2013-9-13,下午9:21,Vijay Bellur <vbellur at redhat.com> 写道:

> 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