[Gluster-devel] Glusterfs ls test
keiviw at 163.com
Mon Jun 27 08:49:40 UTC 2016
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...
More information about the Gluster-devel