From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Mueller Subject: kvm unresponsive under io work Date: Wed, 19 Nov 2008 15:01:07 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: kvm@vger.kernel.org Return-path: Received: from main.gmane.org ([80.91.229.2]:49538 "EHLO ciao.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753363AbYKSPBR (ORCPT ); Wed, 19 Nov 2008 10:01:17 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L2oYM-0003uS-Mc for kvm@vger.kernel.org; Wed, 19 Nov 2008 15:01:14 +0000 Received: from 77-58-232-244.dclient.hispeed.ch ([77.58.232.244]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 15:01:14 +0000 Received: from thomas by 77-58-232-244.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Nov 2008 15:01:14 +0000 Sender: kvm-owner@vger.kernel.org List-ID: 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) - 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