Re: [PATCH] fuse: enable larger read buffers for readdir.

From: Randy Dunlap
Date: Wed Jul 26 2023 - 11:19:29 EST




On 7/26/23 03:59, Jaco Kroon wrote:
> +config FUSE_READDIR_ORDER
> + int
> + range 0 5
> + default 5
> + help
> + readdir performance varies greatly depending on the size of the read.
> + Larger buffers results in larger reads, thus fewer reads and higher
> + performance in return.
> +
> + You may want to reduce this value on seriously constrained memory
> + systems where 128KiB (assuming 4KiB pages) cache pages is not ideal.
> +
> + This value reprents the order of the number of pages to allocate (ie,

represents (i.e.,

> + the shift value). A value of 0 is thus 1 page (4KiB) where 5 is 32
> + pages (128KiB).

--
~Randy