linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] f2fs_invalidate_compress_pages sometime take long time to finish
@ 2021-12-02  9:28 Fengnan Chang
  2021-12-16  9:29 ` Chao Yu
       [not found] ` <AN*AbgBBEzBKLVZxgMYcjapv.9.1639646974700.Hmail.changfengnan@vivo.com.@PGFkNTAzZjQwLTNjMDgtZTUyYi0wOGIzLTEwYzEwZWIyNzgxZkBrZXJuZWwub3JnPg==>
  0 siblings, 2 replies; 3+ messages in thread
From: Fengnan Chang @ 2021-12-02  9:28 UTC (permalink / raw)
  To: jaegeuk, chao, linux-f2fs-devel

When enable compress_cache option, in my test envrionment, sometime
f2fs_invalidate_compress_pages will take long time to finish, 
find_get_pages_range take most time, is there anyone encounter this problem
too?  In my test, I have 8 files, each file size was 64MB, do some seq and
random read or write and drop cache, when drop cache, it happnes, my kernel
version was 5.10.43. Is there anything to suspect?

Thanks.


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] f2fs_invalidate_compress_pages sometime take long time to finish
  2021-12-02  9:28 [f2fs-dev] f2fs_invalidate_compress_pages sometime take long time to finish Fengnan Chang
@ 2021-12-16  9:29 ` Chao Yu
       [not found] ` <AN*AbgBBEzBKLVZxgMYcjapv.9.1639646974700.Hmail.changfengnan@vivo.com.@PGFkNTAzZjQwLTNjMDgtZTUyYi0wOGIzLTEwYzEwZWIyNzgxZkBrZXJuZWwub3JnPg==>
  1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2021-12-16  9:29 UTC (permalink / raw)
  To: Fengnan Chang, jaegeuk, linux-f2fs-devel

On 2021/12/2 17:28, Fengnan Chang wrote:
> When enable compress_cache option, in my test envrionment, sometime
> f2fs_invalidate_compress_pages will take long time to finish,
> find_get_pages_range take most time, is there anyone encounter this problem
> too?  In my test, I have 8 files, each file size was 64MB, do some seq and
> random read or write and drop cache, when drop cache, it happnes, my kernel
> version was 5.10.43. Is there anything to suspect?

Fengnan, could you please test below patch?

https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=dev&id=a4419b29c491f42eb823f281ef242448f85760f3

> 
> Thanks.


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [f2fs-dev] f2fs_invalidate_compress_pages sometime take long time to finish
       [not found] ` <AN*AbgBBEzBKLVZxgMYcjapv.9.1639646974700.Hmail.changfengnan@vivo.com.@PGFkNTAzZjQwLTNjMDgtZTUyYi0wOGIzLTEwYzEwZWIyNzgxZkBrZXJuZWwub3JnPg==>
@ 2021-12-21  3:41   ` 常凤楠
  0 siblings, 0 replies; 3+ messages in thread
From: 常凤楠 @ 2021-12-21  3:41 UTC (permalink / raw)
  To: Chao Yu, jaegeuk, linux-f2fs-devel



> -----Original Message-----
> From: changfengnan@vivo.com <changfengnan@vivo.com> On Behalf Of Chao
> Yu
> Sent: Thursday, December 16, 2021 5:29 PM
> To: 常凤楠 <changfengnan@vivo.com>; jaegeuk@kernel.org;
> linux-f2fs-devel@lists.sourceforge.net
> Subject: Re: f2fs_invalidate_compress_pages sometime take long time to finish
> 
> On 2021/12/2 17:28, Fengnan Chang wrote:
> > When enable compress_cache option, in my test envrionment, sometime
> > f2fs_invalidate_compress_pages will take long time to finish,
> > find_get_pages_range take most time, is there anyone encounter this
> > problem too?  In my test, I have 8 files, each file size was 64MB, do
> > some seq and random read or write and drop cache, when drop cache, it
> > happnes, my kernel version was 5.10.43. Is there anything to suspect?
> 
> Fengnan, could you please test below patch?
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?h=dev&
> id=a4419b29c491f42eb823f281ef242448f85760f3

After this patch and https://lore.kernel.org/linux-f2fs-devel/20211213085857.8554-1-changfengnan@vivo.com/T/#u,
The problem hasn’t reproduce yet.
> 
> >
> > Thanks.

_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-21  3:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02  9:28 [f2fs-dev] f2fs_invalidate_compress_pages sometime take long time to finish Fengnan Chang
2021-12-16  9:29 ` Chao Yu
     [not found] ` <AN*AbgBBEzBKLVZxgMYcjapv.9.1639646974700.Hmail.changfengnan@vivo.com.@PGFkNTAzZjQwLTNjMDgtZTUyYi0wOGIzLTEwYzEwZWIyNzgxZkBrZXJuZWwub3JnPg==>
2021-12-21  3:41   ` 常凤楠

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).