Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753910AbbGFRqB (ORCPT ); Mon, 6 Jul 2015 13:46:01 -0400 Received: from numascale.com ([213.162.240.84]:38300 "EHLO numascale.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751527AbbGFRp6 (ORCPT ); Mon, 6 Jul 2015 13:45:58 -0400 Date: Mon, 06 Jul 2015 18:45:50 +0100 From: Daniel J Blueman Subject: Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup To: Nathan Zimmer Cc: Mel Gorman , Andrew Morton , Waiman Long , Dave Hansen , Scott Norton , Linux-MM , LKML , Steffen Persvold Message-Id: <1436204750.29787.3@cpanel21.proisp.no> In-Reply-To: <20150624225028.GA97166@asylum.americas.sgi.com> References: <20150624225028.GA97166@asylum.americas.sgi.com> X-Mailer: geary/0.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel21.proisp.no X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - numascale.com X-Get-Message-Sender-Via: cpanel21.proisp.no: authenticated_id: daniel@numascale.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 30 Hi Nate, On Wed, Jun 24, 2015 at 11:50 PM, Nathan Zimmer wrote: > My apologies for taking so long to get back to this. > > I think I did locate two potential sources of slowdown. > One is the set_cpus_allowed_ptr as I have noted previously. > However I only notice that on the very largest boxes. > I did cobble together a patch that seems to help. > > The other spot I suspect is the zone lock in free_one_page. > I haven't been able to give that much thought as of yet though. > > Daniel do you mind seeing if the attached patch helps out? Just got back from travel, so apologies for the delays. The patch doesn't mitigate the increasing initialisation time; summing the per-node times for an accurate measure, there was a total of 171.48s before the patch and 175.23s after. I double-checked and got similar data. Thanks, Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/