From: Antoine Martin Subject: Re: repeatable hang with loop mount and heavy IO in guest [SOLVED] Date: Sat, 23 Jan 2010 01:28:30 +0700 Message-ID: <4B59EE4E.6070005@nagafix.co.uk> References: <4B588E63.4060700@nagafix.co.uk> <4B595A7B.4010404@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Michael Tokarev Return-path: Received: from mamba.nagafix.co.uk ([194.145.196.68]:41072 "EHLO mail.nagafix.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751371Ab0AVS2h (ORCPT ); Fri, 22 Jan 2010 13:28:37 -0500 In-Reply-To: <4B595A7B.4010404@msgid.tls.msk.ru> Sender: kvm-owner@vger.kernel.org List-ID: On 01/22/2010 02:57 PM, Michael Tokarev wrote: > Antoine Martin wrote: > >> I've tried various guests, including most recent Fedora12 kernels, >> custom 2.6.32.x >> All of them hang around the same point (~1GB written) when I do heavy IO >> write inside the guest. >> > [] > >> Host is running: 2.6.31.4 >> QEMU PC emulator version 0.10.50 (qemu-kvm-devel-88) >> > Please update to last version and repeat. kvm-88 is ancient and > _lots_ of stuff fixed and changed since that time, I doubt anyone > here will try to dig into kvm-88 problems. > > Current kvm is qemu-kvm-0.12.2, released yesterday. > Sorry about that, I didn't realize 88 was so far behind. Upgrading to qemu-kvm-0.12.2 did solve my IO problems. Found these build issues if anyone is interested: "--enable-io-thread" gave me: LINK x86_64-softmmu/qemu-system-x86_64 kvm-all.o: In function `qemu_mutex_lock_iothread': /usr/src/KVM/qemu-kvm-0.12.2/qemu-kvm.c:2526: multiple definition of `qemu_mutex_lock_iothread' vl.o:/usr/src/KVM/qemu-kvm-0.12.2/vl.c:3772: first defined here kvm-all.o: In function `qemu_mutex_unlock_iothread': /usr/src/KVM/qemu-kvm-0.12.2/qemu-kvm.c:2520: multiple definition of `qemu_mutex_unlock_iothread' vl.o:/usr/src/KVM/qemu-kvm-0.12.2/vl.c:3783: first defined here collect2: ld returned 1 exit status And "--enable-cap-kvm-pit" is defined if you look at "--help", but does not exist if you try to use it!? # ./configure --enable-cap-kvm-pit | grep cap-kvm-pit ERROR: unknown option --enable-cap-kvm-pit --disable-cap-kvm-pit disable KVM pit support --enable-cap-kvm-pit enable KVM pit support Antoine