[Gluster-users] Confusing lstat() performance

Niklas Hambüchen mail at nh2.me
Sun Sep 17 22:28:03 UTC 2017


On 17/09/17 18:03, Niklas Hambüchen wrote:
> So far the only difference between `ls` and `bup index` I could observe
> is that `bup index` chdir()s into the directory to index, ls doesn't.
> 
> But when I `cd` into the dir and run `ls` without directory argument, it
> is still much faster than bup index for each stat().

Hmm, bup uses the fchdir() syscall to go into the target directory.
Might that make a difference for gluster?


More information about the Gluster-users mailing list