[Gluster-users] Fwd:Re: client is terrible with large amount of small files
Vijay Bellur
vbellur at redhat.com
Tue May 5 09:38:27 UTC 2015
On 05/05/2015 12:59 PM, Kamal wrote:
> Hi Amukher,
>
> Even after upgrade to 3.7 small files transfer rate is slow.
>
> Below is the volume info.
>
> Volume Name: integvol1
> Type: Replicate
> Volume ID: 31793ba4-eeca-462a-a0cd-9adfb281225b
> Status: Started
> Number of Bricks: 1 x 2 = 2
> Transport-type: tcp
> Bricks:
> Brick1: integ-gluster1:/srv/sdb2/brick4
> Brick2: integ-gluster2:/srv/sdb2/brick4
> Options Reconfigured:
> server.event-threads: 30
> client.event-threads: 30
> ----
>
> I understand that for replication it would take some more time, but
> here its taking more time.
>
>
> Time taken for git clone in non gluster directory = 25 sec
>
> Time taken for git clone in gluster directory = 14 minutes
>
> Its a huge difference. Plz let me know any other tuning parameters need
> to be done.
>
>
I have seen this before and it primarily seems to be related to the
readdir calls done by git clone.
Turning on these options might help to some extent:
gluster volume set <volname> performance.readdir-ahead on
gluster volume set <volname> cluster.readdir-optimize on
Please do let us know what you observe with these options enabled.
Regards,
Vijay
More information about the Gluster-users
mailing list