mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: johnnyaiai <arafatms@outlook.com>
Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de,
	dave.hansen@linux.intel.com, hpa@zytor.com,
	linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	johnnyaiai <johnnyaiai@tencent.com>
Subject: Re: [PATCH] locking/paravirt: Fix performance regression on core bonded vCPU
Date: Thu, 3 Nov 2022 14:22:44 +0100	[thread overview]
Message-ID: <eb487a30-7491-1ef3-fb11-4dff342215bc@suse.com> (raw)
In-Reply-To: <MEYP282MB402614DB5A4625255B689F06C3389@MEYP282MB4026.AUSP282.PROD.OUTLOOK.COM>


[-- Attachment #1.1.1: Type: text/plain, Size: 532 bytes --]

On 03.11.22 13:13, johnnyaiai wrote:
> From: johnnyaiai <johnnyaiai@tencent.com>
> 
> 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@tencent.com>

That is exactly the purpose of the existing nopvspin parameter.


Juergen

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

  reply	other threads:[~2022-11-03 13:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-03 12:13 johnnyaiai
2022-11-03 13:22 ` Juergen Gross [this message]
2022-11-03 13:58   ` johnnyaiai
2022-11-03 14:09     ` Juergen Gross
  -- strict thread matches above, loose matches on Subject: below --
2022-11-03 12:10 johnnyaiai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb487a30-7491-1ef3-fb11-4dff342215bc@suse.com \
    --to=jgross@suse.com \
    --cc=arafatms@outlook.com \
    --cc=bp@alien8.de \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=johnnyaiai@tencent.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®