On Nov 30 2018, Miklos Szeredi <miklos@xxxxxxxxxx> wrote: > On Thu, Nov 29, 2018 at 10:20 PM Nikolaus Rath <Nikolaus@xxxxxxxx> wrote: >> >> Hello, >> >> I am seeing an unexpectedly large number of getattr() and lookup() >> requests being sent to userspace fuse. I am setting a very large >> attr_timeout and entry_timeout, so I would have expected that the >> maximum number of getattr() and lookup() requests is capped by the >> number of distinct files in the filesystem plus the number of forget >> requests. >> >> However, actual numbers are much higher. For example, when running tests >> on a filesystem with 2960 directory entries, I am getting scenarios >> with 203447 lookup requests, 12970 getattr requests, and zero forget >> requests. >> >> Did I misunderstand something about how dentry and attribute caching >> works? > > Debug log might be useful. Here you go! https://www.dropbox.com/s/tg4vyshz4g18sub/fuse-debug.log.xz?dl=1 Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«