From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423687Ab3FUSpm (ORCPT ); Fri, 21 Jun 2013 14:45:42 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33949 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423388Ab3FUSpk (ORCPT ); Fri, 21 Jun 2013 14:45:40 -0400 Date: Fri, 21 Jun 2013 11:44:34 -0700 From: Greg Kroah-Hartman To: Yinghai Lu Cc: Nathan Zimmer , Robin Holt , Mike Travis , Rob Landley , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Morton , the arch/x86 maintainers , linux-doc@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [RFC 0/2] Delay initializing of large sections of memory Message-ID: <20130621184434.GC26001@kroah.com> References: <1371831934-156971-1-git-send-email-nzimmer@sgi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 21, 2013 at 11:36:21AM -0700, Yinghai Lu wrote: > On Fri, Jun 21, 2013 at 9:25 AM, Nathan Zimmer wrote: > > This rfc patch set delays initializing large sections of memory until we have > > started cpus. This has the effect of reducing startup times on large memory > > systems. On 16TB it can take over an hour to boot and most of that time > > is spent initializing memory. > > One hour on system with 16T ram? BIOS or OS? > > I use wall clock to check bootime on one system with 3T and 16 pcie cards, > Linus only takes about 3m and 30 seconds from bootloader. > > wonder if you boot delay is with so many cpu get onlined in serialized mode. > > so can you try boot your system with "maxcpus=128" to get the boot time with > wall clock ? Why use the "wall clock" when we have the wonderful bootchart tools and scripts that do this all for you, and can tell you exactly what part of the kernel is taking what time, to help with fixing issues like this? thanks, greg k-h