[Gluster-users] client is terrible with large amount of small files

Ben Turner bturner at redhat.com
Thu Apr 30 11:44:00 UTC 2015


----- Original Message -----
> From: "Atin Mukherjee" <amukherj at redhat.com>
> To: "gjprabu" <gjprabu at zohocorp.com>
> Cc: "Ben Turner" <bturner at redhat.com>, gluster-users at gluster.org
> Sent: Thursday, April 30, 2015 7:37:19 AM
> Subject: Re: [Gluster-users] client is terrible with large amount of small files
> 
> 
> On 04/30/2015 03:09 PM, gjprabu wrote:
> > Hi Amukher,
> > 
> >           How to resolve this issue, till we need to wait for 3.7 release
> >           or any work around is there.
> You will have to as this feature is in for 3.7.

My apologies, I didn't realize that MT epoll didn't land in 3.6.  If you want to test it out there is an alpha build available:

http://download.gluster.org/pub/gluster/glusterfs/nightly/glusterfs-3.7/epel-6-x86_64

I wouldn't run this in production until 3.7 is released though.  Again sorry for the confusion.

-b

> > 
> > RegardsPrabu
> > 
> > 
> > 
> > 
> > 
> > ---- On Thu, 30 Apr 2015 14:49:46 +0530 Atin
> > Mukherjee&lt;amukherj at redhat.com&gt; wrote ----
> > 
> >  
> >  
> > On 04/30/2015 02:32 PM, gjprabu wrote:
> > &gt; Hi bturner,
> > &gt;
> > &gt;
> > &gt; I am getting below error while adding server.event
> > &gt;
> > &gt; gluster v set integvol server.event-threads 3
> > &gt; volume set: failed: option : server.event-threads does not exist
> > &gt; Did you mean server.gid-timeout or ...manage-gids?
> > This option is not available in 3.6, its going to come in 3.7
> >  
> > &gt;
> > &gt;
> > &gt; Glusterfs version has been upgraded to 3.6.3
> > &gt; Also os kernel upgraded to 6.6 kernel
> > &gt; Yes two brick are running in KVM and one is physical machine and we
> > are not using thinp.
> > &gt;
> > &gt; Regards
> > &gt; G.J
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt; ---- On Thu, 30 Apr 2015 00:37:44 +0530 Ben
> > Turner&amp;lt;bturner at redhat.com&amp;gt; wrote ----
> > &gt;
> > &gt; ----- Original Message -----
> > &gt; &amp;gt; From: "gjprabu" &amp;lt;gjprabu at zohocorp.com&amp;gt;
> > &gt; &amp;gt; To: "A Ghoshal" &amp;lt;a.ghoshal at tcs.com&amp;gt;
> > &gt; &amp;gt; Cc: gluster-users at gluster.org,
> > gluster-users-bounces at gluster.org
> > &gt; &amp;gt; Sent: Wednesday, April 29, 2015 9:07:07 AM
> > &gt; &amp;gt; Subject: Re: [Gluster-users] client is terrible with large
> > amount of small files
> > &gt; &amp;gt;
> > &gt; &amp;gt; Hi Ghoshal,
> > &gt; &amp;gt;
> > &gt; &amp;gt; Please find the details below.
> > &gt; &amp;gt;
> > &gt; &amp;gt; A) Glusterfs version
> > &gt; &amp;gt; glusterfs 3.6.2
> > &gt;
> > &gt; Upgrade to 3.6.3 and set client.event-threads and server.event-threads
> > to at least 4. Here is a guide on tuning MT epoll:
> > &gt;
> > &gt;
> > https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3/html/Administration_Guide/Small_File_Performance_Enhancements.html
> > &gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; B) volume configuration (gluster v &amp;lt;volname&amp;gt;
> > info)
> > &gt; &amp;gt; gluster volume info
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; Volume Name: integvol
> > &gt; &amp;gt; Type: Replicate
> > &gt; &amp;gt; Volume ID: b8f3a19e-59bc-41dc-a55a-6423ec834492
> > &gt; &amp;gt; Status: Started
> > &gt; &amp;gt; Number of Bricks: 1 x 3 = 3
> > &gt; &amp;gt; Transport-type: tcp
> > &gt; &amp;gt; Bricks:
> > &gt; &amp;gt; Brick1: integ-gluster2:/srv/sdb1/brick
> > &gt; &amp;gt; Brick2: integ-gluster1:/srv/sdb1/brick
> > &gt; &amp;gt; Brick3: integ-gluster3:/srv/sdb1/brick
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; C) host linux version
> > &gt; &amp;gt; CentOS release 6.5 (Final)
> > &gt;
> > &gt; Are your bricks on LVM? Are you using thinp? If so update to the
> > latest kernel as thinp perf was really bad in 6.5 and early 6.6 kernels.
> > &gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; D) details about the kind of network you use to connect your
> > servers making
> > &gt; &amp;gt; up your storage pool.
> > &gt; &amp;gt; We are connecting LAN to LAN there is no special network
> > configuration done
> > &gt; &amp;gt;
> > &gt; &amp;gt; Frome client we use to mount like below
> > &gt; &amp;gt; mount -t glusterfs gluster1:/integvol /mnt/gluster/
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; Regards
> > &gt; &amp;gt; Prabu
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; ---- On Wed, 29 Apr 2015 17:58:16 +0530 A
> > Ghoshal&amp;lt;a.ghoshal at tcs.com&amp;gt; wrote
> > &gt; &amp;gt; ----
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; Performance would largely depend upon setup. While I cannot
> > think of any
> > &gt; &amp;gt; setup that would cause write to be this slow, if would help
> > if you share the
> > &gt; &amp;gt; following details:
> > &gt; &amp;gt;
> > &gt; &amp;gt; A) Glusterfs version
> > &gt; &amp;gt; B) volume configuration (gluster v &amp;lt;volname&amp;gt;
> > info)
> > &gt; &amp;gt; C) host linux version
> > &gt; &amp;gt; D) details about the kind of network you use to connect your
> > servers making
> > &gt; &amp;gt; up your storage pool.
> > &gt; &amp;gt;
> > &gt; &amp;gt; Thanks,
> > &gt; &amp;gt; Anirban
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; From: gjprabu &amp;lt; gjprabu at zohocorp.com &amp;gt;
> > &gt; &amp;gt; To: &amp;lt; gluster-users at gluster.org &amp;gt;
> > &gt; &amp;gt; Date: 04/29/2015 05:52 PM
> > &gt; &amp;gt; Subject: Re: [Gluster-users] client is terrible with large
> > amount of small
> > &gt; &amp;gt; files
> > &gt; &amp;gt; Sent by: gluster-users-bounces at gluster.org
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; Hi Team,
> > &gt; &amp;gt;
> > &gt; &amp;gt; If anybody know the solution please share us.
> > &gt; &amp;gt;
> > &gt; &amp;gt; Regards
> > &gt; &amp;gt; Prabu
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; ---- On Tue, 28 Apr 2015 19:32:40 +0530 gjprabu &amp;lt;
> > gjprabu at zohocorp.com &amp;gt;
> > &gt; &amp;gt; wrote ----
> > &gt; &amp;gt; Hi Team,
> > &gt; &amp;gt;
> > &gt; &amp;gt; We are using glusterfs newly and testing data transfer part
> > in client using
> > &gt; &amp;gt; fuse.glusterfs file system but it is terrible with large
> > amount of small
> > &gt; &amp;gt; files (Large amount of small file 150MB of size it's writing
> > around 18min).
> > &gt; &amp;gt; I can able copy small files and syncing between the server
> > brick are working
> > &gt; &amp;gt; fine but it is terrible with large amount of small files.
> > &gt; &amp;gt;
> > &gt; &amp;gt; if anybody please share the solution for the above issue.
> > &gt; &amp;gt;
> > &gt; &amp;gt; Regards
> > &gt; &amp;gt; Prabu
> > &gt; &amp;gt;
> > &gt; &amp;gt; _______________________________________________
> > &gt; &amp;gt; Gluster-users mailing list
> > &gt; &amp;gt; Gluster-users at gluster.org
> > &gt; &amp;gt; http://www.gluster.org/mailman/listinfo/gluster-users
> > &gt; &amp;gt;
> > &gt; &amp;gt; _______________________________________________
> > &gt; &amp;gt; Gluster-users mailing list
> > &gt; &amp;gt; Gluster-users at gluster.org
> > &gt; &amp;gt; http://www.gluster.org/mailman/listinfo/gluster-users
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; =====-----=====-----=====
> > &gt; &amp;gt; Notice: The information contained in this e-mail
> > &gt; &amp;gt; message and/or attachments to it may contain
> > &gt; &amp;gt; confidential or privileged information. If you are
> > &gt; &amp;gt; not the intended recipient, any dissemination, use,
> > &gt; &amp;gt; review, distribution, printing or copying of the
> > &gt; &amp;gt; information contained in this e-mail message
> > &gt; &amp;gt; and/or attachments to it are strictly prohibited. If
> > &gt; &amp;gt; you have received this communication in error,
> > &gt; &amp;gt; please notify us by reply e-mail or telephone and
> > &gt; &amp;gt; immediately and permanently delete the message
> > &gt; &amp;gt; and any attachments. Thank you
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt;
> > &gt; &amp;gt; _______________________________________________
> > &gt; &amp;gt; Gluster-users mailing list
> > &gt; &amp;gt; Gluster-users at gluster.org
> > &gt; &amp;gt; http://www.gluster.org/mailman/listinfo/gluster-users
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt;
> > &gt; _______________________________________________
> > &gt; Gluster-users mailing list
> > &gt; Gluster-users at gluster.org
> > &gt; http://www.gluster.org/mailman/listinfo/gluster-users
> > &gt;
> >  
> > 
> 
> --
> ~Atin
> 


More information about the Gluster-users mailing list