Correct allocation of the vCPUs for virtual machines

Hi all

We have a physical server with 4 x Quad Core XEON E7310 1.6 GHz CPU

VMware ESX 3.5

We have 3 VMs that are assigned to the server

VM1 (Production Server) as a result of config

4 vCPUs, 16 GB of RAM and works according to:

OS - Windows Svr 2008 R2 (64-bit)

MS SQL Server 2008 (64-bit) (a database with the data of a line and two newspapers file)

IIS7 with only a single application of ASP .NET (the App-based eXpress Foundation (XAF) from DevExpress) running in Classic .NET AppPool (a work process)

Connection string Web Application points to the database on the same server (local)

Web app has a userbase of around 250 users

VM2 (Dev server) is the same as VM1 except it has only 8 GB of RAM

Now 4 x 1.6GHz Quad Core CPU = 4 x 4 x 1.6 GHz = 25.6 GHz

VM1 received 16GHz (reserved) and can use available CPU if necessary.

Our problem is that when we don't have 10 users on VM1 it grinds to 80-100% CPU usage.

Usually just open the app on VM1 is slower than if I use a laptop as the server.

What can we do to improve the speed of VM1?

Thank you!

2 things.  DISC is your problem, not CPU.  It can run at 100% CPU, but it's probably because that the e/s DISK is queued up, and thus the CPU is waiting for data.

try to reduce the CPU at only 2 vCPU, not 4.  More CPU for physical machines working, but the virtual computer without CPU more due to the work of how virtual machines (the same problem applies to any product of virtualization).

Tags: VMware

Similar Questions

  • Require a process step by step for the migration of virtual machines to new VMware ESX hypervisor

    Hello

    I'm looking for the method step by step for the migration of virtual machines to new host ESX Migration both cold and hot.

    Scenario - I have two data centers running ESX host stand-alone (with VM) in Europe. I need to build the new ESX host in new Dataceter to Singapore.

    Need prerequisites, the methods available for migrate VMWARE virtual has new host ESX (in the new data center) with minimum downtime.

    It will be great if you can enumerate the markets or redirect me to documentation that I can use to create detailed steps as the target host compatibility check on VMs and so on.

    Please advice

    Concerning

    AVI

    The steps are correct. The virtual machine must be turned off (step 3).

  • Virtual machines, run extremely slow when the console is consulted 2 virtual machines Windows Server 2008 64-bit, Windows Server 2003 32-bit, 2 VMWare for virtual machine

    I'm in a difficult situtaition here.  I am the daily contact with a new client.  My linux guy, who is also my boss who is very busy, asked me to do some research trying to find answers for what's not on this server. We have a dual Quad Core 2.5 Ghz Lenovo server with 10 GB of ram.  2 500 GB hard drives are Raid 1.  We run Virtual Server VMWare 2 on a Debian with Gnome installation as a user interface for the side of things Linux.  Grub is the boot loader. There are two virtual machines running on the server.  The one machine that serves as a domain controller is a Windows SBS 2008 Server 64 bit, and the secondary machine has no responsibility domain.  The second machine is a Windows Server 2003 32-bit.  the 10 GB of ram 6 GB is allocated to the SBS server and 4 GB to the 2003 server.

    The problem I am running into is that everything is so slow, especially if I connect remotely to do any sort of administration on the network.  Some examples of issues I've noticed is that as soon as I log on the server via Remote Desktop SBS console management Windows Server spike to 80-95% CPU usage and it will not stop unless I close the management console.  Another instance is that if I open Backup Exec 12.5 on the SBS server it will kill the speed of the processor as well.  Long story short, there are a lot of machine to do what we need to do, but something is not configured right and non of us know what it is.  Another point to note is that the server has been in production for about 3 weeks, and the server seemed to have locked up just twice.  My professional guess is that over time, some chose thing is eating causing the crash of the memory.

    Sorry I do not have much technical insight on this topic, but this is the best I have to offer.  Any questions you all have, I'll ask my people and see if I can answer, but I could really use your help here.

    Thank you in advance,

    Heath

    2 things:

    1 you really need hard drives more than 2 in a RAID 1 for proper performance under load. More disks the better. Although I don't think that's what your problem is, he'll probably be the problem Next you will do.

    2. I don't know exactly where the configuration file is on your box of Debian for VMware Server, but you should consider adding the following options in the configuration file (on windows, it's the vmware 'config.ini'):

    prefvmx.minVmMemPct = "100".

    MemTrimRate = 0

    sched.mem.pshare.Enable = "FALSE".

    mainMem.useNamedFile = "FALSE".

    If you do some research, you can read about what these options (the largest is the memory page sharing - it should only be left on if you have a bunch of similar virtual machines running on the same box, that you don't have.) I honestly know why this is on by default, he kills the CPU when virtual machines are running different operating systems). These are the options that I now use standard in VMware Server deployments, with huge performance increases after you have added the. Just give a try.

    Edit: Also make sure that you have installed in your virtual machines VMware tools.

    Dimitri Rodis

    Integrita Systems LLC

    http://www.integritasystems.com

  • While trying to see Planner installation and operation, the test in local mode, the EXECUTION fails with message "Waiting for the number of virtual machines to register.

    While trying to see installation and operation Planner, the test in local mode with only 1 VM the EXECUTION fails with message "Waiting for the number of virtual machines to register.

    There may be a lot of problems in the desktop VM. Agent service see Planner is not running in VM Office. You can check in the event viewer to see what kind of error occurs. The most usual error missing file IP.txt c; drive or harness IP in the IP.txt produce if there is.

  • looking for a script to the list of virtual machines by datastore

    Someone at - it a script that lists each data store, then the virtual machines that are on it. Or maybe the list all virtual machines and data store or data warehouses is located in the virtual machine?

    Thank you

    This should do the trick for you.  In fact, it extends the computer object complete virtual with a property data store so you can still search the other aspects of the virtual machine.

    Get-Datastore. WHERE-object {$_.} {Name - like "DMX *"} | {ForEach-Object

    $dsname = $_. Name

    $_ | Get - VM | {ForEach-Object

    $($_ | Add - Member MemberType NoteProperty-name of store data-value $dsname - PassThru) | Select-object Name, host, Datastore

    }

    }

  • Use the diskette of esxi for virtual machines

    Hello
    I would like to set up a lab and I have hp g6 server but just with a single 600 GB sas disk
    is it possible to install esxi on it and also use it as a storage device for virtual machines on?
    I know that I can install esxi on a cool drive but if what I've said, it's possible I prefer to use that
    Thank you very much

    It's true.

  • Report on the ability of virtual machines VMware Cluster

    We started to evaluate Foglight for capacity planning and evaluation. One of the reports that I believe is interested in our leadership is the "ability of virtual machines VMware Cluster" report. I see that the report provides a value for the VMS remaining. I would like to learn a little more about this value and how is it calculated:

    1. What exactly a 'virtual machine' represents in these reports?
    2. Can a similar report to run using a specific type of server based on the allocation of resources or patterned after an existing VM wokload?

    We are a small, medium and large VM offering based on the allocation of resources. I would like to change the report to display the number of each type of virtual machine I have available... or pointer pointing to an existing virtual machine, and according to its resources and workload, determine how this server, I have available.

    It is based on the average size of the virtual machine in the cluster.  If you look at the dashboard of capacity management in the user interface, it can give you more details by cluster.  It is based on the average of the use of min/max/AVG across all virtual machines in a period given (usually 90 days).  This can not be changed today, but there is work to allow lets you specify a size of slot for something as small, medium, large, etc...

    This feature exists in the Foglight for virtualization, however Standard Edition.  It might be interesting to watch this, if you need it sooner.

  • 1 or 2 processors? 32 or 64 bit? for virtual machines

    I had a discussion with the network administrator about using 2 processors and OS 64-bit for virtual machines.

    It uses 1 proc and 32-bit on Proliant G5 servers for virtual servers ordinary.

    When it will be beneficial to use 2 procs and 64 bit?

    THX.

    Hello.

    When it will be beneficial to use 2 procs and 64 bit?

    It will be useful to use 64-bit when you have an application that you want to run 64 - bit, and it will be useful to add a second processor when you discover that a vCPU is not enough.  If by 'regular' virtual servers, you're talking low-end Windows servers, then the 32-bit single vCPU approach will be generally better.  Without knowing more about your applications or operating systems, it is difficult to give a more precise answer.

    Why do you think that you might need for 64-bit or 2 vCPUs?  Can you elaborate on what you put on foot?

  • Report on the number of virtual machines by datastore

    Hello

    I use vFoglight 6.6.2. I try to have a report generated every week that contains the number of virtual machines running in the data store. But I don't know how to create a table of edge/report for these details.

    request for expert assistance.

    The following query gives you so all virtual machines on the specified data store

    Using the following mandatory input parameters:

    {VMWDatastore}: type foglight - 5:VMWDatastore

    Select objects of type Machine virtual VMware in parameter {VMWDatastore}

    root of {VMWDatastore} / virtualCenter/virtualMachineCollection/virtualMachines

    where:

    ({VMWDatastore} to /datastores and)

    (/ vmState/current/value is equal to "receiving")

    Like query UI setup will allow you to use it as a dashboard of entry.

    Try around with the request and let me know if this help.

    Best regards

    hEINER

  • The Clean Up Virtual Machine - Fusion 7.1.1 progress window size

    Having a place in Fusion upgrade 7.0.1 for 7.1.1 in the VMware Tools update and Mountain Lion, size parameters > general window that opens click the button Clean Up recommended at the bottom of the VM library extends horizontally at the edge of the screen of the monitor (27 '' LED Cinema Display (, Mac Pro 5.1) or beyond, so there to drag to the left to reach the Clean Up Virtual Machine button. This happens on all Windows virtual computer I tried on. I use merge for quite awhile (version 2 and later) and have never seen that happen before. Fortunately, it is on a backup test drive so my boot partition, always running 7.0.1 is unchanged.

    Any ideas on how to fix this would be appreciated.

    You have long strings in the Notes field? If so, this is a known bug with a fix coming - the format code OSX on 10.8 a of bugs that are fixed in later versions. By changing the text to be shorter, and then reopening the settings pane, you can work around it.

    If it isn't, please join or send me a screenshot.

  • The substitution of parameters of the device when the cloning of virtual machines?

    Hello

    I'm trying to find out how I can substitute the disk space for a HARD drive or the network for an adapter in the cloning of virtual machines.
    I thought it should be in the VirtualMachineCloneSpec, but it doesn't seem to be an option for him. I forgot something?

    Thanks in advance.

    So it turns out that the code was perfectly fine, the problem is that in my lab I have always tried setting disk space on something weaker than what it was before that does not work.

    Thought, after verification of the documentation for Set-disc hard, as I wanted reconstruct this cmdlet to see what he's doing: Set - hard - drive vSphere PowerCLI cmdlets reference

    Thanks again for your help

  • Folder path as a VM property - for virtual machines in a paralytic

    Hello

    I used the new-viproperty of LucD script to create a folder for each virtual computer property in my inventory. It works perfectly well for virtual machines, but not for virtual machines in a paralytic as these do not have a 'record' in powercli property. they report a $null value.

    Would be much appreciated if someone can help me to modify this script so it creates a VM property for the VMS and VMs in a paralytic?

    http://www.lucd.info/2012/05/18/folder-by-path/

    01

    02

    03

    04

    05

    06

    07

    08

    09

    10

    11

    12

    13

    14

    15

    16

    17

    18

    19

    20

    21

    22

    23

    24

    25

    26

    27

    28

    New-VIProperty-Name'BlueFolderPath' -ObjectType 'VirtualMachine'-Value{

        param($vm)

        functionGet-ParentName{

            param($object)

            if($object.Folder){

                $blue= Get-ParentName$object.Folder

                $name= $object.Folder.Name

            }

            elseif($object.Parent -and$object.Parent.GetType().Name -like"Folder*"){

                $blue= Get-ParentName$object.Parent

                $name= $object.Parent.Name

            }

            elseif($object.ParentFolder){

                $blue= Get-ParentName$object.ParentFolder

                $name= $object.ParentFolder.Name

            }

            if("vm","Datacenters"-notcontains$name){

                $blue+ "/"+ $name

            }

            else{

                $blue

            }

        }

        (Get-ParentName$vm).Remove(0,1)

    }-Force| Out-Null

    Check if the new version works for you.

    New-VIProperty-name 'BlueFolderPath' - 'VirtualMachine' - value {ObjectType

    Param ($VM)

    Function Get-ParentName}

    Param ($Object)

    if($Object.) {Folder)

    $blue = get-ParentName $object. Folder

    $name = $object. Folder.Name

    }

    ElseIf($Object.) VApp) {}

    $blue = get-ParentName $object. VApp.ExtensionData.ParentFolder

    $name = $object. VApp.Name

    }

    ElseIf ($object - is [VMware.Vim.ManagedObjectReference]) {}

    $folder = get-VIObjectByVIView - MORef $object

    $blue = get-ParentName $folder. Parent

    $name = $folder. Name

    }

    ElseIf($Object.) Parent - and $object. Parent.GetType (). Name - as a ' file * ') {}

    $blue = get-ParentName $object. Parent

    $name = $object. Parent.Name

    }

    ElseIf($Object.) ParentFolder) {}

    $blue = get-ParentName $object. ParentFolder

    $name = $object. ParentFolder.Name

    }

    If ("vm", "Data centers" - notcontains $name) {}

    $blue + "/" + $name

    }

    else {}

    $blue

    }

    }

    (Get-ParentName $vm). Remove (0.1)

    } - Force | Out-Null

  • What is the open file Virtual Machine vCenter web console?

    What is the open file Virtual Machine vCenter web console?

    I have about 20 MV listed here and the rest under VMS.

    Thank you

    Dan

    Records are a method of setting permissions in VMware vCenter. They form a triage unit and behave as a logical separation. When you first add the hosts to vCenter and you have all the files, there will be a default folder created for you as Richardsonporto mentioned.

    Later, you can create new folders and separate the virtual machine by drag-and - drop of their.

  • Wonder average CPU for virtual machines

    I have a supermetric that gives me the average demand of CPU for virtual machines.

    It works as set below:

    avgN($R40:A2055,3) / avg($R40:A2030)

    R40 is the data center - A2055 is the attribute of MHz CPU demand.

    A2030 is powered on virtual machines in the data center.

    Is it possible for me to write this formula without having to divide it by the total number of virtual machines in the data center?

    Is 'average' looks should do.

    vCenter.jpg

    Fix.

  • The research of virtual machines in several VCs

    Hello

    I always connect with VCs several at a time looking for virtual machines (4 to 5 VCs).

    Even if I found a virtual machine, I need re search using the name of the cluster or host name to find the name of VC.

    So is it possible to get the virtual machine with the details in which VC he resides.

    I usually like this...

    Connect-viserver vc01 vc02, vc04 vc03-name of user-pass password

    Then use get - vm to find the virtual machine.

    We have no naming convention right to find the Victoria Cross using the Cluster name, the name of VM still host name.

    You can get the vCenter like this

    Get-VM |Select Name,@{N="vCenter";E={$_.Uid.Split(":")[0].Split("@")[1]}}
    

Maybe you are looking for