Improving afr performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Vikas,

Thanks for the response.

I am having performance issues upon migration to gluster. Follwoing
should explain the issue.

There are scripts running which access data from the gluster mount
point . Earlier NFS was used . With NFS the scripts seem to have no
problem getting completed faster but when same scripts run accessing
same data from gluster  it runs about 3-4 times  slower .  Mostly the
scripts do stat/unlinking/renaming operations on files. Number of
files would be roughly 25k withe average file size 40KB . What can be
done to increase the speed/performance ?

Regarding stat-prefetch is the following usage correct ?

volume afr
 type cluster/replicate
 subvolumes A B
end-volume

volume stat-prefetch
  type performance/stat-prefetch
  subvolumes afr
end-volume

Thank you.

-Paras


On Fri, Nov 20, 2009 at 1:42 AM, Vikas Gorur <vikas at gluster.com> wrote:
> Paras Fadte wrote:
>>
>> Hi,
>>
>> Which ?settings in AFR in ?gluster directly affects performance when
>> there are lots of "ls" and "stat" calls made on files mounted using
>> gluster?
>>
>>
>
> There isn't any setting in afr that can affect ls or stat performance. You
> can load
> the stat-prefetch translator above afr to increase ls/stat performance.
>
> Vikas
>
>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux