[Bugs] [Bug 1478411] Directory listings on fuse mount are very slow due to small number of getdents () entries

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 29 03:38:57 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1478411



--- Comment #31 from nh2 <nh2-redhatbugzilla at deditus.de> ---
Above I have attached the TRACE logs as requested in comment 16.

This is during the `ls` invocation:

# strace -ftttT -e getdents ls -1U largenames-10k/ > /dev/null
1514518214.946014 getdents(3, /* 604 entries */, 131072) = 43392 <0.220178>
1514518215.166640 getdents(3, /* 603 entries */, 131072) = 43416 <0.066448>
1514518215.233425 getdents(3, /* 601 entries */, 131072) = 43272 <0.195806>
1514518215.429612 getdents(3, /* 601 entries */, 131072) = 43272 <0.000559>
1514518215.430538 getdents(3, /* 601 entries */, 131072) = 43272 <0.139956>
1514518215.602667 getdents(3, /* 601 entries */, 131072) = 43272 <0.008902>
1514518215.611953 getdents(3, /* 601 entries */, 131072) = 43272 <0.050002>
1514518215.662359 getdents(3, /* 601 entries */, 131072) = 43272 <0.000514>
1514518215.663226 getdents(3, /* 601 entries */, 131072) = 43272 <0.117737>
1514518215.781354 getdents(3, /* 601 entries */, 131072) = 43272 <0.000590>
1514518215.782331 getdents(3, /* 601 entries */, 131072) = 43272 <0.107279>
1514518215.890031 getdents(3, /* 601 entries */, 131072) = 43272 <0.000557>
1514518215.890959 getdents(3, /* 601 entries */, 131072) = 43272 <0.093604>
1514518215.984941 getdents(3, /* 601 entries */, 131072) = 43272 <0.000542>
1514518215.985842 getdents(3, /* 601 entries */, 131072) = 43272 <0.126207>
1514518216.112435 getdents(3, /* 601 entries */, 131072) = 43272 <0.000568>
1514518216.113365 getdents(3, /* 381 entries */, 131072) = 27432 <0.035200>
1514518216.148826 getdents(3, /* 0 entries */, 131072) = 0 <0.000178>
1514518216.149234 +++ exited with 0 +++

This operation is bracketed between setting the logging level from INFO to
TRACE, and the other way around.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list