Red Hat Bugzilla – Bug 1265893
Perf: Getting bad performance while doing ls
Last modified: 2016-06-16 09:38:14 EDT
Description of problem:
We found that readdirp is taking a lot of time because of unnecessary lstats and readlinks and lgetxattrs that can be avoided. This bug will track that part of the bad performance.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
*** Bug 1265879 has been marked as a duplicate of this bug. ***
http://review.gluster.org/12222 has been merged.
Pranith, can you please backport it to 3.7? Also, if its needed for 3.6 as well (I think its needed) please backport it to 3.6 as well.
REVIEW: http://review.gluster.org/12271 (dht: improving readdir performance) posted (#2) for review on master by Sakshi Bansal
REVIEW: http://review.gluster.org/12271 (dht: improving readdir performance) posted (#3) for review on master by Sakshi Bansal
REVIEW: http://review.gluster.org/12271 (dht: improving readdir performance) posted (#4) for review on master by Sakshi Bansal
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.
glusterfs-3.8.0 has been announced on the Gluster mailinglists , packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist  and the update infrastructure for your distribution.