From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f173.google.com (mail-pf0-f173.google.com [209.85.192.173]) by kanga.kvack.org (Postfix) with ESMTP id 382BE6B0255 for ; Tue, 8 Mar 2016 04:57:05 -0500 (EST) Received: by mail-pf0-f173.google.com with SMTP id 124so9529994pfg.0 for ; Tue, 08 Mar 2016 01:57:05 -0800 (PST) Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com. [2607:f8b0:400e:c00::243]) by mx.google.com with ESMTPS id q5si3737509pap.42.2016.03.08.01.57.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Mar 2016 01:57:04 -0800 (PST) Received: by mail-pf0-x243.google.com with SMTP id x188so930734pfb.2 for ; Tue, 08 Mar 2016 01:57:04 -0800 (PST) Date: Tue, 8 Mar 2016 18:58:24 +0900 From: Sergey Senozhatsky Subject: Re: [PATCH] mm, oom: protect !costly allocations some more (was: Re: [PATCH 0/3] OOM detection rework v4) Message-ID: <20160308095824.GA457@swordfish> References: <1450203586-10959-1-git-send-email-mhocko@kernel.org> <20160203132718.GI6757@dhcp22.suse.cz> <20160225092315.GD17573@dhcp22.suse.cz> <20160229210213.GX16930@dhcp22.suse.cz> <20160307160838.GB5028@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160307160838.GB5028@dhcp22.suse.cz> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: Hugh Dickins , Sergey Senozhatsky , Andrew Morton , Linus Torvalds , Johannes Weiner , Mel Gorman , David Rientjes , Tetsuo Handa , Hillf Danton , KAMEZAWA Hiroyuki , linux-mm@kvack.org, LKML , Joonsoo Kim , Vlastimil Babka On (03/07/16 17:08), Michal Hocko wrote: > On Mon 29-02-16 22:02:13, Michal Hocko wrote: > > Andrew, > > could you queue this one as well, please? This is more a band aid than a > > real solution which I will be working on as soon as I am able to > > reproduce the issue but the patch should help to some degree at least. > > Joonsoo wasn't very happy about this approach so let me try a different > way. What do you think about the following? Hugh, Sergey does it help > for your load? I have tested it with the Hugh's load and there was no > major difference from the previous testing so at least nothing has blown > up as I am not able to reproduce the issue here. > > Other changes in the compaction are still needed but I would like to not > depend on them right now. works fine for me. $ cat /proc/vmstat | egrep -e "compact|swap" pgsteal_kswapd_dma 7 pgsteal_kswapd_dma32 6457075 pgsteal_kswapd_normal 1462767 pgsteal_kswapd_movable 0 pgscan_kswapd_dma 18 pgscan_kswapd_dma32 6544126 pgscan_kswapd_normal 1495604 pgscan_kswapd_movable 0 kswapd_inodesteal 29 kswapd_low_wmark_hit_quickly 1168 kswapd_high_wmark_hit_quickly 1627 compact_migrate_scanned 5762793 compact_free_scanned 54090239 compact_isolated 1303895 compact_stall 1542 compact_fail 1117 compact_success 425 compact_kcompatd_wake 0 no OOM-kills after 6 rounds of tests. Tested-by: Sergey Senozhatsky thanks! -ss -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org