[Gluster-devel] Glusterfs ls test

Keiviw keiviw at 163.com
Mon Jun 27 08:49:40 UTC 2016


hi,
     I have tested the DHT to list the directory.The enviroment of this test is: dir1-70/subdir1-subdir96/file1-96,dirX and subdirX were directories.I excuted "time ls dir1" to list the subdir1-99,it toke 2.5s,while I excuted "time ls subdir1" to list the file1-99,it toke 0.14s.Of course,both of the two tests are the first time to list the dentries. 
     Here is my question, the number of dentries are the same,but the time spent on list the dentries which are directories is much more than the time spent on list dentries which are files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-devel/attachments/20160627/f1047ec3/attachment-0001.html>


More information about the Gluster-devel mailing list