Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1740472
| From | Michal Hocko <mhocko@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm, swap: Make VMA based swap readahead configurable |
| Date | 2017-09-27 09:50 +0200 |
| Message-ID | <uufgt-7Sm-3@gated-at.bofh.it> (permalink) |
| References | <urYD7-2va-7@gated-at.bofh.it> <utY5X-5jU-3@gated-at.bofh.it> <uucLE-6o3-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed 27-09-17 14:04:01, Minchan Kim wrote: > On Tue, Sep 26, 2017 at 03:21:29PM +0200, Michal Hocko wrote: > > On Thu 21-09-17 09:33:10, Huang, Ying wrote: > > > From: Huang Ying <ying.huang@intel.com> > > > > > > This patch adds a new Kconfig option VMA_SWAP_READAHEAD and wraps VMA > > > based swap readahead code inside #ifdef CONFIG_VMA_SWAP_READAHEAD/#endif. > > > This is more friendly for tiny kernels. > > > > How (much)? > > > > > And as pointed to by Minchan > > > Kim, give people who want to disable the swap readahead an opportunity > > > to notice the changes to the swap readahead algorithm and the > > > corresponding knobs. > > > > Why would anyone want that? > > > > Please note that adding new config options make the already complicated > > config space even more problematic so there should be a good reason to > > add one. Please make sure your justification is clear on why this is > > worth the future maintenance and configurability burden. > > The problem is users have disabled swap readahead by echo 0 > /proc/sys/ > vm/page-cluster are regressed by this new interface /sys/kernel/mm/swap/ > vma_ra_max_order. Because for disabling readahead completely, they should > disable vma_ra_max_order as well as page-cluster from now on. > > So, goal of new config to notice new feature to admins so they can be aware > of new konb vma_ra_max_order as well as page-cluster. > I canont think other better idea to preventing such regression. > > http://lkml.kernel.org/r/%3C20170913014019.GB29422@bbox%3E So, how are you going to configure this when you do not know whether zram will be used? In other words what should e.g. distribution set this to? -- Michal Hocko SUSE Labs
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] mm, swap: Make VMA based swap readahead configurable "Huang, Ying" <ying.huang@intel.com> - 2017-09-21 03:40 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-25 07:50 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable "Huang\, Ying" <ying.huang@intel.com> - 2017-09-25 08:00 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-25 08:20 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable "Huang\, Ying" <ying.huang@intel.com> - 2017-09-25 08:30 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-25 08:40 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-26 15:30 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable "Huang\, Ying" <ying.huang@intel.com> - 2017-09-27 03:40 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-27 07:10 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-27 09:50 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-27 10:10 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-27 10:40 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-27 15:20 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-27 15:30 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-27 15:50 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-27 16:00 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Minchan Kim <minchan@kernel.org> - 2017-09-27 16:20 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-09-27 16:20 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable "Huang\, Ying" <ying.huang@intel.com> - 2017-09-28 03:10 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Michal Hocko <mhocko@kernel.org> - 2017-10-02 09:30 +0200
Re: [PATCH] mm, swap: Make VMA based swap readahead configurable Dave Hansen <dave.hansen@intel.com> - 2017-10-02 22:50 +0200
csiph-web