From: Antoine Martin Subject: Re: repeatable hang with loop mount and heavy IO in guest Date: Sat, 27 Feb 2010 00:38:57 +0700 Message-ID: <4B880731.5090500@nagafix.co.uk> References: <4B588E63.4060700@nagafix.co.uk> <4B595A7B.4010404@msgid.tls.msk.ru> <4B59EE4E.6070005@nagafix.co.uk> <4B59F958.8030709@nagafix.co.uk> <4B69CE50.5060901@nagafix.co.uk> 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]:42760 "EHLO mail.nagafix.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965567Ab0BZRjF (ORCPT ); Fri, 26 Feb 2010 12:39:05 -0500 In-Reply-To: <4B69CE50.5060901@nagafix.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: >> 1 0 0 98 0 1| 0 0 | 66B 354B| 0 0 | 30 11 >> 1 1 0 98 0 0| 0 0 | 66B 354B| 0 0 | 29 11 >> From that point onwards, nothing will happen. >> The host has disk IO to spare... So what is it waiting for?? > Moved to an AMD64 host. No effect. > Disabled swap before running the test. No effect. > Moved the guest to a fully up-to-date FC12 server > (2.6.31.6-145.fc12.x86_64), no effect. I have narrowed it down to the guest's filesystem used for backing the disk image which is loop mounted: although it was not completely full (and had enough inodes), freeing some space on it prevents the system from misbehaving. FYI: the disk image was clean and was fscked before each test. kvm had been updated to 0.12.3 The weird thing is that the same filesystem works fine (no system hang) if used directly from the host, it is only misbehaving via kvm... So I am not dismissing the possibility that kvm may be at least partly to blame, or that it is exposing a filesystem bug (race?) not normally encountered. (I have backed up the full 32GB virtual disk in case someone suggests further investigation) Cheers Antoine