Re: Confusing lstat() performance

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

 



----- Original Message -----
> From: "Niklas Hambüchen" <mail@xxxxxx>
> To: "Ben Turner" <bturner@xxxxxxxxxx>
> Cc: gluster-users@xxxxxxxxxxx
> Sent: Sunday, September 17, 2017 9:49:10 PM
> Subject: Re:  Confusing lstat() performance
> 
> Hi Ben,
> 
> do you know if the smallfile benchmark also does interleaved getdents()
> and lstat, which is what I found as being the key difference that
> creates the performance gap (further down this thread)?

I am not sure, you can have a look at it:

https://github.com/bengland2/smallfile


> 
> Also, wouldn't `--threads 8` change the performance numbers by factor 8
> versus the plain `ls` and `rsync` that I did?

Maybe not 8x but it will DEF improve things.  I just recycled what was in my history buffer, I just wanted to illustrate that even though you see the stat calls in the strace application behavior can have a big impact on performance.

> 
> Would you mind running those commands directly/plainly on your cluster
> to confirm or refute my numbers?

I wouldn't mind, but I don't have your dataset.  Thats why I wanted to bring in a perf test tool that we could compare things apples to apples.  What about running on the data that smallfile creates and comparing that?

-b


> 
> Thanks!
> 
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users




[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