Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 2:08 PM, 刘硕然 wrote: > Thanks for the advice. I tried removing BDI_CAP_STRICTLIMIT, and it works. > There is no balance_dirty_pages() triggered, and the performance improves a > lot. > > Tested by libfuse passthrough_ll example and fio: > ./passthrough_ll -o writeback

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 2:08 PM, 刘硕然 wrote: > Thanks for the advice. I tried removing BDI_CAP_STRICTLIMIT, and it works. > There is no balance_dirty_pages() triggered, and the performance improves a > lot. > > Tested by libfuse passthrough_ll example and fio: > ./passthrough_ll -o writeback

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread 刘硕然
in advance. Regards, Shuoran -邮件原件- 发件人: Miklos Szeredi [mailto:mik...@szeredi.hu] 发送时间: 2018年8月9日 16:30 收件人: 刘硕然 抄送: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache On Thu, Aug 9, 2018 at 9

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread 刘硕然
in advance. Regards, Shuoran -邮件原件- 发件人: Miklos Szeredi [mailto:mik...@szeredi.hu] 发送时间: 2018年8月9日 16:30 收件人: 刘硕然 抄送: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache On Thu, Aug 9, 2018 at 9

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 9:31 AM, 刘硕然 wrote: > Thank you for the prompt reply. > > I tried this config, but still can get balance_dirty_pages triggered. I think it may be due to BDI_CAP_STRICTLIMIT used by fuse. If you remove that setting from fuse in the kernel you should not be getting the

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 9:31 AM, 刘硕然 wrote: > Thank you for the prompt reply. > > I tried this config, but still can get balance_dirty_pages triggered. I think it may be due to BDI_CAP_STRICTLIMIT used by fuse. If you remove that setting from fuse in the kernel you should not be getting the

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread 刘硕然
=16 think=1 cgroup_ino=1 ... Regards, Shuoran -邮件原件- 发件人: Miklos Szeredi [mailto:mik...@szeredi.hu] 发送时间: 2018年8月9日 15:14 收件人: 刘硕然 抄送: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache On

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread 刘硕然
=16 think=1 cgroup_ino=1 ... Regards, Shuoran -邮件原件- 发件人: Miklos Szeredi [mailto:mik...@szeredi.hu] 发送时间: 2018年8月9日 15:14 收件人: 刘硕然 抄送: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org 主题: Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache On

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 5:37 AM, 刘硕然 wrote: > Dear Miklos, > > Recently I've been testing FUSE and libfuse example passthrough_ll with > writeback cache on, and found out that the performance drops significantly > compared to that in local filesystem. As I can see from trace, >

Re: FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-09 Thread Miklos Szeredi
On Thu, Aug 9, 2018 at 5:37 AM, 刘硕然 wrote: > Dear Miklos, > > Recently I've been testing FUSE and libfuse example passthrough_ll with > writeback cache on, and found out that the performance drops significantly > compared to that in local filesystem. As I can see from trace, >

FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-08 Thread 刘硕然
Dear Miklos, Recently I've been testing FUSE and libfuse example passthrough_ll with writeback cache on, and found out that the performance drops significantly compared to that in local filesystem. As I can see from trace, balance_dirty_pages is triggered very frequently even if there not

FUSE: write operations trigger balance_dirty_pages when using writeback cache

2018-08-08 Thread 刘硕然
Dear Miklos, Recently I've been testing FUSE and libfuse example passthrough_ll with writeback cache on, and found out that the performance drops significantly compared to that in local filesystem. As I can see from trace, balance_dirty_pages is triggered very frequently even if there not