Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751239AbdCQSbJ (ORCPT ); Fri, 17 Mar 2017 14:31:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:45130 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751031AbdCQSbI (ORCPT ); Fri, 17 Mar 2017 14:31:08 -0400 Subject: Re: [PATCH v3 0/8] try to reduce fragmenting fallbacks To: Johannes Weiner References: <20170307131545.28577-1-vbabka@suse.cz> <20170308164631.GA12130@cmpxchg.org> <20170316183422.GA1461@cmpxchg.org> Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mel Gorman , Joonsoo Kim , David Rientjes , kernel-team@fb.com From: Vlastimil Babka Message-ID: <0e01d912-9473-35df-5bc7-f080ab9c1818@suse.cz> Date: Fri, 17 Mar 2017 19:29:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170316183422.GA1461@cmpxchg.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1742 Lines: 47 On 03/16/2017 07:34 PM, Johannes Weiner wrote: > On Wed, Mar 08, 2017 at 08:17:39PM +0100, Vlastimil Babka wrote: >> On 8.3.2017 17:46, Johannes Weiner wrote: >>> Is there any other data you would like me to gather? >> >> If you can enable the extfrag tracepoint, it would be nice to have graphs of how >> unmovable allocations falling back to movable pageblocks, etc. > > Okay, here we go. I recorded 24 hours worth of the extfrag tracepoint, > filtered to fallbacks from unmovable requests to movable blocks. I've > uploaded the plot here: > > http://cmpxchg.org/antifrag/fallbackrate.png > > but this already speaks for itself: > > 11G alloc-mtfallback.trace > 3.3G alloc-mtfallback-patched.trace > > ;) Great! >> Possibly also /proc/pagetypeinfo for numbers of pageblock types. > After a week of uptime, the patched (b) kernel has more movable blocks > than vanilla 4.10-rc8 (a): > > Number of blocks type Unmovable Movable Reclaimable HighAtomic CMA Isolate > > a: Node 1, zone Normal 2017 29763 987 1 0 0 > b: Node 1, zone Normal 1264 30850 653 1 0 0 That's better than I expected. I wouldn't be surprised if the number of unmovable pageblocks actually got *higher* due to the series because previously many unmovable pages would be scattered around movable blocks. > I sampled this somewhat sporadically over the week and it's been > reading reliably this way. > > The patched kernel also consistently beats vanilla in terms of peak > job throughput. > > Overall very cool! Thanks a lot! So that means it's worth the increased compaction stats you reported earlier?