[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 11/11] hvf: arm: Implement -cpu host
From: |
Peter Maydell |
Subject: |
Re: [PATCH v6 11/11] hvf: arm: Implement -cpu host |
Date: |
Sun, 16 May 2021 17:12:44 +0100 |
On Sun, 16 May 2021 at 12:16, Alexander Graf <agraf@csgraf.de> wrote:
>
>
> On 28.01.21 17:55, Peter Maydell wrote:
> > Nicer to follow the KVM approach of only doing this once
> > and caching the results in arm_host_cpu_features, so that
> > for a many-cores VM you don't do it once per core.
>
>
> I tend to disagree. This scales nicely with the number of cores you have
> in the system and it's blazingly fast :). I would rather like to
> optimize for simplicity here.
How does "do something once per vCPU" scale better than
"do something once when QEMU starts" ??
I would prefer to optimise for "don't be unnecessarily
different from how we do stuff with KVM", please.
thanks
-- PMM