From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbdALQFg (ORCPT ); Thu, 12 Jan 2017 11:05:36 -0500 Received: from foss.arm.com ([217.140.101.70]:49424 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750793AbdALQFf (ORCPT ); Thu, 12 Jan 2017 11:05:35 -0500 Date: Thu, 12 Jan 2017 16:05:36 +0000 From: Will Deacon To: Robert Richter Cc: Ard Biesheuvel , Hanjun Guo , Russell King , Catalin Marinas , David Daney , Mark Rutland , James Morse , Yisheng Xie , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mm@kvack.org" Subject: Re: [PATCH v3] arm64: mm: Fix NOMAP page initialization Message-ID: <20170112160535.GF13843@arm.com> References: <20161216165437.21612-1-rrichter@cavium.com> <20170109115320.GI4930@rric.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170109115320.GI4930@rric.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robert, On Mon, Jan 09, 2017 at 12:53:20PM +0100, Robert Richter wrote: > On 06.01.17 08:37:25, Ard Biesheuvel wrote: > > Any comments on the performance impact (including boot time) ? > > I did a kernel compile test and kernel mode time increases by about > 2.2%. Though this is already significant, we need a more suitable mem > benchmark here for further testing. Thanks for doing this. > For boot time I dont see significant changes. > > -Robert > > > Boot times: > > pfn_valid_within(): > [ 25.929134] > [ 25.548830] > [ 25.503225] > > early_pfn_valid() v3: > [ 25.773814] > [ 25.548428] > [ 25.765290] > > > Kernel compile times (3 runs each): > > pfn_valid_within(): > > real 6m4.088s > user 372m57.607s > sys 16m55.158s > > real 6m1.532s > user 372m48.453s > sys 16m50.370s > > real 6m4.061s > user 373m18.753s > sys 16m57.027s Did you reboot the machine between each build here, or only when changing kernel? If the latter, do you see variations in kernel build time by simply rebooting the same Image? Will