public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo-X9Un+BFzKDI@public.gmane.org>
To: Christian Hesse <mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
Cc: Nick Piggin <npiggin-l3A5Bk7waGM@public.gmane.org>,
	kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	caglar-caicS1wCkhO6A22drWdTBw@public.gmane.org,
	Mike Galbraith <efault-Mmb7MZpHnFY@public.gmane.org>,
	Peter Williams <pwil3058-bzGI/hKkdgQnC9Muvcwxkw@public.gmane.org>,
	Con Kolivas <kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Gene Heskett
	<gene.heskett-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Willy Tarreau <w@1wt.eu>
Subject: Re: crash with CFS v4 and qemu/kvm (was: [patch] CFS scheduler, v4)
Date: Mon, 23 Apr 2007 12:18:39 +0200	[thread overview]
Message-ID: <20070423101839.GA19599@elte.hu> (raw)
In-Reply-To: <200704231128.23594.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>


* Christian Hesse <mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org> wrote:

> On Friday 20 April 2007, Ingo Molnar wrote:
> > i'm pleased to announce release -v4 of the CFS patchset.
> 
> Hi Ingo, hi Avi, hi all,
> 
> I'm trying to use kvm-20 with cfs v4 and get a crash:
> 
> eworm@revo:~$ /usr/local/kvm/bin/qemu -snapshot /mnt/data/virtual/qemu/winxp.img
> kvm_run: failed entry, reason 7
> kvm_run returned -8
> 
> It works (though it is a bit slow) if I start qemu with strace, so for 
> me it looks like a race condition?

hm. Can you work it around with:

   echo 0 > /proc/sys/kernel/sched_granularity_ns

?

If yes then this is a wakeup race: some piece of code relies on the 
upstream scheduler preempting the waker task immediately in 99% of the 
cases.

and you might want to test -v5 too which i released earlier today. It 
has no bugfix in this area though, so it will likely still trigger this 
race - but it will also hopefully be even more pleasant to use than -v4 
;-)

	Ingo

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-04-23 10:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070420140457.GA14017@elte.hu>
2007-04-23  9:28 ` crash with CFS v4 and qemu/kvm (was: [patch] CFS scheduler, v4) Christian Hesse
     [not found]   ` <200704231128.23594.mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org>
2007-04-23 10:18     ` Ingo Molnar [this message]
     [not found]       ` <20070423101839.GA19599-X9Un+BFzKDI@public.gmane.org>
2007-04-24 10:54         ` Christian Hesse

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=20070423101839.GA19599@elte.hu \
    --to=mingo-x9un+bfzkdi@public.gmane.org \
    --cc=caglar-caicS1wCkhO6A22drWdTBw@public.gmane.org \
    --cc=efault-Mmb7MZpHnFY@public.gmane.org \
    --cc=gene.heskett-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kernel-S9WDWIYMKk5AfugRpC6u6w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=mail-8oMOrB1mGocUSW6y5lq3GQ@public.gmane.org \
    --cc=npiggin-l3A5Bk7waGM@public.gmane.org \
    --cc=pwil3058-bzGI/hKkdgQnC9Muvcwxkw@public.gmane.org \
    --cc=w@1wt.eu \
    /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