From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960AbcHVLNs (ORCPT ); Mon, 22 Aug 2016 07:13:48 -0400 Received: from mail-wm0-f42.google.com ([74.125.82.42]:34738 "EHLO mail-wm0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbcHVLNr (ORCPT ); Mon, 22 Aug 2016 07:13:47 -0400 Date: Mon, 22 Aug 2016 13:13:44 +0200 From: Michal Hocko To: Markus Trippelsdorf Cc: Andrew Morton , greg@suse.cz, Linus Torvalds , Arkadiusz Miskiewicz , Ralf-Peter Rohbeck , Jiri Slaby , Olaf Hering , Vlastimil Babka , Joonsoo Kim , linux-mm@kvack.org, LKML Subject: Re: OOM detection regressions since 4.7 Message-ID: <20160822111344.GJ13596@dhcp22.suse.cz> References: <20160822093249.GA14916@dhcp22.suse.cz> <20160822101614.GA314@x4> <20160822105653.GI13596@dhcp22.suse.cz> <20160822110113.GB314@x4> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160822110113.GB314@x4> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 22-08-16 13:01:13, Markus Trippelsdorf wrote: > On 2016.08.22 at 12:56 +0200, Michal Hocko wrote: > > On Mon 22-08-16 12:16:14, Markus Trippelsdorf wrote: > > > On 2016.08.22 at 11:32 +0200, Michal Hocko wrote: > > > > [1] http://lkml.kernel.org/r/20160731051121.GB307@x4 > > > > > > For the report [1] above: > > > > > > markus@x4 linux % cat .config | grep CONFIG_COMPACTION > > > # CONFIG_COMPACTION is not set > > > > Hmm, without compaction and a heavy fragmentation then I am afraid we > > cannot really do much. What is the reason to disable compaction in the > > first place? > > I don't recall. Must have been some issue in the past. I will re-enable > the option. Well, without the compaction there is no source of high order pages at all. You can only reclaim and hope that some of the reclaimed pages will find its buddy on the list and form the higher order page. This can take for ever. We used to have the lumpy reclaim and that could help but this is long gone. I do not think we can really sanely optimize for high-order heavy loads without COMPACTION sanely. At least not without reintroducing lumpy reclaim or something similar. To be honest I am even not sure which configurations should disable compaction - except for really highly controlled !mmu or other one purpose systems. -- Michal Hocko SUSE Labs