qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* RE: [Qemu-devel] does ext4 cause problems? (not data loss)
@ 2009-05-06  8:50 Laurent Vivier
  2009-05-06 13:34 ` Joseph Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Laurent Vivier @ 2009-05-06  8:50 UTC (permalink / raw)
  To: joseph, qemu-devel

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=sdl
>export SDL_VIDEODRVER=dga
>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=rtl8139 -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=ordered".
(see man mount(8) or tune2fs(8))

Regards,
Laurent



-- 
--------------------- Laurent@vivier.eu  ---------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Qemu-devel] does ext4 cause problems? (not data loss)
@ 2009-05-05 20:45 Joseph Miller
  0 siblings, 0 replies; 3+ messages in thread
From: Joseph Miller @ 2009-05-05 20:45 UTC (permalink / raw)
  To: qemu-devel

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=sdl
export SDL_VIDEODRVER=dga
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=rtl8139 -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.

-Joseph

P.S. - just to feed a flame war, I still think BKL is a minor drawback for
the *vast* majority of regular users and ext4 is not as good as reiserfs,
especially for reading (where my disk spends most of its time).

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-05-06 13:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06  8:50 [Qemu-devel] does ext4 cause problems? (not data loss) Laurent Vivier
2009-05-06 13:34 ` Joseph Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-05-05 20:45 Joseph Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).