Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl for protecting the working set

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: KOSAKI Motohiro
Date: Monday, November 1, 2010 - 12:05 am

Hi


I've heared similar requirement sometimes from embedded people. then also
don't use swap. then, I don't think this is hopeless idea. but I hope to 
clarify some thing at first.

Yes, a system often have should-not-be-evicted-file-caches. Typically, they
are libc, libX11 and some GUI libraries. Traditionally, we was making tiny
application which linked above important lib and call mlockall() at startup.
such technique prevent reclaim. So, Q1: Why do you think above traditional way
is insufficient? 

Q2: In the above you used min_filelist_kbytes=50000. How do you decide 
such value? Do other users can calculate proper value?

In addition, I have two request. R1: I think chromium specific feature is
harder acceptable because it's harder maintable. but we have good chance to
solve embedded generic issue. Please discuss Minchan and/or another embedded
developers. R2: If you want to deal OOM combination, please consider to 
combination of memcg OOM notifier too. It is most flexible and powerful OOM
mechanism. Probably desktop and server people never use bare OOM killer intentionally.

Thanks.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] RFC: vmscan: add min_filelist_kbytes sysctl for pr ..., Mandeep Singh Baines, (Thu Oct 28, 12:15 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Thu Oct 28, 3:03 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Thu Oct 28, 3:13 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., KAMEZAWA Hiroyuki, (Thu Oct 28, 5:04 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., KOSAKI Motohiro, (Mon Nov 1, 12:05 am)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Mon Nov 1, 11:24 am)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Mon Nov 1, 12:43 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Wed Nov 3, 3:40 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Wed Nov 3, 6:52 pm)
Re: [PATCH] RFC: vmscan: add min_filelist_kbytes sysctl fo ..., Mandeep Singh Baines, (Mon Nov 8, 2:55 pm)