From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753801AbdCPSev (ORCPT ); Thu, 16 Mar 2017 14:34:51 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:40674 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753505AbdCPSer (ORCPT ); Thu, 16 Mar 2017 14:34:47 -0400 Date: Thu, 16 Mar 2017 14:34:22 -0400 From: Johannes Weiner To: Vlastimil Babka Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mel Gorman , Joonsoo Kim , David Rientjes , kernel-team@fb.com Subject: Re: [PATCH v3 0/8] try to reduce fragmenting fallbacks Message-ID: <20170316183422.GA1461@cmpxchg.org> References: <20170307131545.28577-1-vbabka@suse.cz> <20170308164631.GA12130@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 ;) > 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 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! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f71.google.com (mail-wm0-f71.google.com [74.125.82.71]) by kanga.kvack.org (Postfix) with ESMTP id B59EF6B038B for ; Thu, 16 Mar 2017 14:34:34 -0400 (EDT) Received: by mail-wm0-f71.google.com with SMTP id n11so12045885wma.5 for ; Thu, 16 Mar 2017 11:34:34 -0700 (PDT) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id h26si7730926wrb.231.2017.03.16.11.34.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Mar 2017 11:34:33 -0700 (PDT) Date: Thu, 16 Mar 2017 14:34:22 -0400 From: Johannes Weiner Subject: Re: [PATCH v3 0/8] try to reduce fragmenting fallbacks Message-ID: <20170316183422.GA1461@cmpxchg.org> References: <20170307131545.28577-1-vbabka@suse.cz> <20170308164631.GA12130@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Vlastimil Babka Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Mel Gorman , Joonsoo Kim , David Rientjes , kernel-team@fb.com 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 ;) > 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 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! -- 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