public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Chris Wright <chrisw@redhat.com>
Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org
Subject: Re: KVM call minutes for Nov 30
Date: Tue, 30 Nov 2010 09:59:21 -0600	[thread overview]
Message-ID: <4CF51F59.8080903@codemonkey.ws> (raw)
In-Reply-To: <20101130155355.GJ24841@x200.localdomain>

On 11/30/2010 09:53 AM, Chris Wright wrote:
> 2011 KVM Conference
> - together with LF event like LinuxCon Vancouver BC (Aug), KS Prague (Nov)
> - wider audience
>    - include qemu (tcg)
>    - include libvirt
>    - include xen
>
> 0.14.0 release plan
> - could push things out, mainly want to keep on track for
>
> infrastructure changes (irc channel migration, git tree migration)
> - savannah down
> - git.qemu.org was mirror, will start pushing there
> - when savannah is back up, will become mirror (so git users should
>    still work)
> - plan on moving #qemu to OFTC
>
> nested VMX
> - no progress, future plans are unclear
>
> qemu users forum in grenoble
> - worth having someone there
> - goal to get embedded forks to push changes back to qemu
>
> migration with large memory
> - switching to 50ms cap likely to cause regression in terms of vcpu runtime
> - 50ms qemu mutex contention, brief period of mutex access
>    - this has the effect of speeding up migration but giving too little vcpu
>      access to qemu mutex (network connections could terminate, for example)
> - only fixes to this are to use bw limit or not holding qemu mutex during
>    mirgration
>    

Right, to restate this, for some workloads, a VCPU needs to access 
qemu_mutex potentially for the majority of it's execution.  If we're 
letting migration hold the mutex for 95% of the time even if we spread 
the remaining 5% out for every 50ms, while we avoid having large 
"stalls", it's only superficial.  We're still breaking the migration 
downtime contract.

The only solution is to limit the time migration is allowed to run which 
is effectively what bandwidth limiting does.  I'd be willing to 
entertain a bandwidth limit expressed in terms of % CPU although I think 
that's going to be a lot harder to compute than the current bandwidth limit.

And while setting a migration limit does increase migration, it's the 
only solution that preserves fairness unless we stick migration into a 
separate thread.

Regards,

Anthony Liguori

> - run Anthony's test load and discuss on list
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>    


  reply	other threads:[~2010-11-30 15:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 15:53 KVM call minutes for Nov 30 Chris Wright
2010-11-30 15:59 ` Anthony Liguori [this message]
2010-12-01  9:27 ` Nadav Har'El
2010-12-01 10:28   ` Avi Kivity
2010-12-06 19:39   ` Nadav Har'El
2010-12-07  8:34     ` Avi Kivity
2010-12-07 12:49       ` Nadav Har'El
2010-12-07 13:10         ` Avi Kivity

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=4CF51F59.8080903@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=chrisw@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.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