Jatin Davey
2015-Apr-14 10:43 UTC
Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi
On 4/14/2015 4:02 PM, Dominique Ramaekers wrote:> > Dear Jatin, > > Maybe it’s a good idea first to implement Spice: > > <video> > > <model type='qxl' ram='65536' vram='65536' heads='1'/> > > <address type='pci' domain='0x0000' bus='0x00' slot='0x02' > function='0x0'/> > > </video> > > <channel type='spicevmc'> > > <target type='virtio' name='com.redhat.spice.0'/> > > <address type='virtio-serial' controller='0' bus='0' port='1'/> > > </channel> > > Spice should be installed on the host. >[Jatin] How will using Spice help in improving better response time from a web application that i am using inside a VM ? Can you throw more light in this regard if it helps in improving the response time.> > Do you use virtio ? >[Jatin] I am not sure about this. Can you tell me how can i find out if i am using virtio or not ?> > Greetings, > > Dominique. > >Thanks Jatin --------------060701060505030101050908 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> On 4/14/2015 4:02 PM, Dominique Ramaekers wrote:<br> <blockquote cite="mid:5CFBD7F4A5E6214CAAA69C03E2E1CD195451BB4DF8@cmsrv5.cometal.be" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="Generator" content="Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif"; color:black;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Tekst zonder opmaak Char"; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} span.E-mailStijl17 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.TekstzonderopmaakChar {mso-style-name:"Tekst zonder opmaak Char"; mso-style-priority:99; mso-style-link:"Tekst zonder opmaak"; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Jatin,<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">Maybe it’s a good idea first to implement Spice:<o:p></o:p></span></p> <p class="MsoPlainText" style="text-indent:35.4pt"><span lang="EN-US"><video><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> <model type='qxl' ram='65536' vram='65536' heads='1'/><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> </video><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> <channel type='spicevmc'><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> <target type='virtio' name='com.redhat.spice.0'/><o:p></o:p></span></p> <p class="MsoPlainText"><span lang="EN-US"> <address type='virtio-serial' controller='0' bus='0' port='1'/><o:p></o:p></span></p> <p class="MsoNormal"><span lang="EN-US"> </span></channel><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">Spice should be installed on the host.</span></p> </div> </blockquote> [Jatin] How will using Spice help in improving better response time from a web application that i am using inside a VM ? Can you throw more light in this regard if it helps in improving the response time.<br> <blockquote cite="mid:5CFBD7F4A5E6214CAAA69C03E2E1CD195451BB4DF8@cmsrv5.cometal.be" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">Do you use virtio ?</span></p> </div> </blockquote> [Jatin] I am not sure about this. Can you tell me how can i find out if i am using virtio or not ?<br> <blockquote cite="mid:5CFBD7F4A5E6214CAAA69C03E2E1CD195451BB4DF8@cmsrv5.cometal.be" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">Greetings,<o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">Dominique.<o:p></o:p></span></p> <br> </div> </blockquote> <br> Thanks<br> Jatin<br> <br> </body> </html> --------------060701060505030101050908--
Dominique Ramaekers
2015-Apr-14 11:12 UTC
Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi
About Spice: I think it’s good practice to use spice because it improves the performance of the VM in general by improving screen performance. If your VM is constantly displaying output, you’ll probably will notice a difference. About virtio: You can see it in the settings. Better yet, it’s in your XML. If you post your XML, we can take a look… Van: Jatin Davey [mailto:jashokda@cisco.com] Verzonden: dinsdag 14 april 2015 12:44 Aan: Dominique Ramaekers; libvirt-users@redhat.com Onderwerp: Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi On 4/14/2015 4:02 PM, Dominique Ramaekers wrote: Dear Jatin, Maybe it’s a good idea first to implement Spice: <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> Spice should be installed on the host. [Jatin] How will using Spice help in improving better response time from a web application that i am using inside a VM ? Can you throw more light in this regard if it helps in improving the response time. Do you use virtio ? [Jatin] I am not sure about this. Can you tell me how can i find out if i am using virtio or not ? Greetings, Dominique. Thanks Jatin
Jatin Davey
2015-Apr-14 11:23 UTC
Re: [libvirt-users] VM Performance using KVM Vs. VMware ESXi
On 4/14/2015 4:42 PM, Dominique Ramaekers wrote:> > About Spice: I think it’s good practice to use spice because it > improves the performance of the VM in general by improving screen > performance. If your VM is constantly displaying output, you’ll > probably will notice a difference. >[Jatin] Ok, This is not my concern as of now. I will take a look at it sometime later.> > About virtio: You can see it in the settings. Better yet, it’s in your > XML. If you post your XML, we can take a look… >Here is the xml associated with my VM: ******************************** <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit ******** or other application using the libvirt API. --> <domain type='kvm'> <name>******</name> <uuid>********</uuid> <title>*******</title> <description>***********</description> <metadata> <template name="****"> <disks> <location type="local" name="Local" path="/VM_DATA_01"/> <disk> <source file="/opt/am-data/sw-download/apps//****/ovf/****/system.vmdk" format="vmdk"/> <target file="/VM_DATA_01/****/****.qcow2" format="qcow2"/> </disk> </disks> <applications> <application> <name>****</name> <description>****</description> <version>****</version> <icon>****</icon> </application> </applications> </template> </metadata> <memory unit='KiB'>20971520</memory> <currentMemory unit='KiB'>20971520</currentMemory> <vcpu placement='static'>8</vcpu> <os> <type arch='x86_64' machine='rhel6.5.0'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/var/lib/libvirt/images/****.qcow2'/> <target dev='hda' bus='ide'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <controller type='usb' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='bridge'> <mac address='52:54:00:c9:58:c9'/> <source bridge='br332'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us' passwd='*****'> <listen type='address' address='0.0.0.0'/> </graphics> <sound model='ich6'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </sound> <video> <model type='cirrus' vram='9216' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> </domain> ******************************************* Thanks Jatin --------------040007030002010104030802 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit <html> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> On 4/14/2015 4:42 PM, Dominique Ramaekers wrote:<br> <blockquote cite="mid:5CFBD7F4A5E6214CAAA69C03E2E1CD195451BB4DFB@cmsrv5.cometal.be" type="cite"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="Generator" content="Microsoft Word 14 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif"; color:black;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-priority:99; mso-style-link:"Tekst zonder opmaak Char"; margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; color:black; mso-fareast-language:EN-US;} span.TekstzonderopmaakChar {mso-style-name:"Tekst zonder opmaak Char"; mso-style-priority:99; mso-style-link:"Tekst zonder opmaak"; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} span.E-mailStijl19 {mso-style-type:personal; font-family:"Calibri","sans-serif"; color:#1F497D;} span.E-mailStijl20 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:72.0pt 72.0pt 72.0pt 72.0pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">About Spice: I think it’s good practice to use spice because it improves the performance of the VM in general by improving screen performance. If your VM is constantly displaying output, you’ll probably will notice a difference.</span></p> </div> </blockquote> [Jatin] Ok, This is not my concern as of now. I will take a look at it sometime later.<br> <blockquote cite="mid:5CFBD7F4A5E6214CAAA69C03E2E1CD195451BB4DFB@cmsrv5.cometal.be" type="cite"> <div class="WordSection1"> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p></o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US"><o:p> </o:p></span></p> <p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D" lang="EN-US">About virtio: You can see it in the settings. Better yet, it’s in your XML. If you post your XML, we can take a look…</span></p> </div> </blockquote> <br> Here is the xml associated with my VM:<br> <br> ********************************<br> <!--<br> WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE<br> OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:<br> virsh edit ********<br> or other application using the libvirt API.<br> --><br> <br> <domain type='kvm'><br> <name>******</name><br> <uuid>********</uuid><br> <title>*******</title><br> <description>***********</description><br> <metadata><br> <template name="****"><br> <disks><br> <location type="local" name="Local" path="/VM_DATA_01"/><br> <disk><br> <source file="/opt/am-data/sw-download/apps//****/ovf/****/system.vmdk" format="vmdk"/><br> <target file="/VM_DATA_01/****/****.qcow2" format="qcow2"/><br> </disk><br> </disks><br> <applications><br> <application><br> <name>****</name><br> <description>****</description><br> <version>****</version><br> <icon>****</icon><br> </application><br> </applications><br> </template><br> </metadata><br> <memory unit='KiB'>20971520</memory><br> <currentMemory unit='KiB'>20971520</currentMemory><br> <vcpu placement='static'>8</vcpu><br> <os><br> <type arch='x86_64' machine='rhel6.5.0'>hvm</type><br> <boot dev='hd'/><br> </os><br> <features><br> <acpi/><br> <apic/><br> <pae/><br> </features><br> <clock offset='utc'/><br> <on_poweroff>destroy</on_poweroff><br> <on_reboot>restart</on_reboot><br> <on_crash>restart</on_crash><br> <devices><br> <emulator>/usr/libexec/qemu-kvm</emulator><br> <disk type='file' device='disk'><br> <driver name='qemu' type='qcow2' cache='none'/><br> <source file='/var/lib/libvirt/images/****.qcow2'/><br> <target dev='hda' bus='ide'/><br> <address type='drive' controller='0' bus='0' target='0' unit='0'/><br> </disk><br> <controller type='usb' index='0'><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/><br> </controller><br> <controller type='ide' index='0'><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/><br> </controller><br> <interface type='bridge'><br> <mac address='52:54:00:c9:58:c9'/><br> <source bridge='br332'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/><br> </interface><br> <serial type='pty'><br> <target port='0'/><br> </serial><br> <console type='pty'><br> <target type='serial' port='0'/><br> </console><br> <input type='mouse' bus='ps2'/><br> <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='en-us' passwd='*****'><br> <listen type='address' address='0.0.0.0'/><br> </graphics><br> <sound model='ich6'><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/><br> </sound><br> <video><br> <model type='cirrus' vram='9216' heads='1'/><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/><br> </video><br> <memballoon model='virtio'><br> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/><br> </memballoon><br> </devices><br> </domain><br> *******************************************<br> <br> Thanks<br> Jatin<br> <br> </body> </html> --------------040007030002010104030802--