[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt-users] Windows Server 2008 - KVM

Please check virtual memory usage in the guest. 2Gb memory is very low. I think your Windows guest is ‘swapping’ constantly. This combined with the less performant qcow format… Reading and writing to qcow takes up host cpu…


I don’t go under 3,5Gb for Windows Guests…


Tip: Take the time to learn LVM. Changing from an image file to LVM really pays off. I have a virtual host with RAID10 local storage. Changing to LVM gave me more than 25% performance boost.


For the rest, it seems ok.


Less important:

I have disabled apparmor security. This was done while using an older version of virsh and I had trouble with apparmor. I don’t know if apparmor has big performance influence.


Wasn’t there a tablet input device? Did you delete this device? I think it’s better to leave it. It has something to do with mouse usage in virt-viewer or vnc…


Install the guest agent on the guest and insert the needed XML-directives. It gives you more possibilities managing your guest like a backup with external snapshots.




Van: Thiago Oliveira [mailto:cpv thiago gmail com]
Verzonden: vrijdag 20 mei 2016 13:07
n: Dominique Ramaekers
CC: libvirt-users redhat com
Onderwerp: Re: [libvirt-users] Windows Server 2008 - KVM


Hi there!


Sure......see below.


# virsh version

Compiled against library: libvirt 1.3.1

Using library: libvirt 1.3.1

Using API: QEMU 1.3.1

Running hypervisor: QEMU 2.5.0


# uname -a

Linux 4.4.0-22-generic #40-Ubuntu 16



<domain type='kvm' id='8'>




  <memory unit='KiB'>2097152</memory>

  <currentMemory unit='KiB'>2097152</currentMemory>

  <vcpu placement='static'>2</vcpu>





    <type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>

    <boot dev='hd'/>

    <boot dev='cdrom'/>

    <bootmenu enable='yes'/>







  <cpu mode='host-passthrough'>

    <topology sockets='1' cores='2' threads='1'/>


  <clock offset='localtime'/>






    <disk type='file' device='disk'>

      <driver name='qemu' type='qcow2' cache='none' io='native'/>

      <source file='/mnt/VM_SAS/w2k8.img'/>


      <target dev='vda' bus='virtio'/>

      <alias name='virtio-disk0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>


    <disk type='file' device='disk'>

      <driver name='qemu' type='raw'/>

      <source file='/mnt/VM_SAS/second_HD.raw'/>


      <target dev='vdb' bus='virtio'/>

      <alias name='virtio-disk1'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>


    <disk type='file' device='cdrom'>

      <driver name='qemu' type='raw'/>


      <target dev='hda' bus='ide' tray='open'/>


      <alias name='ide0-1-1'/>

      <address type='drive' controller='0' bus='1' target='0' unit='1'/>


    <controller type='pci' index='0' model='pci-root'>

      <alias name='pci.0'/>


    <controller type='ide' index='0'>

      <alias name='ide'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>


    <controller type='usb' index='0'>

      <alias name='usb'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>


    <interface type='network'>

      <mac address='52:54:00:c3:c9:f3'/>

      <source network='network_win' bridge='virbr0'/>

      <target dev='vnet1'/>

      <model type='virtio'/>

      <alias name='net0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>


    <serial type='pty'>

      <source path='/dev/pts/1'/>

      <target port='0'/>

      <alias name='serial0'/>


    <console type='pty' tty='/dev/pts/1'>

      <source path='/dev/pts/1'/>

      <target type='serial' port='0'/>

      <alias name='serial0'/>


    <input type='mouse' bus='ps2'/>

    <input type='keyboard' bus='ps2'/>

    <graphics type='vnc' port='5901' autoport='yes' listen=''>

      <listen type='address' address=''/>



      <model type='cirrus' vram='16384' heads='1'/>

      <alias name='video0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>


    <memballoon model='virtio'>

      <alias name='balloon0'/>

      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>



  <seclabel type='dynamic' model='apparmor' relabel='yes'>











2016-05-20 3:57 GMT-03:00 Dominique Ramaekers <dominique ramaekers cometal be>:



Van: libvirt-users-bounces redhat com [mailto:libvirt-users-bounces redhat com] Namens Thiago Oliveira
Verzonden: vrijdag 20 mei 2016 4:09
Aan: libvirt-users redhat com
Onderwerp: [libvirt-users] Windows Server 2008 - KVM


Hi folks!


When I start the Windows Server 2008 guest, the host cpu grown up the utilization and the host load average too. Are there some tips to use Windows Server with libvirt?






Could you send the XML and the result of ‘virsh version’?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]