All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Mueller <thomas@chaschperli.ch>
To: kvm@vger.kernel.org
Subject: kvm unresponsive under io work
Date: Wed, 19 Nov 2008 15:01:07 +0000 (UTC)	[thread overview]
Message-ID: <gg19nj$2ci$1@ger.gmane.org> (raw)

hi

scenario:
- host: 2.6.26, kvm-79, Intel Xeon E5420, Disk is a hardware RAID-10 (4 
wd velociraptor's)
- host: /tmp is lvm volume with XFS mounted with option nobarriers
- host: kvm-img create -f qcow2 /tmp/10gb 10G
- host: kvm -drive fiel=/tmp/10gb,if=scsi,boot=on \
              -monitor socktet:/var/run/kvm.socket \
              -smp 1 -vnc :1
- guest: sudo -u nobody dd if=/dev/zero of=/tmp/fillit

while dd'ing in guest somtimes i can't connect to the monitor-socket. And 
sometimes on the guest vnc-display there are the following messages 
printed:


[ 1138.923666] sd 0:0:0:0: ABORT operation failed.
[ 1138.924186] sd 0:0:0:0: [sda] DEVICE RESET operation started
(messages above repeated a couple of times)
[ 1138.924845]  target0:0:0: control msgout: c.
[ 1138.925561]  target0:0:0: has been reset
[ 1138.926117] sd 0:0:0:0: DEVICE RESET operation complete.
[ 1138.926703] sd 0:0:0:0: M_REJECT received (0:0).

... and sometimes there are also kernel panics.  in case of kernel panic 
i see this on the host:

[1105705.188932] vcpu not ready for apic_round_robin
(repated many times)

there are fewer problems if:
- i do dd a second time (because the image space is already allocated?)
- if i give more io time on the host (aka ionice -c2 -n0 -p<pid>)
- i use if=ide , but throughput is really slow (1g data: guest=3.3MB/s 
host=316MB/s)

this behaviour i've also seen on 2 other hosts (1 intel, 1 amd, mostly on 
rsync'ing things)

what can i do to get reasonable throughput but no kernel warnings/panics?

- Thomas


                 reply	other threads:[~2008-11-19 15:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='gg19nj$2ci$1@ger.gmane.org' \
    --to=thomas@chaschperli.ch \
    --cc=kvm@vger.kernel.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 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.