<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-02-18 11:25 GMT+01:00 Martin Kletzander <span dir="ltr"><<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Thu, Feb 18, 2016 at 10:41:42AM +0100, John Obaterspok wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
2016-02-18 10:13 GMT+01:00 Martin Kletzander <<a href="mailto:mkletzan@redhat.com" target="_blank">mkletzan@redhat.com</a>>:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Thu, Feb 18, 2016 at 08:49:38AM +0100, John Obaterspok wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello,<br>
<br>
I'm using virt-manager on my F23 box to run a Windows 10 image but the<br>
performance is so bad it's killing me.<br>
<br>
I have "vmx" flag in /proc/cpuinfo<br>
<br>
# lsmod |grep kvm<br>
kvm_intel             167936  6<br>
kvm                   503808  1 kvm_intel<br>
<br>
virtio-win-0.1.112-1.noarch<br>
<br>
But no virtio modules loaded. Should they be loaded nowadays?<br>
<br>
</blockquote>
<br>
Not on the host AFAIK.<br>
<br>
The disk format used is vmdk with no caching and native mode.<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The io is 100% in windows task manager performing less than 1MB/s<br>
<br>
Any clues?<br>
<br>
<br>
</blockquote>
What are the figures from the host?  What is qemu doing and what are the<br>
other processes and devices doing?<br>
<br>
<br>
</blockquote>
What is the best way to find this out?<br>
<br>
</blockquote>
<br></span>
{,a,h}top should do for the initial runs, just to see if the block layer<br>
is busy or the CPU is busy or something else is blocking it<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
</blockquote></blockquote><div><br></div><div>atop seems to indicate that sdd is busy?</div><div><br></div><div>DSK |          sdd |  busy     96% |              |  read    1455 | write   1319 |  KiB/r      5 | KiB/w      9 |               | MBr/s   0.74 | MBw/s   1.26  | avq     1.01 |               | avio 3.43 ms |<br></div><div><br></div><div><div># mount | grep sdd</div><div>/dev/sdd2 on /vm type ext4 (rw,relatime,seclabel,data=ordered)</div></div><div><br></div><div><br></div><div>guest configuration is below:</div><div><br></div><div><div><domain type='kvm'></div><div>  <name>win10-box</name></div><div>  <uuid>d4a67adb-5d30-42f8-b8c6-d3c4598700f2</uuid></div><div>  <memory unit='KiB'>4194304</memory></div><div>  <currentMemory unit='KiB'>4194304</currentMemory></div><div>  <vcpu placement='static'>4</vcpu></div><div>  <os></div><div>    <type arch='x86_64' machine='pc-i440fx-2.4'>hvm</type></div><div>  </os></div><div>  <features></div><div>    <acpi/></div><div>    <apic/></div><div>    <pae/></div><div>    <hyperv></div><div>      <relaxed state='on'/></div><div>      <vapic state='on'/></div><div>      <spinlocks state='on' retries='8191'/></div><div>    </hyperv></div><div>    <kvm></div><div>      <hidden state='on'/></div><div>    </kvm></div><div>    <vmport state='off'/></div><div>  </features></div><div>  <cpu mode='host-model'></div><div>    <model fallback='allow'/></div><div>  </cpu></div><div>  <clock offset='localtime'></div><div>    <timer name='rtc' tickpolicy='catchup'/></div><div>    <timer name='pit' tickpolicy='delay'/></div><div>    <timer name='hpet' present='no'/></div><div>    <timer name='hypervclock' present='yes'/></div><div>  </clock></div><div>  <on_poweroff>destroy</on_poweroff></div><div>  <on_reboot>restart</on_reboot></div><div>  <on_crash>restart</on_crash></div><div>  <pm></div><div>    <suspend-to-mem enabled='no'/></div><div>    <suspend-to-disk enabled='no'/></div><div>  </pm></div><div>  <devices></div><div>    <emulator>/usr/bin/qemu-kvm</emulator></div><div>    <disk type='file' device='cdrom'></div><div>      <driver name='qemu' type='raw'/></div><div>      <source file='/usr/share/virtio-win/virtio-win.iso'/></div><div>      <target dev='hda' bus='ide'/></div><div>      <readonly/></div><div>      <address type='drive' controller='0' bus='0' target='0' unit='0'/></div><div>    </disk></div><div>    <disk type='file' device='disk'></div><div>      <driver name='qemu' type='vmdk' cache='none' io='native'/></div><div>      <source file='/vm/storage/win10-box.img'/></div><div>      <target dev='vda' bus='virtio'/></div><div>      <boot order='1'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/></div><div>    </disk></div><div>    <controller type='usb' index='0' model='ich9-ehci1'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x7'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci1'></div><div>      <master startport='0'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci2'></div><div>      <master startport='2'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/></div><div>    </controller></div><div>    <controller type='usb' index='0' model='ich9-uhci3'></div><div>      <master startport='4'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x2'/></div><div>    </controller></div><div>    <controller type='pci' index='0' model='pci-root'/></div><div>    <controller type='ide' index='0'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/></div><div>    </controller></div><div>    <controller type='virtio-serial' index='0'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/></div><div>    </controller></div><div>    <controller type='sata' index='0'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/></div><div>    </controller></div><div>    <interface type='direct'></div><div>      <mac address='52:54:00:cc:f0:31'/></div><div>      <source dev='eno1' mode='bridge'/></div><div>      <model type='virtio'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div><div>    </interface></div><div>    <serial type='pty'></div><div>      <target port='0'/></div><div>    </serial></div><div>    <console type='pty'></div><div>      <target type='serial' port='0'/></div><div>    </console></div><div>    <input type='tablet' bus='usb'/></div><div>    <input type='mouse' bus='ps2'/></div><div>    <input type='keyboard' bus='ps2'/></div><div>    <graphics type='spice' autoport='yes'/></div><div>    <sound model='ich6'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div><div>    </sound></div><div>    <video></div><div>      <model type='vga' vram='16384' heads='1'/></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/></div><div>    </video></div><div>    <memballoon model='virtio'></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/></div><div>    </memballoon></div><div>  </devices></div><div></domain></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></div></div>