[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZskIIcu-LHGn6cAZ@liuwe-devbox-debian-v2>
Date: Fri, 23 Aug 2024 22:07:29 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Saurabh Sengar <ssengar@...ux.microsoft.com>
Cc: kys@...rosoft.com, haiyangz@...rosoft.com, wei.liu@...nel.org,
decui@...rosoft.com, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org, ssengar@...rosoft.com,
srivatsa@...il.mit.edu
Subject: Re: [PATCH v3] Drivers: hv: vmbus: Optimize boot time by concurrent
execution of hv_synic_init()
On Wed, Jul 31, 2024 at 09:55:36PM -0700, Saurabh Sengar wrote:
> Currently on a very large system with 1780 CPUs, hv_acpi_init() takes
> around 3 seconds to complete. This is because of sequential synic
> initialization for each CPU performed by hv_synic_init().
>
> Schedule these tasks parallelly so that each CPU executes hv_synic_init()
> in parallel to take full advantage of multiple CPUs.
>
> This solution saves around 2 seconds of boot time on a 1780 CPU system,
> which is around 66% improvement in the existing logic.
>
> Signed-off-by: Saurabh Sengar <ssengar@...ux.microsoft.com>
> Reviewed-by: Nuno Das Neves <nunodasneves@...ux.microsoft.com>
> Reviewed-by: Srivatsa S. Bhat (Microsoft) <srivatsa@...il.mit.edu>
> Reviewed-by: Dexuan Cui <decui@...rosoft.com>
Applied to hyperv-next. Thanks.
Powered by blists - more mailing lists