Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC007C61DA4 for ; Mon, 6 Feb 2023 08:29:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbjBFI3P (ORCPT ); Mon, 6 Feb 2023 03:29:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229798AbjBFI3L (ORCPT ); Mon, 6 Feb 2023 03:29:11 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DE751ABCC; Mon, 6 Feb 2023 00:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=MIME-Version:Content-Type:References: In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=BjY/exeljP1QS+Hd1Vo/eWGLr04rdU+wZoNBPkK+lDQ=; b=EWYL+cdQfHxQ6v6wcfiTLXaHEr C5mMxNfMOwLLebqQ9tIyVYBssQGcYv9fHzsSoMb4F8HPiqNPnAx9fPHZq8aA/u9S+3jTLMpYgtJ4E rH0/RIeRkIwYs4fKkABONeBI3yPvOpvSNdZ/Y387pnI7lqgBSqEnOKHta3pEBEOVb52AcZGFen63a VVcsdtg9dXNLeDkrBgDQPnN/JUiJOZ+nVy+oXm8Gi3Y4FYN949Q2mCmxupOsqTk1yJ6/m99RTlw8Y ULuxRHgbrcYMUGmE1HyPoV5kwiKb9MqI1Y1VUj+B2j33GzpGCoMpVySHlo7BcX62AV1QJppnNUjob 2a7D1ZQA==; Received: from [2001:8b0:10b:5::bb3] (helo=u3832b3a9db3152.ant.amazon.com) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pOwrb-00Gb7T-Gg; Mon, 06 Feb 2023 08:28:36 +0000 Message-ID: <3b626936ccc4d5123cb9113378bec6f77182def3.camel@infradead.org> Subject: Re: [PATCH v6 00/11] Parallel CPU bringup for x86_64 From: David Woodhouse To: Russ Anderson , Usama Arif Cc: tglx@linutronix.de, arjan@linux.intel.com, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, x86@kernel.org, pbonzini@redhat.com, paulmck@kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, rcu@vger.kernel.org, mimoja@mimoja.de, hewenliang4@huawei.com, thomas.lendacky@amd.com, seanjc@google.com, pmenzel@molgen.mpg.de, fam.zheng@bytedance.com, punit.agrawal@bytedance.com, simon.evans@bytedance.com, liangma@liangbit.com Date: Mon, 06 Feb 2023 08:28:34 +0000 In-Reply-To: <20230205191734.GA6027@hpe.com> References: <20230202215625.3248306-1-usama.arif@bytedance.com> <20230205191734.GA6027@hpe.com> Content-Type: multipart/signed; micalg="sha-256"; protocol="application/pkcs7-signature"; boundary="=-gv2Bd6J2nA65+QZ05n9Y" User-Agent: Evolution 3.44.4-0ubuntu1 MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-gv2Bd6J2nA65+QZ05n9Y Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, 2023-02-05 at 13:17 -0600, Russ Anderson wrote: >=20 > Gave the v6 patchset a try on a system with 1920 logocal cpus > (sixteen 60 core Sapphire Rapids sockets with Hyperthreadding > enabled). >=20 > Without the patchset it took 71 seconds to start all the cpus. > With the v6 patchset it took 14 seconds to start all the cpus, > a reduction of 57 seconds.=C2=A0 That is impressive. >=20 > Full boot, to root login prompt, without patches takes 223 seconds. > This patchset reduces the full boot time by 57 seconds, a 25% > reduction. Nice; thanks for testing. Is that with just the "part1" patch series which has been posted, or also with the 'parallel part 2' still taking shape in the tree at https://git.infradead.org/users/dwmw2/linux.git/shortlog/refs/heads/paralle= l-6.2-rc6 I believe Usama said the second phase of parallelism didn't really help much in terms of overall timing? Confirming that *without* all the debug prints would be interesting. And we can look for what still *could* be made parallel. --=-gv2Bd6J2nA65+QZ05n9Y Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCEkQw ggYQMIID+KADAgECAhBNlCwQ1DvglAnFgS06KwZPMA0GCSqGSIb3DQEBDAUAMIGIMQswCQYDVQQG EwJVUzETMBEGA1UECBMKTmV3IEplcnNleTEUMBIGA1UEBxMLSmVyc2V5IENpdHkxHjAcBgNVBAoT FVRoZSBVU0VSVFJVU1QgTmV0d29yazEuMCwGA1UEAxMlVVNFUlRydXN0IFJTQSBDZXJ0aWZpY2F0 aW9uIEF1dGhvcml0eTAeFw0xODExMDIwMDAwMDBaFw0zMDEyMzEyMzU5NTlaMIGWMQswCQYDVQQG EwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRgwFgYD VQQKEw9TZWN0aWdvIExpbWl0ZWQxPjA8BgNVBAMTNVNlY3RpZ28gUlNBIENsaWVudCBBdXRoZW50 aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC AQEAyjztlApB/975Rrno1jvm2pK/KxBOqhq8gr2+JhwpKirSzZxQgT9tlC7zl6hn1fXjSo5MqXUf ItMltrMaXqcESJuK8dtK56NCSrq4iDKaKq9NxOXFmqXX2zN8HHGjQ2b2Xv0v1L5Nk1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