<div dir="ltr">Can you please provide more details about your volume configuration and the version of gluster that you are using?<div><br></div><div>Regards,</div><div>Vijay</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 9, 2017 at 5:35 PM, mohammad kashif <span dir="ltr">&lt;<a href="mailto:kashif.alig@gmail.com" target="_blank">kashif.alig@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi<br><br></div>I have just moved our 400 TB HPC storage from lustre to gluster. It is part of a research institute and users have very small files to  big files ( few KB to 20GB) . Our setup consists of 5 servers, each with 96TB RAID 6 disks. All servers are connected through 10G ethernet but not all clients.  Gluster volumes are distributed without any replication. There are approximately 80 million files in file system.<br></div><div>I am mounting using glusterfs on  clients.<br></div><div><br></div>I have copied everything from lustre to gluster but old file system exist so I can compare.<br><br></div>The problem, I am facing is extremely slow du on even a small directory. Also the time taken is substantially different each time.  <br></div>I tried du from same client on  a particular directory twice and got these results. <br><div><div><br>  time du -sh /data/aa/bb/cc
<br>3.7G    /data/aa/bb/cc

<br>real    7m29.243s
<br>user    0m1.448s
<br>sys     0m7.067s
<br><br>time du -sh /data/aa/bb/cc
<br>3.7G         /data/aa/bb/cc

<br>real    16m43.735s
<br>user    0m1.097s
<br>sys     0m5.802s<br><br></div><div>16m and 7m is too long for a 3.7 G directory. I must mention that the directory contains huge number of files (208736)<br><br></div><div>but running du on same directory on old data gives this result<br><br>time du -sh /olddata/aa/bb/cc
<br>4.0G    /olddata/aa/bb/cc<br>real    3m1.255s
<br>user    0m0.755s
<br>sys     0m38.099s<br><br></div><div>much better if I run same command again<br><br> time du -sh /olddata/aa/bb/cc
<br>4.0G    /olddata/aa/bb/cc

<br>real    0m8.309s
<br>user    0m0.313s
<br>sys     0m7.755s
</div><div><br></div><div><div>Is there anything I can do to improve this performance? I would also like hear from some one who is running same kind of setup.<br><br></div><div>Thanks<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>Kashif <br></div><div><br><br></div></font></span></div></div></div>
<br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div>