[Gluster-users] Confusing lstat() performance

Ben Turner bturner at redhat.com
Tue Sep 19 20:16:43 UTC 2017


----- Original Message -----
> From: "Niklas Hambüchen" <mail at nh2.me>
> To: "Sam McLeod" <mailinglists at smcleod.net>
> Cc: gluster-users at gluster.org
> Sent: Sunday, September 17, 2017 7:34:15 PM
> Subject: Re: [Gluster-users] Confusing lstat() performance
> 
> I found the reason now, at least for this set of lstat()s I was looking at.
> 
> bup first does all getdents(), obtaining all file names in the
> directory, and then stat()s them.

+1 I was thinking of a case just like this.

-b

> 
> Apparently this destroys some of gluster's caching, making stat()s ~100x
> slower.
> 
> What caching could this be, and how could I convince gluster to serve
> these stat()s as fast as if a getdents() had been done just before them?
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
> 


More information about the Gluster-users mailing list