The commit is pushed to "branch-rh7-3.10.0-327.10.1.vz7.12.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-327.10.1.vz7.12.15 ------> commit 851b61670a39e50d87a6ee1120e0f7d4b7a45bc0 Author: Vladimir Davydov <vdavy...@virtuozzo.com> Date: Fri Apr 29 18:30:33 2016 +0400
fuse: increase min/max_dirty_pages up to 256/512 MB 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 <kuz...@virtuozzo.com> Signed-off-by: Vladimir Davydov <vdavy...@virtuozzo.com> Acked-by: Maxim Patlasov <mpatla...@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 bb010cb..3772b62 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; } _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel