Red Hat Bugzilla – Bug 816140
Performance: du takes a _lot_ of time to complete
Last modified: 2014-04-17 07:38:42 EDT
Description of problem:
[root@gqac009 nfs-3]# time find pax -type d | wc -l ; time find pax | wc -l
[root@gqac009 pax]# time du -sh *
Steps to Reproduce:
/mnt/pax# pax -v -r -w / .
Allow it to run overnight or for a couple of days, this will recursively copy /mnt onto /mnt/pax. Make sure you keep a few GB of data on /mnt (assuming GlusterFS is mounted on /mnt) which is enough to create quite a depth of directory hierarchy.
Setup is a four node distribute on NFS.
Deferring this to post RC. Patch available in upstream but a careful evaluation is necessary before that can be backported to release-3.3
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.5.0, please reopen this bug report.
glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist , 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.