From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753971AbcHVLUl (ORCPT ); Mon, 22 Aug 2016 07:20:41 -0400 Received: from ud10.udmedia.de ([194.117.254.50]:51610 "EHLO mail.ud10.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751294AbcHVLUk (ORCPT ); Mon, 22 Aug 2016 07:20:40 -0400 Date: Mon, 22 Aug 2016 13:20:36 +0200 From: Markus Trippelsdorf To: Michal Hocko 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: <20160822112036.GA305@x4> References: <20160822093249.GA14916@dhcp22.suse.cz> <20160822101614.GA314@x4> <20160822105653.GI13596@dhcp22.suse.cz> <20160822110113.GB314@x4> <20160822111344.GJ13596@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160822111344.GJ13596@dhcp22.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016.08.22 at 13:13 +0200, Michal Hocko wrote: > 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. I now recall. It was an issue with CONFIG_TRANSPARENT_HUGEPAGE, so I disabled that option. This then de-selected CONFIG_COMPACTION... -- Markus