Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbbGIRtO (ORCPT ); Thu, 9 Jul 2015 13:49:14 -0400 Received: from relay3.sgi.com ([192.48.152.1]:55930 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751885AbbGIRtG (ORCPT ); Thu, 9 Jul 2015 13:49:06 -0400 Message-ID: <559EB411.2040009@sgi.com> Date: Thu, 9 Jul 2015 12:49:05 -0500 From: Nathan Zimmer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Daniel J Blueman CC: Mel Gorman , Andrew Morton , Waiman Long , Dave Hansen , Scott Norton , Linux-MM , LKML , Steffen Persvold Subject: Re: [PATCH] mm: meminit: Finish initialisation of struct pages before basic setup References: <20150624225028.GA97166@asylum.americas.sgi.com> <1436204750.29787.3@cpanel21.proisp.no> In-Reply-To: <1436204750.29787.3@cpanel21.proisp.no> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [128.162.233.123] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1415 Lines: 40 Interesting, I found a small improvement in total clock time through the area. I tweaked page_alloc_init_late have a timer, like the deferred_init_memmap, and this patch showed a small improvement. Ok thanks for your help. On 07/06/2015 12:45 PM, Daniel J Blueman wrote: > 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/