All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Juergen Gross <juergen.gross@fujitsu-siemens.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [Patch 0 of 2]: PV-domain SMP performance
Date: Wed, 17 Dec 2008 12:38:34 +0000	[thread overview]
Message-ID: <C56EA34A.F31%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <4948EEE6.3020606@fujitsu-siemens.com>

On 17/12/2008 12:21, "Juergen Gross" <juergen.gross@fujitsu-siemens.com>
wrote:

> This result was achieved by avoiding descheduling of a vcpu only when irqs
> are blocked. Even better results might be possible with some fine tuning
> (e.g. instrumenting bh_enable/bh_disable).
> I think system time has dropped remarkably!

It's nice, but it'd be more compelling if a win was shown on a real
benchmark. Under normal workloads there is actually little lock contention
in the Linux kernel, and hence I think scope for wins are limited.

Also, pv_ops Linux already has some extra smartness in its spinlock
implementation. A spinner will sleep after some time, making it more likely
that the lock holder will run (who then wakes the sleeper when the lock is
released). You'd need to compare with that approach (which required no extra
hypervisor interfaces).

 -- Keir

  reply	other threads:[~2008-12-17 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17 12:21 [Patch 0 of 2]: PV-domain SMP performance Juergen Gross
2008-12-17 12:38 ` Keir Fraser [this message]
2008-12-17 14:20   ` Juergen Gross
2008-12-17 15:05     ` Keir Fraser
2008-12-18 12:06       ` Juergen Gross

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=C56EA34A.F31%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=juergen.gross@fujitsu-siemens.com \
    --cc=xen-devel@lists.xensource.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.