[Devel] [PATCH rh7] fuse: increase min/max_dirty_pages up to 256/512 MB
Maxim Patlasov
mpatlasov at virtuozzo.com
Mon Apr 25 09:24:23 PDT 2016
Acked-by: Maxim Patlasov <mpatlasov at virtuozzo.com>
On 04/25/2016 05:02 AM, Vladimir Davydov wrote:
> According to Alexey, the pstorage chunk size was increased from 64 MB up
> to 256 MB, which made the default min/max fuse dirty pages limits (64
> and 256 MB) too low to yield maximal rate while doing sequential writes
> over pstorage. Let's increase the default limits up to 256 and 512 MB
> respectively to restore pstorage performance.
>
> Suggested-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
> Signed-off-by: Vladimir Davydov <vdavydov at virtuozzo.com>
> ---
> fs/fuse/inode.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
> index bb010cbc5097..3772b62f7ad1 100644
> --- a/fs/fuse/inode.c
> +++ b/fs/fuse/inode.c
> @@ -1100,8 +1100,8 @@ static int fuse_bdi_init(struct fuse_conn *fc, struct super_block *sb)
> /*
> * These values have precedence over max_ratio
> */
> - bdi_set_max_dirty(&fc->bdi, (256 * 1024 * 1024) / PAGE_SIZE);
> - bdi_set_min_dirty(&fc->bdi, (64 * 1024 * 1024) / PAGE_SIZE);
> + bdi_set_max_dirty(&fc->bdi, (512 * 1024 * 1024) / PAGE_SIZE);
> + bdi_set_min_dirty(&fc->bdi, (256 * 1024 * 1024) / PAGE_SIZE);
>
> return 0;
> }
More information about the Devel
mailing list