Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1348059
| From | Joonsoo Kim <js1304@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/3] OOM detection rework v4 |
| Date | 2016-03-02 15:10 +0100 |
| Message-ID | <r8fDt-gr-37@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <r7MUN-60O-9@gated-at.bofh.it> <r7SGT-1jf-35@gated-at.bofh.it> <r7X3P-4gl-3@gated-at.bofh.it> <r85b3-1lk-3@gated-at.bofh.it> <r8eem-7A8-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-03-02 21:37 GMT+09:00 Michal Hocko <mhocko@kernel.org>: > On Wed 02-03-16 11:55:07, Joonsoo Kim wrote: >> On Tue, Mar 01, 2016 at 07:14:08PM +0100, Vlastimil Babka wrote: > [...] >> > Yes, compaction is historically quite careful to avoid making low >> > memory conditions worse, and to prevent work if it doesn't look like >> > it can ultimately succeed the allocation (so having not enough base >> > pages means that compacting them is considered pointless). This >> > aspect of preventing non-zero-order OOMs is somewhat unexpected :) >> >> It's better not to assume that compaction would succeed all the times. >> Compaction has some limitations so it sometimes fails. >> For example, in lowmem situation, it only scans small parts of memory >> and if that part is fragmented by non-movable page, compaction would fail. >> And, compaction would defer requests 64 times at maximum if successive >> compaction failure happens before. >> >> Depending on compaction heavily is right direction to go but I think >> that it's not ready for now. More reclaim would relieve problem. > > I really fail to see why. The reclaimable memory can be migrated as > well, no? Relying on the order-0 reclaim makes only sense to get over > wmarks. Attached link on previous reply mentioned limitation of current compaction implementation. Briefly speaking, It would not scan all range of memory due to algorithm limitation so even if there is reclaimable memory that can be also migrated, compaction could fail. There is no such limitation on reclaim and that's why I think that compaction is not ready for now. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 0/3] OOM detection rework v4 Hugh Dickins <hughd@google.com> - 2016-02-25 04:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-02-25 07:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-02-25 10:20 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-25 10:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-02-25 10:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com> - 2016-02-25 12:10 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-25 10:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Hugh Dickins <hughd@google.com> - 2016-02-26 07:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-02-26 09:00 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-26 10:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2016-02-26 11:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-26 14:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-26 10:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-29 22:10 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-02 03:20 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-02 11:00 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <js1304@gmail.com> - 2016-03-02 14:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-02 15:10 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <js1304@gmail.com> - 2016-03-02 15:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-03 10:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2016-03-03 11:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <js1304@gmail.com> - 2016-03-03 15:20 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-03 16:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-04 06:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Vlastimil Babka <vbabka@suse.cz> - 2016-03-03 17:00 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-03 17:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-04 08:20 +0100
Re: [PATCH 0/3] OOM detection rework v4 Minchan Kim <minchan@kernel.org> - 2016-03-02 16:10 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-02-29 21:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Hugh Dickins <hughd@google.com> - 2016-03-01 08:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-01 14:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-01 15:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Vlastimil Babka <vbabka@suse.cz> - 2016-03-01 19:20 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-02 04:00 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-02 13:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <js1304@gmail.com> - 2016-03-02 15:10 +0100
Re: [PATCH 0/3] OOM detection rework v4 Vlastimil Babka <vbabka@suse.cz> - 2016-03-02 14:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-02 03:30 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-02 13:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Michal Hocko <mhocko@kernel.org> - 2016-03-03 13:40 +0100
Re: [PATCH 0/3] OOM detection rework v4 Hugh Dickins <hughd@google.com> - 2016-03-03 22:00 +0100
Re: [PATCH 0/3] OOM detection rework v4 Vlastimil Babka <vbabka@suse.cz> - 2016-03-04 08:50 +0100
Re: [PATCH 0/3] OOM detection rework v4 Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-03-04 09:00 +0100
csiph-web