From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1cqD-0008Ms-Em for qemu-devel@nongnu.org; Wed, 06 May 2009 04:51:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1cq8-0008Kj-KP for qemu-devel@nongnu.org; Wed, 06 May 2009 04:51:00 -0400 Received: from [199.232.76.173] (port=34937 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1cq8-0008Ke-Dd for qemu-devel@nongnu.org; Wed, 06 May 2009 04:50:56 -0400 Received: from moutng.kundenserver.de ([212.227.126.188]:65095) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1cq7-0001uO-FX for qemu-devel@nongnu.org; Wed, 06 May 2009 04:50:56 -0400 Message-Id: <17748807.156581241599849599.JavaMail.servlet@kundenserver> From: Laurent Vivier Subject: RE: [Qemu-devel] does ext4 cause problems? (not data loss) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Date: Wed, 06 May 2009 10:50:49 +0200 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: joseph@emarketingnc.com, qemu-devel@nongnu.org Hi, >I have the latest version of Ubuntu, Jaunty, and I have converted my fs to >ext4. Attempting to run a qcow image of WinXP Pro, backed by a qcow >image, on 0.10.3, even with kernel-kqemu is near impossible. Commands: > >#!/bin/sh > >export QEMU_AUDIO_DRV=3Dsdl >export SDL_VIDEODRVER=3Ddga >sudo chmod 666 /dev/kqemu >/opt/qemu-0.10.3/bin/qemu -L /opt/qemu-0.10.3/share/qemu/ -kernel-kqemu >-hda winxp-200905.qcow -m 512 -usbdevice tablet -localtime -net >nic,model=3Drtl8139 -net user -soundhw sb16 -redir tcp:103389::3389 > >My host computer spends most of its time doing disk writes and my guest is >impossible to use. The computer begins to boot, requests re-activation >(which I deny until I can get this straightened out) and then runs >slooooowly. It does run, but I don't know why it is so slow. One of the >reasons I upgraded to ext4 was to enjoy better Qemu performance. > >I have instead created a sparse file and formatted it with reiserfs (which >on my crappy laptop gives very good qemu performance) and mounted it as a >loop filesystem. Performance returns as expected and massive disk writing >ceases. > >Anyone know what's up here? Please CC me as I'm not on the list. Thanks. Perhaps a link with that : http://lwn.net/Articles/327107/ try to change your journaling mode to use "data=3Dordered". (see man mount(8) or tune2fs(8)) Regards, Laurent --=20 --------------------- Laurent@vivier.eu --------------------- "Tout ce qui est impossible reste =C3=A0 accomplir" Jules Verne "Things are only impossible until they're not" Jean-Luc Picard