Summary: | app-emulation/qemu-kvm-0.12.3-r1: write to image.qcow2 is very slow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexandr Tiurin <alexanderyt> |
Component: | Current packages | Assignee: | Gentoo QEMU Project <qemu+disabled> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | CC: | pchrist |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Alexandr Tiurin
2010-04-27 07:32:10 UTC
Please retest with 0.12.4-r2. Is this inside of the guest or on the host? (In reply to comment #1) > Please retest with 0.12.4-r2. Is this inside of the guest or on the host? > Sorry, i do not use AMD platform now. But, i have a problem on Intel. kernel 2.6.34-gentoo-r2, qemu-kvm-0.12.4-r3. Very slow virtio disk I/O inside of the guest. For compare 1. Filesystem ext4 on the host Create new img: qemu-img create -f qcow2 tesvirtwin.img 7000M Install Windows 2003 + virtio blk drivers Fast NTFS format ~ 80 seconds 2. Filesystem ext3 on the host Create new img: qemu-img create -f qcow2 tesvirtwin.img 7000M Install Windows 2003 + virtio blk drivers Fast NTFS format ~ 46 seconds 3. OpenSuse 11.3 x86_64. Filesystem ext3 on the host Create new img: qemu-img create -f qcow2 tesvirtwin.img 7000M Install Windows 2003 + virtio blk drivers Fast NTFS format ~ 8 seconds USE Flags app-emulation/qemu-kvm-0.12.4-r2 alsa bluetooth fdt ncurses qemu_softmmu_targets_i386 qemu_softmmu_targets_x86_64 qemu_user_targets_i386 qemu_user_targets_x86_64 sdl vde Virtio blk driver from http://www.linux-kvm.net/sites/default/files/viostor-31-03-2010-floppy.img qemu-kvm -m 512 \ -vga std \ -cpu host \ -smp 1 \ -drive file=./tesvirtwin.img,if=virtio,boot=on \ -cdrom ./2003.iso \ -boot d \ -fda "./viostor-31-03-2010-floppy.img" \ -name "Win2003-PDC" \ -localtime \ & Created attachment 240115 [details]
emerge --info
I applied the patches from http://download.opensuse.org/source/distribution/11.3/repo/oss/suse/src/kvm-0.12.3-2.9.src.rpm for qemu-kvm-0.12.3-r1: kvm-qemu-preXX-qcow2-error-handling.patch kvm-qemu-preXX-qcow2-regression.patch kvm-qemu-preXX-write-full.patch kvm-qemu-preXX-default-writeback.patch and the problem solved for me. x86 and x86_64. |