March 4, 201511 yr Is LVM a possibility? Windows is unbearably slow. I'm not sure what the issue is but everything was great 4 or 5 months ago when I was using Xen and I thought maybe trying to get LVM setup that would help. But in webvirtman I get "internal error: missing backend for pool type 3 (logical) " Even trying to install ubuntu server is taking forever. Currently running everything from qcow images on an ssd. Windows 7 took several hours to finish installing earlier. So maybe LVM isn't even the right question. I'm just trying to figure out why everything seems to be moving so slow in KVM.
March 4, 201511 yr Author <domain type='kvm' id='23'> <name>WindowsSeven</name> <uuid>813137c4-4576-b797-384b-cf8ef5b6a9e0</uuid> <description>None</description> <memory unit='KiB'>8388608</memory> <currentMemory unit='KiB'>8388608</currentMemory> <vcpu placement='static'>12</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-i440fx-2.2'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='yes'/> </os> <features> <acpi/> <apic/> <pae/> <viridian/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> </hyperv> </features> <cpu mode='host-model'> <model fallback='allow'/> </cpu> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/cache/domains/storage/WindowsSeven.img'/> <backingStore/> <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/cache/domains/iso/win7.iso'/> <backingStore/> <target dev='hda' bus='ide'/> <readonly/> <alias name='ide0-1-1'/> <address type='drive' controller='0' bus='1' target='0' unit='1'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/cache/domains/iso/virtio-win-0.1-100.iso'/> <backingStore/> <target dev='sdd' bus='sata'/> <readonly/> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk> <controller type='usb' index='0'> <alias name='usb0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='sata' index='0'> <alias name='sata0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:34:d4:25'/> <source network='xenbr0' bridge='xenbr0'/> <target dev='vnet2'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/5'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/5'> <source path='/dev/pts/5'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <input type='tablet' bus='usb'> <alias name='input0'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5902' autoport='yes' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> </domain>
March 4, 201511 yr Is LVM a possibility? Windows is unbearably slow. I'm not sure what the issue is but everything was great 4 or 5 months ago when I was using Xen and I thought maybe trying to get LVM setup that would help. But in webvirtman I get "internal error: missing backend for pool type 3 (logical) " Even trying to install ubuntu server is taking forever. Currently running everything from qcow images on an ssd. Windows 7 took several hours to finish installing earlier. So maybe LVM isn't even the right question. I'm just trying to figure out why everything seems to be moving so slow in KVM. If your ssd is btrfs, turn off copy on write for the folder. You'll have move the image out then copy (not move) back for the file to have cow disabled. Or backup your ssd and format to xfs. There are xml tweaks for windows too. There was a recent thread with them along with some windows os tweaks. Try disabling indexing and paging if you have enough ram. See this thread. http://lime-technology.com/forum/index.php?topic=38453.msg357465.msg#357465
March 4, 201511 yr Is LVM a possibility? Windows is unbearably slow. I'm not sure what the issue is but everything was great 4 or 5 months ago when I was using Xen and I thought maybe trying to get LVM setup that would help. But in webvirtman I get "internal error: missing backend for pool type 3 (logical) " Even trying to install ubuntu server is taking forever. Currently running everything from qcow images on an ssd. Windows 7 took several hours to finish installing earlier. So maybe LVM isn't even the right question. I'm just trying to figure out why everything seems to be moving so slow in KVM. A few other things you can do to improve your experience: 1) Fix your clock settings Change this: <clock offset='utc'/> To this: <clock offset='localtime'> <timer name='hypervclock'/> <timer name='hpet' present='no'/> </clock> 2) Change your CPU settings (you are way oversubscribing vCPUs here, which is not going to give you the effect you desire) Change this: <vcpu placement='static'>12</vcpu> To this: <vcpu placement='static'>4</vcpu> And change this: <cpu mode='host-model'> <model fallback='allow'/> </cpu> To this: <cpu mode='host-passthrough'> <topology sockets='2' cores='2' threads='1'/> </cpu> 3) Pin virtual CPUs to physical cores (if you have a 4 core processor) Add this after the </vcpu>: <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='1'/> <vcpupin vcpu='2' cpuset='2'/> <vcpupin vcpu='3' cpuset='3'/> </cputune>
Archived
This topic is now archived and is closed to further replies.