
On 9 Feb 2018, at 14:04, Gianluca Cecchi <gianluca.cecchi@gmail.com> = wrote: =20 Hello, while in my activities to accomplish migration of a Windows 2008 R2 VM = (with an Oracle RDBMS inside) from vSphere to oVirt, I'm going to check =
--Apple-Mail=_2FD1F378-589D-49F8-9290-B20DCD2BF6A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 performance related things.
=20 Up to now I only ran Windows guests inside my laptops and not inside = an oVirt infrastructure. =20 Now I successfully migrated this kind of VM to oVirt 4.1.9. The guest had an LSI logic sas controller. Inside the oVirt host that = I used as proxy (for VMware virt-v2v) I initially didn't have the = virtio-win rpm. I presume that has been for this reason that the oVirt guest has been = configured with IDE disks=E2=80=A6
Can you confirm? =20 For this test I started with ide, then added a virtio-scsi disk and =
yes you won=E2=80=99t get any decent performance unless you use virtio = drivers. Either virtio-block or virtio-scsi then changed also the boot disk to virtio-scsi and all now goes well, = with also ovirt-guest-tools-iso-4.1-3 provided iso used to install qxl = and so on...
=20 So far so good. I found this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=3D1277353 = <https://bugzilla.redhat.com/show_bug.cgi?id=3D1277353> =20 where it seems that=20 =20 " For optimum I/O performance it's critical to make sure that Windows = guests use the Hyper-V reference counter feature. QEMU command line = should include =20 -cpu ...,hv_time =20 and =20 -no-hpet " Analyzing my command line I see the "-no-hpet" but I dont see the = "hv_time" See below full comand. Any hints?
What OS type do you have set for that VM? Make sure it matches the = Windows version. That enables the hyperv enlightenments settings Thanks, michal
Thanks, Gianluca =20 /usr/libexec/qemu-kvm -name guest=3Dtestmig,debug-threads=3Don -S -object = secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/domain-12= -testmig/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff=
-cpu Westmere,vmx=3Don -m size=3D4194304k,slots=3D16,maxmem=3D16777216k -realtime mlock=3Doff -smp 2,maxcpus=3D16,sockets=3D16,cores=3D1,threads=3D1 -numa node,nodeid=3D0,cpus=3D0-1,mem=3D4096 -uuid x-y-z-x-y -smbios type=3D1,manufacturer=3DoVirt,product=3DoVirt Node,version=3D7-4.1708.el7.centos,serial=3Dxx,uuid=3Dyy -no-user-config -nodefaults -chardev = socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-12-testmig/mon= itor.sock,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc base=3D2018-02-09T12:41:41,driftfix=3Dslew -global kvm-pit.lost_tick_policy=3Ddelay -no-hpet -no-shutdown -boot strict=3Don -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x5 -device = virtio-serial-pci,id=3Dvirtio-serial0,max_ports=3D16,bus=3Dpci.0,addr=3D0x= 4 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0=
-drive = file=3D/rhev/data-center/ef17cad6-7724-4cd8-96e3-9af6e529db51/fa33df49-b09= d-4f86-9719-ede649542c21/images/2de93ee3-7d6e-4a10-88c4-abc7a11fb687/a9f4e= 35b-4aa0-45e8-b775-1a046d1851aa,format=3Dqcow2,if=3Dnone,id=3Ddrive-scsi0-= 0-0-1,serial=3D2de93ee3-7d6e-4a10-88c4-abc7a11fb687,cache=3Dnone,werror=3D= stop,rerror=3Dstop,aio=3Dnative -device = scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D1,drive=3Ddrive-scsi0-= 0-0-1,id=3Dscsi0-0-0-1,bootindex=3D1 -drive = file=3D/rhev/data-center/ef17cad6-7724-4cd8-96e3-9af6e529db51/fa33df49-b09= d-4f86-9719-ede649542c21/images/f821da0a-cec7-457c-88a4-f83f33404e65/0d0c4= 244-f184-4eaa-b5bf-8dc65c7069bb,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0-0,serial=3Df821da0a-cec7-457c-88a4-f83f33404e65,cache=3Dnone,werror=3Dst= op,rerror=3Dstop,aio=3Dnative -device = scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddrive-scsi0-= 0-0-0,id=3Dscsi0-0-0-0 -netdev tap,fd=3D30,id=3Dhostnet0 -device = e1000,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:50:56:9d:c9:29,bus=3Dpci.0,addr= =3D0x3 -chardev = socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/421d6f1b-58= e3-54a4-802f-fb52f7831369.com.redhat.rhevm.vdsm,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3Dc= hannel0,name=3Dcom.redhat.rhevm.vdsm -chardev = socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/421d6f1b-58= e3-54a4-802f-fb52f7831369.org.qemu.guest_agent.0,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3Dc= hannel1,name=3Dorg.qemu.guest_agent.0 -chardev spicevmc,id=3Dcharchannel2,name=3Dvdagent -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3Dc= hannel2,name=3Dcom.redhat.spice.0 -spice = tls-port=3D5900,addr=3D10.4.192.32,x509-dir=3D/etc/pki/vdsm/libvirt-spice,= tls-channel=3Ddefault,tls-channel=3Dmain,tls-channel=3Ddisplay,tls-channel= =3Dinputs,tls-channel=3Dcursor,tls-channel=3Dplayback,tls-channel=3Drecord= ,tls-channel=3Dsmartcard,tls-channel=3Dusbredir,seamless-migration=3Don -device = qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D8388608,vram64_size_mb= =3D0,vgamem_mb=3D16,max_outputs=3D1,bus=3Dpci.0,addr=3D0x2 -msg timestamp=3Don =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--Apple-Mail=_2FD1F378-589D-49F8-9290-B20DCD2BF6A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br = class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div = class=3D"">On 9 Feb 2018, at 14:04, Gianluca Cecchi <<a = href=3D"mailto:gianluca.cecchi@gmail.com" = class=3D"">gianluca.cecchi@gmail.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" = class=3D"">Hello,<div class=3D"">while in my activities to accomplish = migration of a Windows 2008 R2 VM (with an Oracle RDBMS inside) from = vSphere to oVirt, I'm going to check performance related = things.</div><div class=3D""><br class=3D""></div><div class=3D"">Up to = now I only ran Windows guests inside my laptops and not inside an oVirt = infrastructure.</div><div class=3D""><br class=3D""></div><div = class=3D"">Now I successfully migrated this kind of VM to oVirt = 4.1.9.</div><div class=3D"">The guest had an LSI logic sas controller. = Inside the oVirt host that I used as proxy (for VMware virt-v2v) I = initially didn't have the virtio-win rpm.</div><div class=3D"">I presume = that has been for this reason that the oVirt guest has been configured = with IDE disks=E2=80=A6</div></div></div></blockquote><div><br = class=3D""></div>yes</div><div>you won=E2=80=99t get any decent = performance unless you use virtio drivers. Either virtio-block or = virtio-scsi</div><div><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div class=3D"">Can= you confirm?</div><div class=3D""><br class=3D""></div><div = class=3D"">For this test I started with ide, then added a virtio-scsi = disk and then changed also the boot disk to virtio-scsi and all now goes = well, with also ovirt-guest-tools-iso-4.1-3 provided iso used to install = qxl and so on...</div><div class=3D""><br class=3D""></div><div = class=3D"">So far so good.</div><div class=3D"">I found this = bugzilla:</div><div class=3D""><a = href=3D"https://bugzilla.redhat.com/show_bug.cgi?id=3D1277353" = class=3D"">https://bugzilla.redhat.com/show_bug.cgi?id=3D1277353</a><br = class=3D""></div><div class=3D""><br class=3D""></div><div = class=3D"">where it seems that </div><div class=3D""><br = class=3D""></div><div class=3D"">"</div><div class=3D""><pre = class=3D"gmail-bz_wrap_comment_text gmail-bz_comment_text" = id=3D"gmail-comment_text_24" style=3D"font-size: small; font-family: = monospace; white-space: pre-wrap; word-wrap: break-word; width: 50em; = font-style: normal; font-variant-ligatures: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; word-spacing: 0px;">For optimum = I/O performance it's critical to make sure that Windows guests use the = Hyper-V reference counter feature. QEMU command line should include -cpu ...,hv_time and -no-hpet</pre><pre class=3D"gmail-bz_wrap_comment_text = gmail-bz_comment_text" id=3D"gmail-comment_text_24" style=3D"font-size: = small; font-family: monospace; white-space: pre-wrap; word-wrap: = break-word; width: 50em; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = word-spacing: 0px;">"</pre><pre class=3D"gmail-bz_wrap_comment_text = gmail-bz_comment_text" id=3D"gmail-comment_text_24" style=3D"font-size: = small; font-family: monospace; white-space: pre-wrap; word-wrap: = break-word; width: 50em; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D"">Analyzing my command line I see the = "-no-hpet" but I dont see the "hv_time"</span></pre><pre = class=3D"gmail-bz_wrap_comment_text gmail-bz_comment_text" = id=3D"gmail-comment_text_24" style=3D"font-size: small; font-family: = monospace; white-space: pre-wrap; word-wrap: break-word; width: 50em; = font-style: normal; font-variant-ligatures: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D"">See below full = comand.</span></pre><pre class=3D"gmail-bz_wrap_comment_text = gmail-bz_comment_text" id=3D"gmail-comment_text_24" style=3D"font-size: = small; font-family: monospace; white-space: pre-wrap; word-wrap: = break-word; width: 50em; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D"">Any = hints?</span></pre></div></div></div></blockquote><div><br = class=3D""></div>What OS type do you have set for that VM? Make sure it = matches the Windows version. That enables the hyperv enlightenments = settings</div><div><br = class=3D""></div><div>Thanks,</div><div>michal</div><div><blockquote = type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div = class=3D""><pre class=3D"gmail-bz_wrap_comment_text = gmail-bz_comment_text" id=3D"gmail-comment_text_24" style=3D"font-size: = small; font-family: monospace; white-space: pre-wrap; word-wrap: = break-word; width: 50em; font-style: normal; font-variant-ligatures: = normal; font-variant-caps: normal; font-weight: 400; letter-spacing: = normal; text-align: start; text-indent: 0px; text-transform: none; = word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D"">Thanks,</span></pre><pre = class=3D"gmail-bz_wrap_comment_text gmail-bz_comment_text" = id=3D"gmail-comment_text_24" style=3D"font-size: small; font-family: = monospace; white-space: pre-wrap; word-wrap: break-word; width: 50em; = font-style: normal; font-variant-ligatures: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D"">Gianluca</span></pre><pre = class=3D"gmail-bz_wrap_comment_text gmail-bz_comment_text" = id=3D"gmail-comment_text_24" style=3D"font-size: small; font-family: = monospace; white-space: pre-wrap; word-wrap: break-word; width: 50em; = font-style: normal; font-variant-ligatures: normal; font-variant-caps: = normal; font-weight: 400; letter-spacing: normal; text-align: start; = text-indent: 0px; text-transform: none; word-spacing: 0px;"><span = style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;= font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;f= ont-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text= -transform:none;white-space:normal;word-spacing:0px;background-color:rgb(2= 55,255,255);text-decoration-style:initial;text-decoration-color:initial;fl= oat:none;display:inline" class=3D""><br class=3D""></span></pre><pre = class=3D"gmail-bz_wrap_comment_text gmail-bz_comment_text" = id=3D"gmail-comment_text_24" = style=3D"word-wrap:break-word;width:50em;text-align:start;text-indent:0px;= text-decoration-style:initial;text-decoration-color:initial">/usr/libexec/= qemu-kvm -name guest=3Dtestmig,debug-threads=3Don -S -object = secret,id=3DmasterKey0,format=3Draw,file=3D/var/lib/libvirt/qemu/domain-12= -testmig/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=3Dkvm,usb=3Doff,dump-guest-core=3Doff -cpu Westmere,vmx=3Don -m size=3D4194304k,slots=3D16,maxmem=3D16777216k -realtime mlock=3Doff -smp 2,maxcpus=3D16,sockets=3D16,cores=3D1,threads=3D1 -numa node,nodeid=3D0,cpus=3D0-1,mem=3D4096 -uuid x-y-z-x-y -smbios type=3D1,manufacturer=3DoVirt,product=3DoVirt Node,version=3D7-4.1708.el7.centos,serial=3Dxx,uuid=3Dyy -no-user-config -nodefaults -chardev = socket,id=3Dcharmonitor,path=3D/var/lib/libvirt/qemu/domain-12-testmig/mon= itor.sock,server,nowait -mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol -rtc base=3D2018-02-09T12:41:41,driftfix=3Dslew -global kvm-pit.lost_tick_policy=3Ddelay -no-hpet -no-shutdown -boot strict=3Don -device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 -device virtio-scsi-pci,id=3Dscsi0,bus=3Dpci.0,addr=3D0x5 -device = virtio-serial-pci,id=3Dvirtio-serial0,max_ports=3D16,bus=3Dpci.0,addr=3D0x= 4 -drive if=3Dnone,id=3Ddrive-ide0-1-0,readonly=3Don -device ide-cd,bus=3Dide.1,unit=3D0,drive=3Ddrive-ide0-1-0,id=3Dide0-1-0 -drive = file=3D/rhev/data-center/ef17cad6-7724-4cd8-96e3-9af6e529db51/fa33df49-b09= d-4f86-9719-ede649542c21/images/2de93ee3-7d6e-4a10-88c4-abc7a11fb687/a9f4e= 35b-4aa0-45e8-b775-1a046d1851aa,format=3Dqcow2,if=3Dnone,id=3Ddrive-scsi0-= 0-0-1,serial=3D2de93ee3-7d6e-4a10-88c4-abc7a11fb687,cache=3Dnone,werror=3D= stop,rerror=3Dstop,aio=3Dnative -device = scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D1,drive=3Ddrive-scsi0-= 0-0-1,id=3Dscsi0-0-0-1,bootindex=3D1 -drive = file=3D/rhev/data-center/ef17cad6-7724-4cd8-96e3-9af6e529db51/fa33df49-b09= d-4f86-9719-ede649542c21/images/f821da0a-cec7-457c-88a4-f83f33404e65/0d0c4= 244-f184-4eaa-b5bf-8dc65c7069bb,format=3Draw,if=3Dnone,id=3Ddrive-scsi0-0-= 0-0,serial=3Df821da0a-cec7-457c-88a4-f83f33404e65,cache=3Dnone,werror=3Dst= op,rerror=3Dstop,aio=3Dnative -device = scsi-hd,bus=3Dscsi0.0,channel=3D0,scsi-id=3D0,lun=3D0,drive=3Ddrive-scsi0-= 0-0-0,id=3Dscsi0-0-0-0 -netdev tap,fd=3D30,id=3Dhostnet0 -device = e1000,netdev=3Dhostnet0,id=3Dnet0,mac=3D00:50:56:9d:c9:29,bus=3Dpci.0,addr= =3D0x3 -chardev = socket,id=3Dcharchannel0,path=3D/var/lib/libvirt/qemu/channels/421d6f1b-58= e3-54a4-802f-fb52f7831369.com.redhat.rhevm.vdsm,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D1,chardev=3Dcharchannel0,id=3Dc= hannel0,name=3Dcom.redhat.rhevm.vdsm -chardev = socket,id=3Dcharchannel1,path=3D/var/lib/libvirt/qemu/channels/421d6f1b-58= e3-54a4-802f-fb52f7831369.org.qemu.guest_agent.0,server,nowait -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D2,chardev=3Dcharchannel1,id=3Dc= hannel1,name=3Dorg.qemu.guest_agent.0 -chardev spicevmc,id=3Dcharchannel2,name=3Dvdagent -device = virtserialport,bus=3Dvirtio-serial0.0,nr=3D3,chardev=3Dcharchannel2,id=3Dc= hannel2,name=3Dcom.redhat.spice.0 -spice = tls-port=3D5900,addr=3D10.4.192.32,x509-dir=3D/etc/pki/vdsm/libvirt-spice,= tls-channel=3Ddefault,tls-channel=3Dmain,tls-channel=3Ddisplay,tls-channel= =3Dinputs,tls-channel=3Dcursor,tls-channel=3Dplayback,tls-channel=3Drecord= ,tls-channel=3Dsmartcard,tls-channel=3Dusbredir,seamless-migration=3Don -device = qxl-vga,id=3Dvideo0,ram_size=3D67108864,vram_size=3D8388608,vram64_size_mb= =3D0,vgamem_mb=3D16,max_outputs=3D1,bus=3Dpci.0,addr=3D0x2 -msg timestamp=3Don </pre></div><div class=3D""><br class=3D""></div></div> _______________________________________________<br class=3D"">Users = mailing list<br class=3D""><a href=3D"mailto:Users@ovirt.org" = class=3D"">Users@ovirt.org</a><br = class=3D"">http://lists.ovirt.org/mailman/listinfo/users<br = class=3D""></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_2FD1F378-589D-49F8-9290-B20DCD2BF6A6--