Re: [PATCH] locking/paravirt: Fix performance regression on core bonded vCPU

From: Juergen Gross
Date: Thu Nov 03 2022 - 09:22:55 EST


On 03.11.22 13:13, johnnyaiai wrote:
From: johnnyaiai <johnnyaiai@xxxxxxxxxxx>

virt_spin_lock() is preferred over native qspinlock when
vCPU is preempted. But brings a lot of regression while
vCPU is not preempted. Provide a early param 'novirtlock'
to choose would be better.

will-it-scale/lock2_threads -s 10 -t 64
baseline afterpatch
559938 2166135

Signed-off-by: johnnyaiai <johnnyaiai@xxxxxxxxxxx>

That is exactly the purpose of the existing nopvspin parameter.


Juergen

Attachment: OpenPGP_0xB0DE9DD628BF132F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature