linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [fuse] Unexpectedly large number of getattr() and lookup requests
@ 2018-11-29 21:20 Nikolaus Rath
  2018-11-30  7:58 ` Miklos Szeredi
  0 siblings, 1 reply; 8+ messages in thread
From: Nikolaus Rath @ 2018-11-29 21:20 UTC (permalink / raw)
  To: fuse-devel, linux-fsdevel, Miklos Szeredi

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?

Thanks,
-Nikolaus
-- 
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-12-06  9:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-29 21:20 [fuse] Unexpectedly large number of getattr() and lookup requests Nikolaus Rath
2018-11-30  7:58 ` Miklos Szeredi
2018-12-01 10:00   ` [fuse-devel] " Nikolaus Rath
2018-12-04  9:36     ` Miklos Szeredi
2018-12-04 19:04       ` Nikolaus Rath
2018-12-05  9:25         ` Miklos Szeredi
2018-12-05 18:06           ` Nikolaus Rath
2018-12-06  9:26             ` Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).