Confused by the strategy of allocation of ram ESX virtual machines

Hello

I have a "MS SBS 2003 R2 premium" production virtual machine running on ESX 3.5.0 build 123630: VM has 4 GB of allocated RAM.

On this virtual machine, all processes are running (IE exchange, sql server, antivirus, antispam, mail, archiving,... etc.) and some of them are performing badly (especially exchange and sql mail archiving database); While working on the optimization with the machine to a single application they analized the use of resources within SBS 2003 and told me that there is not enough RAM (only 300 M. By the way it seems to me that on an OS Server using a lot of free ram is a waste of resources, but it is another point...).

Looking at the windows Task Manager (see attached screenshots) is confirmed, but control use of RAM for RAM usage average VM (with infrastructure VI client) is between 1 and 1.5 GB during working hours (09:00 - 20:00).

I'm confused: If there are so many processes within the VM asking for memory, why ESX gives only a third of the RAM allocated to the VM? And as all the other 3 GB, are they paged to disk?

Thanks in advance to help my understanding.

Guido

Don't forget the vmkernel activiely tries to save on the memory usage - the tool is Transparent PAge Sharing - ability to the vmkernel to identify identical memory pages and store it once read only memory - so you could very easily have guest o/s of the virtual machine showing that it is using 4 GB but the esx server is only show that vm use - less

Now on your poor perfromance - what is the configuration of your server ESX - memory, CPU? How many virtual machines are hosted, and what are the respective configurastions - mem, # viretual UC? With a large file of the PAge check the performance graph and see how much memory ball is active, if any?

If you find this or any other answer useful please consider awarding points marking the answer correct or useful

Tags: VMware

Similar Questions

  • What is the type of object to use for virtual machine model in the Points of Extension?

    Hello

    I added my plugin point of extension vsphere.core. ${objectType} .monitorViews. My plugin is for all types of objects (vm, file, vApp, resourcePool, etc) except the model of the virtual machine. My understanding is that the vm object type would be required for the virtual machine template, but that doesn't seem to be the case. Am I missing something here? Should the plugin appear for the model of the virtual machine when I use the vsphere.core.vm.monitorViews extension point?

    Thanks in advance.

    Kind regards

    Ashutosh

    Sorry, I got confused by your original question. ExtensionPoint id you are looking for is the one for adding views a model virtual machine monitor tab:

    model.monitorViews vSphere.Core.

  • Cant be able to see the disc format option while creating a virtual machine

    Hello

    When I try to create a VM, I can't able to see options disc format (thin provision) not only on his arrival for all hosts host, clusters, data center in Vcenter and and all data warehouses. Before it was working fine yesterday, I'm not able to see. How do we enable this option. What is the cause of this problem.

    Please help me VMware Guru. Since we very request with limited resources, we have to reverse the If select layout slim brand new virtual machine.

    Work around: enabled storage profile in one of the cluster and I tried it but no luck

    All are allowed and showing same

    Recent change of him that activity is carried out in our end is added to the new data store.

    Please see the screen shot for your reference below.

    continue to the section "Select a disk" and then under create a disk task, you will have an option under "Supply of drive" to select the desired disc type.

  • Problem with the mouse and the network after the upgrade VMware Tools and hardware to virtual machine

    Hello world...

    I just upgrade my ESX 3.5 servers to vSphere 4.1. All this work is very well with the upgrade right now.

    After that, I tried to mise a niveau of VMware Tools and hardware of VM for my virtual machine and the problems started.

    I tried with two different VM (the two Windows 2003) and the problem appears for the two VM.

    I don't want to test another VM of the different operating system now, I'm afraid to go too far with update of Pentecost the problem I have now.

    I tried two VM to be sure that the problem is not only on a virtual machine.

    First of all, the mouse.

    My mouse has jerky movement. The button works, but sometimes I have to click several times to select what I want.

    I tried to uninstall the mouse in Device Manager and reinstall, but not really Pentecost improvement which (buttons works better, but... not so sure).

    Second problem.

    After you restart the server after VMmware tools and hardware virtual machine, the network link not working anymore.

    When I go to my network card configuration, IP settings are reset in DHCP mode.

    If I go again all my IP settings, Windows says:

    The IP address is hidden from the network and Dial-up connections

    folder because it is not physically in the computer or is a riser

    It does not work. If the same address is assigned to both adapters and

    they become active, only one of them will use this address. This may result

    in the incorrect system configuration. You want to enter a different IP address

    address of this adapter in the list of IP addresses for this card in the list

    Advanced IP address in the dialog box

    If I answer Yes to this, I have to enter a new IP address, and of course, this is not what I want to do.

    If I don't answer, the network working again.

    I think it is a strange message but the work of the vSphere maybe network now.

    Anyone have any idea why my work network and mouse as this upgrade after.

    All other VM that is not upgraded so far works great.

    Thanks in advance...

    (1) make sure that your hardware acceleration is safe enough. I got the upgrade down my hardware acceleration several times already.

    (2) sounds like the new drivers for your NIC cards took over and VMware is basically a new card NETWORK for you. Follow these steps to disable it:

    (a) open a command prompt

    (b) type (without quotes): 'set devmgr_show_nonpresent_devices = 1' and press ENTER.

    (c) type (without the quotes): "start devmgmt.msc"

  • Catch22, how to change the settings for VirtualCenter, running as a virtual machine

    I'm running as a virtual machine under ESX 3.5 VirtualCenter. I want to change the setting of this virtual machine, but of course, the only way to change many parameters of a virtual computer is to stop the guest OS. I just changed the type of NIC on all my virtual machines, except VirtualCenter, using this procedure:

    http://KB.VMware.com/selfservice/microsites/search.do?language=en_US & cmd = displayKC & externalId = 1007195

    I want to change the adapter for VirtualCenter to improve vmxnet as well. How to work around the Catch22 needing VC running to change virtual machines but requiring judgment VC to edit it?

    Laughing out loud

    Shut down the virtual computer. Open the VI Client and instead of the IP address / hostname of the VC Server enter the IP address / hostname of the ESX host. You must use an ESX account for it! If in doubt try then the VM VC is still under way.

  • Shares of RAM per virtual machine

    If a virtual machine is not in a pool of resources (except the default resource pool root for the cluster), it is assigned 1000 shares of CPU per virtual CPU.  How much stock RAM is it affected by GB of VRAM?

    "10 shares per megabyte of memory of the configured virtual machine."

    VMware vSphere 4 - ESX and vCenter Server

  • Questions of VLAN to the ESX virtual machine

    Guys,

    We run ESX on a R710 with 4 network ports and two virtual servers that it contains.

    We want a server VLAN 1 re-branded and the other to VLAN 2 from the actuall switch. Only problem is there is room for 1 VLAN because all of our physical network cards are already used. Here's the brerakdown.

    vmNIC 0 is for the management port (1 nic physical)

    vmNIC 1 is for VMS (1 nic physical)

    vmNIC 2 & 3 is for the iSCSI network (NIC physical 2)

    So you can see we have not more physical NIC left to assing one of these virtual machines to a VLAN different

    Any ideas? I created a virtual switch, but we of course no physical NIC to attach to it. When I tried to add the existing virtual machien nic, he warned me that the virtual machines will be moved to it. A little confusing, but how do I get this other server on one VLAN different?

    If you enter just one ID VLAN on the parameters of port group ESX will mark all frames leaving the portgroup with a small (4 bytes) 'tag' indicating the id VLAN. This tag will then be analyzed by the physical switch will then understand what VLAN, this framework needs to be sent in.

    However, the switch must be configured to accept incoming frames with certain tags. If this is not the case, most of the switches will drop frames with identification tags VLAN strangers.

  • vSphere sdk api to get the total memory available for booking of virtual machine

    What vsphere sdk api should I use to get the total memory available to make reservations for virtual machines?

    Here's what I see in the VI client,

    Click on hos-> Configuration:

    Memory

    Physics

    Total xx

    System xx

    VMS 3512,0 MB

    Service xx console

    Now, when I click on the resource allocation tab I see

    3348 MB memory reservation

    Memorey reservation used: 0 MB

    Unreserved memory: 3348 MB

    The question is what value is correct and which are programming API to get all these values (even if it is wrong)?

    If you are familiar with the vSphere API, the easiest way is to browse through the documentation of API reference: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/index.html and/or using the CROWD (object browser), once you explore a bit, you will begin to understand where some properties of what you see on the vSphere Client

    For the configuration of host memory, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.MemoryManagerSystem.ServiceConsoleReservationInfo.html

    To the memory of VM host accessible to the general public, take a look at: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourceAllocationInfo.html

    To get information "Resource allocation", you must get a reference to the list of local resources for your host: http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.ResourcePool.ResourceUsage.html#reservationUsedForVm

    Even if you do not have a "Resource Pool", there is a defect which still exists. This should get your started

    If you use the VI of Java, you can take a look at the VI Java Browser: http://www.doublecloud.org/2010/02/22/vijava-browser-a-great-tool-to-recommend/

    You must also follow Steve Jin blog (author/creator of connections of vSphere Java open source VI)

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • How to reset the administrator password in my Windows XP Virtual Machine

    I just created a Windows XP virtual machine and have been using it without any problem.  Today, I started the machine and he asked an administrator password.  I believe that I have not set up one that I've never been asked before.

    How can I reset my password or I have to rebuild a new machine?

    Can I use a password reset utility?

    Thanks in advance for any help.

    Kind regards

    Doug U - M

    If an empty password does not work then you probably have to rebuild the virtual machine. This time, I recommend adopt you the practice of setting up a second admin account immediately and make a note of the password. It's the same when you buy a new car: you get at least two sets of keys.

  • Report on the vmdk files that make up a virtual machine

    Hello
    Is it possible to create a report/dashboard that would map a virtual machine to its VMDK files in vFog Pro 6.0?
    Example: vmname - data name/ID - vmname.vmdk, vmname1.vmdk store...
    THX

    samardak,
    I think it's possible to pull this information from vFoglight. SOM of our API calls should remove this information of the Victoria Cross.
    That said, it would be wise to either contact your landlord account for assistance in the creation of this report. Your account owner can facilitate the resources needed to help you with a personalized report. If you don't know who is the owner of your account, you can contact support, and we can refer you to the right contact person or group.
    -LM

  • I had the opportunity to see all the drives in windows 7 and XP virtual machine on the same screen. He suddenly disappeared, and I need.

    As I set up my computer with Windows 7 Professional and XP virtual machine, I could see all the readers, W7 and the virtual machine on the same screen. I can't do now for some reason any. All I can understand what is is past is that I got a page long list of automatic updates of W7 and some XP updates and as far as I know, the current page of readers has disappeared since then.  I need this feature if I can transfer files between W7 and XP because some of my programs are in one program of windows. I have nothing special when I installed XP to achieve this functionality, so I really don't understand what it controls.  How can I get that back?

    I have solved my problem by trying everything that moves. Here are my steps:
    -Open Virtual PC and minimize it
    -In the Windows 7 machine, click Start click all programs
    -Select Windows Virtual PC
    -Select Windows Virtual PC (in the drop-down list)
    -When the window opens, right-click on Windows XP Mode
    -Select share >
    -Select the homegroup (read/write)

    -Minimized open Virtual PC
    -Select my computer
    Windows 7 disks will be under other

    I hope this works for you also. As I said, it worked like this until I had a huge list of automatic updates of Windows 7 and XP more some updates. Apparently, one of them cut something.

    Even a blind squirrel finds an Acorn once in a while!

  • Allocate multiple cores of the only host for CPU on a virtual machine

    Hello

    You don't know if it is possible, but could find is not online.

    An application on my virtual machine uses only a carrot and I want to accelerate.

    Add more cores on this virtual machine is meaningless, to that effect, I would like to allocate multiple cores of the host that will act as a single core on the virtual machine.

    Is this possible?

    Thank you

    Herman

    As already stated above, this is not possible, and you have two options:

    1 buy a new CPU with a clock higher;

    2. that your application works with multiple processors.

  • Advantages and disadvantages of the use of the same network card to the network management and production (all my virtual machines) VLAN?

    Hello

    I have an ESXi. The management network and the virtual machines vlan through the same network adapter.

    What the disadvantages are to do?

    Can you help me please?

    Thank you in advance,

    Kind regards

    Garish

    Well well, in this case. This is a perfect case of SPOF, try to reach NIC teaming to avoid this.

    At least two cards physical network is necessary in your hardware ESXi host to do.

    Download an official guide of VMware Networking from the following URL, it has got everything you need and much more.

    http://pubs.VMware.com/vSphere-55/topic/com.VMware.ICbase/PDF/vSphere-ESXi-vCenter-Server-552-Networking-Guide.PDF

  • The Exchange 2010 on Esxi 5.0 virtual machine snapshot

    Dear Experts,

    We have Exchange 2010 VM under windows 2008 R2 on Esxi 5.0. I need to make the updates of windows on this machine. I want to inform if it is okay to take instant Exchange 2010 machine before performing windows updates and then delete the snapshot once the updates are performed successfully, OR it is not good to go for the snapshot and back problems due to the behavior of the application exchange 2010 I/O.

    Please let know us your opinion.

    Kind regards

    Jocelyn

    But by the way in this case once the updates are successful and we want to remove the snapshot that we took earlier by turning off the virtual machine, to remove again he must turn off the Exchange 2010 VM?

    No, you don't have to. turn off the functions of the virtual machine as a precaution to ensure that you capture a consistent instant State of the virtual machine and it is the system of files/databases, in the cases where you may need to restore the virtual computer. It is not necessary when the snapshot is deleted.

    Towards the end of the removal of snapshot operation, the virtual machine will be soon stun/unstunned to merge the last exceptional blocks into the basic disk. This basically any time a break the VM to stop him from delivering IO and the creation of delta data more, but it's transparent to the client (similar to a vMotion). You can see a loss of ping or two, or clusters of DAG can initiate a failover the virtual machine is a little inaccessible, but it should be no. impact on or be heard by the customer.

    Merging delta of the snapshot in the basic disk can take a long time, depending on how big the delta grew at the same time and the amount of data continues to be changed upon removal. The process will put some additional IO load on the storage, so I recommend you usually do the delete operation during off-peak hours. Also, make sure that you have enough free space on the data store to meet the growth of delta file.

    If we don't take any snapshot for this virtual machine, we can also directly proceed the updates of windows as we do in the event of physical Exchange Server, right?

    Yes, there is no difference for physical systems in this regard.

  • How can change the end of thick disk when a virtual machine has been placed on the disk?

    After you have moved the virtual computer to another stage, chose the thin disk bad. Now, the virtual machine cannot start. the error message says that it must be thick for clustering. So, I need to change it back if possible. Then I moved it back and thick chosed. But, after that, I got a same error. So, after you move, the atatuse disk was not be changed. Is it a way not both directions? How can change the staus thin to thick?

    Thank you!

    George

    Hello George,.

    You can also convert virtual disks in eagerzeroedthick from the command line.

    vmkfstools-j VMname.vmdk allows to convert a thin disk in eagerzeroedthick

    vmkfstools k VMname.vmdk that will do it on a thick disk

    It can also work for a thin disk, click with the right button on the vmdk in browser data store, and then click 'inflate '.

    André

Maybe you are looking for