is it possible that an application on a virtual machine is faster than in its host?

To measure the performance of our software on vmware, compare us the performance of vm compared to its host machine.

We found that performance on three different machines showed a very different behavior, of 50% slower at 10% slower.

And the strangest thing is that there is a single machine, his vm is faster than its host.

Any help on the possible reasons is appreciated!

Thank you!

Additional information:

The application is time CPU,.

CentOS 6.2 for the vm and host,

VMware Workstation 10.0.1 build-1379776

Hardware Dell R720VM vs host
Xeon 2 CPU E5-2620 0 @ 2.00 GHz 12-Core, 32 GB-50%
Xeon 2 E5-2650 V2 2.60 GHz, 16 Core CPU, 32 GB-10%
Xeon 2 E5-2630 0 @ 2.30 GHz, 12 Core CPU, 64 GB20%

After eliminating the various factors, we finally understood the cause: hyper threading

After that we switched off the hyper threading, everything became normal, the slower and faster virtual machines showed same performance.

Host performance has even improved, about 10-20% faster than the virtual machine.

Hope that this experience and this information can be useful for others in the future...

Thanks for your help during our survey!

Tags: VMware

Similar Questions

  • Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine

    Not possible to export a list of virtual machines that are created in the past 7, 30, 120 and 180 days since an imported csv file containing the date of creation of virtual machine. My questions is the correct statement to the variable: $VmCreated7DaysAgo: $_CreatedOn "-lt" $CDate7.

    # #SCRIPT_START

    $file = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\VM-Repo.csv".

    $Import = import-csv $file

    $VMCreatedLast7RDayRepoFile = "C:\Users\Admin\Documents\WindowsPowerShell\08-18-2014\Last7Days.csv".

    $start7 = (get-Date). AddMonths(-1)

    $CDate7 = $start7. ToString('MM/dd/yyyy')

    $VmCreated7DaysAgo = $Import | Select-object - property name, Powerstate, vCenter, VMHost, Cluster, file, Application, CreatedBy, CreatedOn, NumCpu, MemoryGB | Where-Object {$_.} CreatedOn - lt $CDate7} | Sort-Object CreatedOn

    $TotalVmCreated7DaysAgo = $VmCreated7DaysAgo.count

    $VmCreated7DaysAgo | Export-Csv-path $VMCreatedLast7RDayRepoFile - NoTypeInformation - UseCulture

    Write-Host "$TotalVmCreated7DaysAgo VMs created in 7 days" - BackgroundColor Magenta

    Invoke-Item $VMCreatedLast7RDayRepoFile

    # #SCRIPT_END

    You can use the New-Timespan cmdlet in the Where clause, it returns the time difference between 2 DateTime objects.

    An example of this cmdley

    New-TimeSpan-start (Get-Date). AddDays(-7)-end (Get-Date). Select days - ExpandProperty

    In your case, you could do

    Where {(New Timespan-démarrer ([DateTime] $_.))} CreatedOn) - end $start7). {7 days - gt}

    But beware of negative numbers.

  • Shortcut to the Application on the virtual machine

    Hello

    I wonder if it is possible to have shortcuts on my dock that points to an application installed on a Windows 7 VM?

    When the user clicks the shortcut, VMWare Fusion is open, the Windows 7 VM boot and application loading?

    If so, what would be the shortcut text?

    Thanks in advance.

    When you run an application when the Virtual Machine is for unity a Dock tile for the app shows on the dock and you can ctrl-click it and select Options > keep in the Dock and use it to open this app if the Virtual Machine is running or not.  Of course after that, if the Virtual Machine does not work it will be started and then the application open.

  • How do to identify that an Application is being virtualized using ThinApp

    Is it possible to license components of an application to determine whether the application is being virtualized by VMware ThinApp?

    Never heard of all the apps you are looking for if it is packaged with ThinApp or not. But it is quite possible. All virtual environments ThinApp has a variable called TS_ORIGIN by simply checking for this would allow.

  • Mount an .iso that is stored IN the virtual machine.

    Briefing Note: deploy us thin client on several campuses. Create us the model, deploy in each site, and then rebuild each pool. We now need to mount an image file .iso for one of the required programs. The .iso image file cannot be mounted with the software of in the virtual environment, because it uses a software of PortectDISC. We have the right number of drives, but customers have no disk drives.

    Problem: Since deploying the model, we must include the file .iso with her image. Normally, you would ride a .iso manually. However, load the file on each remote server .iso image and enter in each of hundreds of machines virtual one at a time to set the .iso way are not possible. Mount the .iso image file is our only option. Is there a way to store the .iso image file in the hard disk of the virtual machine and the virtual machine settings to rise from this point .iso? Or is it possible to include the image .iso with the model file when we deploy it is with each virtual machine and the path in the settings is already pointing to it?

    We tried to put the file .iso image on a store of data on one of our ESX servers, and then modified the model gold on this machine to point to the .iso image file. We reconstructed the pool, and the image .iso file mounted correctly. The problem with that is that we have 20 + machines trying to access the same file at the same time. Let the first few machines work, but the rest said it had disc read errors. So, we want to each machine to have its own .iso.

    Any help is greatly appreciated.

    Hello

    I have to add a warning that I use not models, but I don't think it is very relevant to my answer.

    @wila: well, I had thought about it, but when deploy us the image, it will automatically change the path to the file? For example, if we note the virtual drive to mount the .iso file to "\vm_template\cd.iso", then deploy, each of the virtual machines will not have this same path in their settings? Then they will all point to '\vm_template\cd.iso' instead of their own institution ' "\vm_##\cd.iso? '" If so, this would require we go each of hundreds of machines and set up manually every time that we deploy a model.

    If you do not add a path, then the iso that the virtual machine will try to open will be local to the virtual machine. You can simply do this by copying the vm to the path of your virtual machine, for example "[storage1] \vm_template" and affecting the CD this specific path.

    As is the same way, you can wait for the vSphere client is smart enough, it does not remove the path for drives in such a case, but not for CD...

    To use the vSphere Client to create the bases so far

    What I just did, go in the vmx file, deleted information path of superfluous and only left the name of the iso file, and all the true startConnected, not the virtual machine to make sure that my edit is OK, again registered the VM in the vSphere client, then started my VM and mounted the cdrom without any problem whatsoever.

    So - as expected - it works fine the iso file is local to the virtual machine and the local path comes first unless you assign specifically it different in the vmx file.

    --
    Wil
    _____________________________________________________
    VI Toolkit & scripts wiki at http://www.vi-toolkit.com

    Writer to the blog www.planetvm.net

    Twitter: @wilva

  • It is possible to enable VT in a Virtual Machine?

    Hello

    We are now pushing to VDI to our users, however, we can run all our apps on our HV.

    We currently use Desktop PC running Windows 7. We have an application that runs only under Windows XP compatibility, which requires the PC to have active VT.

    When I cloned a PC and pulled up, everything worked, but XP mode, which says that the host does not have the virtual technology in WOOD.

    The BIOS on the host computer was activated and it works perfectly fine, but the BIOS of the virtual machine has not yet of the option. I looked around the CPU settings and I have activated using Intel VT-x/AMD-V instruction set virtualization and the options of IVR EPT/AMD Intel MMU virtualization on the desktop and they may not always run in XP Mode.

    Anyone has any experience cela running on ESX?

    Hello.

    Have you seen this?

    Good luck!

  • Is it possible to open a VMWare Workstation virtual machine, VMWare Fusion?

    Hi all

    I recently moved to a MacBook Pro and have installed VMWare Fusion.

    I searched the forums but cannot find an answer to the question (or maybe I did not only hit the right keywords).

    My question is this...  Is it possible to open a virtual machine that I created in VMWare Workstation, VMWare Fusion?

    Thank you

    Dan.

    Do not.  Just copy the folder FULL of computer workstation computer merger.  In Fusion, select "Open an existing Virtual Machine" and find the folder that you copied and select the .vmx file.  No stupid masking the content of the file making it appear to the user unaware that the entire virtual machine is a big don't file this way.

  • Is it possible to save the xp mode virtual machine?

    I was wondering if there is an image that I can back up so I did not reinstall every time I reformat

    Hello
     
     
    Yes you can do it manually.
    Here's how:
    1. open Windows Explorer and navigate to %USERPROFILE%/Virtual Machines. It is the default location of the files vmcx. You will see a Windows XP Mode.vmcx file. This XML file contains the full path to the files that make up your virtual machine. The default full paths are:

    %UserProfile%\AppData\Local\Microsoft\Windows virtual PC\Virtual Machines\Windows XP Mode.vhd

    %UserProfile%\AppData\Local\Microsoft\Windows virtual PC\Virtual Machines\Windows XP Mode.vmc

    2. When you browse to %USERPROFILE%\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines, you can see additional files depending on the State of the virtual machine (that is, is this hiberated or not). If the virtual machine XP Mode is put in hibernation, if these additional files will appear:

    Windows XP Mode.vmc.vpcbackup
    Windows XP Mode.vsv

    3. the vmc and vmc.backup files are XML files that contain full paths to vhd files. If you restore on a different path, you will need to modify the XML files so that all file references are accurate and consistent. Windows 7 does not a VMS-specific automated backup.

     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Host detects the virus that is ran in the virtual machine

    When I google search for "virus to test download" and open the 2nd link in my windows 7 VM, avast on my host computer is like VIRUS DETECTED. I'm guessing that this occurs because the virtual computer uses the internet hosts.

    PS: it was once my I.T. teacher told me that he was sure navigation in a virtual machine.

    Host antivirus can detect the test virus in the network traffic and also could detect when the VM saves on hard drive of the virtual machine (which, after all, is stored just as a set of files on the hard drive of the host).  Some antivirus programs scan even the memory used by all processes running, in which case it can also discover that the test virus from the data in the memory of the virtualization engine.  None of these situations are a source of real concern for the host.

    Navigation in a virtual machine is generally considered safe from the point of view of the host, but virtualization will do nothing to directly protect the OS itself invited to malware that it can capture.

    Note that VMware Workstation has a few features that deliberately to break the isolation barrier and could expose the host to a malicious client.  If you are worried about it, a good starting point to lock the virtual computer is to go in the settings of the virtual machine, choose the Options tab, make sure the shared folders is disabled (under Guest insulation), make sure that the Clipboard and features drag-and - drop are disabled.

    See you soon,.

    --

    Darius

  • Capture several layers of application on a virtual machine

    Another newbee question. I'm following the VMware Horizon Mirage App layer v4.0 capture guidelines on page 9 where he describes the process if you are going to use a virtual machine, so you can capture several layers of app. I followed steps 1 - create own reference machine, install Client Mirage and centralize the unit to a CVD of reference; 2 take a snapshot of the State of cleanliness; 3. in the MMC, use the launch App layer Capture (actually called Capture App layer in the commune of assistants, unless I'm mistaken) option... Here's where I hit a roadblock. Unit is a CVD of reference, the wizard takes me to select from pending devices, and I can't access the device but it is located in the area of reference CVD. The virtual machine itself also appears in Devices.Do assigned I must withdraw from somewhere? I'm confused !

    To capture an application tier, you must have 'reference' machine in a wait state. To capture a base layer, you must have the machine of 'reference' centralized as a reference machine. It's a little confusing. You can use the same machine to capture both types of layers. You can remove the reference CVD of inventory and it will appear in the expectation of devices.

  • Database SQL vCenter that is running on the virtual machine within vsphere

    Hey guys, I was wondering how many of you are running your database remote vcenter on a virtual machine inside your vsphere environment? We always ran the vcenter db on a physical remote outside the vsphere group box, but I am considering the upgrade to sql 2008 R2 and I already have a virtual sql server computer running within vsphere.

    Pro/drawbacks to be aware of the db running on a virtual machine?

    Thanks in advance

    Kevin

    We rotated our SQL database in a VM for a while now.

    Some advantages are for example the wide use of HA and the ability to easily extend if necessary resources. In addition, if you use backup as Veeam software a restore takes only a few minutes from a physical configuration.

    There are a few things when you have to keep in mind:

    -Make sure that your SQL VM database begins before your vCenter (the service does not start if it cannot reach the database), even if it can be fixed manually it might be something you want to keep in mind

    -If you use the distributed switches power risk since data is stored in the database, of course there are solutions for this (keep the traffic on a standard switch management)

    -If you use HA make sure you modify the priority of restarting HA for the virtual machine (you don't want a reboot suddenly)

  • Report to the size of the list of snapshots that are used by a virtual machine

    I'm looking for to add to my report to the size of all the snapshots that are currently used by each virtual machine.  For example, I'm already reporting on space put into service and used space - but how much space are using snapshots?   Is there a way to get this data using powerCLI?

    Thank you!

    Get-Cluster-name NOMCLUSTER | Get - VM | Select

    Name, MemoryMB NumCpu, Description, PowerState, ProvisionedSpaceGB, UsedSpaceGB, Version, VMHost, ResourcePool,

    @{N = "HDsizeKB"; E={($_. Hard drives | Measure-Object-CapacityKB property-sum). Sum}} folder,.

    @{N = "Datastore"; E={($_ | Get - Datastore). Name}},@{N="#snapshots '; E={($_ | Get - Snapshot). County}},

    @{N = 'Name of the OS'; E={$_. Guest.OSFullName}} | Export-Csv "C:\report.csv" - NoTypeInformation

    The cmdlet Get-SNapshot in PowerCLI 4.1 returns an incorrect value. See the size snapshot by Dimitar and Vitali.

    And they display a script, called getsnapshotsize - 1.ps1 that returns the correct value.

    You can use this script to your script as follows:

    (1) download the script and save it in the directory where your other scripts

    (2) call the script of the post in your script and use the size of return value

    Something like that

    Get-Cluster -Name clustername | Get-VM | select Name,MemoryMB,NumCpu,Description,PowerState,ProvisionedSpaceGB,
         UsedSpaceGB,Version,VMHost,ResourcePool,
         @{N="HDsizeKB";E={($_.Harddisks | Measure-Object -Property CapacityKB -Sum).Sum}},Folder,
         @{N="Datastore";E={($_ | Get-Datastore).Name}},@{N="#Snapshots";E={($_ | Get-Snapshot).Count}},
         @{N="OS Name";E={$_.Guest.OSFullName}},
         @{N="Snapshot size MB";E={(.\getsnapshotsize-1.ps1 $_ | Measure-Object -Property SizeMB -Sum).Sum}}     |`
         Export-Csv "C:\report.csv" -NoTypeInformation -UseCulture
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • 64 bit VMs in ESX/ESXi 4.0 that is running as a Virtual Machine in VMware Workstation 7.0.1

    I created an ESX4 host in VMware Workstation 7.0.1 as a Machine with 4 GB of RAM, 2 vCPUs and 1 (25 GB for installation) VMDK virtual and more later added 75 GB VMDK as an iSCSI LUN using openfiler.

    My vCenter Server runs as a Virtual Machine with SQL Express Edition 2005 DB.

    I want to install a Windows Server 2008 R2, which is a 64-bit as a virtual machine within the VM ESX4 embedded operating system. Is this possible?

    Hello

    as this comment by DOC from VMWare, in the 'internal' invited you will just be able to run 32-bit clients, never a 64 bit one.

    Best wishes / Saludos.

    Pablo

    Please consider to assign all useful or correct answer. Thank you!! - Por favor considered premiar any respuesta correcta o util. ¡¡MUCHAS gracias!

    Virtually noob blog

  • Command to list all the hard files that are attached to a virtual machine

    Hi people,

    I am documenting our infrastructure. I would like to a command that lists all the vmdk files and the virtual machine, they are attached. I'm sure that I've done it before, but I don't remember the command. Thank you

    in advance.

    Paul

    You could use Powershell and make a request to Virtual Center, if they are available:

    A basic example:

    SE connect-VIserver

    Get - vm | Select Name, @{Name = "VMDK disks"; {Expression = {$_ | get-harddisk | select filename}}

    / Rubeck

  • Uninstalling an application of the virtual machine

    I followed the instructions here:

    http://docs.BlackBerry.com/en/developers/deliverables/21877/Remove_app_cmd_line_1375416_11.jsp

    who says to run:

    blackberry-airpackager -uninstallApp bar_file_name -device IP_address
    

    However, when I ran the following, I got an error:

    C:\Program Files\Blackberry Tablet OS SDK\blackberry-tablet-sdk-0.9.1\bin>blackberry-airpackager -uninstallApp AIRHelloWorld -192.168.56.138
    

    Error: Unknown Option:-uninstallApp

    Which seems to be that I cannot uninstall the application I made.

    Thanks for your help.

    Hey moshek,

    to uninstall an application, you use the blackberry-deploy instead of the blackberry airpackager tool to uninstall applications of the Simulator. call the following command, and it should do the job:

    >"C:\Program Files\Blackberry Tablet OS SDK\blackberry-tablet-sdk-0.9.1\bin\blackberry-deploy" -uninstallApp -package AIRHelloWorld.bar -device 192.168.56.138
    

    Make sure that you are in the directory where the .bar file. hope that helps! Good luck!

Maybe you are looking for