From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755648AbbE2IFH (ORCPT ); Fri, 29 May 2015 04:05:07 -0400 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:61945 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755628AbbE2IEx (ORCPT ); Fri, 29 May 2015 04:04:53 -0400 X-IronPort-AV: E=Sophos;i="5.13,515,1427760000"; d="scan'208";a="276371152" Message-ID: <55681D9B.2040903@amazon.de> Date: Fri, 29 May 2015 10:04:43 +0200 From: =?UTF-8?B?IkphbiBILiBTY2jDtm5oZXJyIg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Len Brown , Ingo Molnar CC: Thomas Gleixner , X86 ML , "linux-kernel@vger.kernel.org" , Anthony Liguori , Ingo Molnar , "H. Peter Anvin" , Tim Deegan , Gang Wei , Linus Torvalds Subject: Re: native_cpu_up speed (Re: [PATCH] x86: skip delays during SMP initialization similar to Xen) References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/29/2015 09:47 AM, Len Brown wrote: > However, a clear pattern jumped out of the trace for how long > the BSP waits for the AP to set itself in cpu_callin_mask. > This is the time in start secondary where cpu_init() is running, > up through smp_callin() is called. > > On the 1st package, each remote AP take 9 delays = 900 us to do this, > whether they are new cores or HT siblings of cores already up. > But the 1st processor on remote_packages_ aka nodes, takes 60,000 us > > No typo -- that is 60ms! That does sound like calibrate_delay(), which "waits" for 5 * (10ms + 1 tick) on each newly encountered package... Regards Jan