Re: [PATCH 00/13] VFS: Filesystem information [ver #19]
From: David Howells
Date: Wed Apr 01 2020 - 04:27:41 EST
Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> According to dhowell's measurements processing 100k mounts would take
> about a few seconds of system time (that's the time spent by the
> kernel to retrieve the data,
But the inefficiency of mountfs - at least as currently implemented - scales
up with the number of individual values you want to retrieve, both in terms of
memory usage and time taken.
With fsinfo(), I've tried to batch values together where it makes sense - and
there's no lingering memory overhead - no extra inodes, dentries and files
required.
David