Dedicate more CPU space to Virtual Machine

Hi,
I have an VM with 8 virtual cores dedicated to it. The physical VM has 8 cores and it's a Xeon CPU E5-2650.
However, when I am doing a stress test on the VM, the VM is getting really slow (normal of course) and it says CPU usage 100%.
But, when I check the physical CPU usage (hyper-V server 2012 core - Task Manager) it says well, maximum 4% usage.. and all my other VM's are still performing very good.
Is there a way to dedicate a much bigger part to a VM? I really need that option.
Thanks in advance!

I have responded to this quite a bit in this forum over the years.  (do some searches of the forum, you will find a lot of information).
1) how are you stressing the CPU?  If your CPU test is single threaded it will not perform well in a VM, no matter the hypervisor.
The CPU use in the VM is what the VM experiences, not the impact on the host.
The nuts and bolts are discussed there:
http://social.technet.microsoft.com/wiki/contents/articles/1234.hyper-v-concepts-vcpu-virtual-processor.aspx
What your VM is doing and how your application behaves (uses the processor) is highly relevant to the discussion.  As well as how you evaluate it.
Increasing weight allows your VM process thread to cut in line of other process threads, giving more CPU time, but having a negative impact on other VMs.  Reserve will have no impact until your hypervisor runs out of CPU processing power.  Affinity
also does not impact CPU scheduling.
Giving your Hyper-V Server a faster CPU will always give you a win.
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.

Similar Messages

  • How do we create cpu alerts on virtual machines?

    We are using SCVMM 2012 R2 and SCOM 2012 R2
    Under monitoring we can see the cpu load for individual instances of virtual machines Microsoft.SystemCenter.VirtualMachineManager.2012.VirtualMachine.PercentCPU
    Under authoring there doesn't appear to be a cpu counter for us to create overrides to add to an alert subscription
    We don't want to load the scom agent on each VM and access via e.g. target 'windows server 2012 operating system'
    Thanks
    David

    Hi David!
    1. You could create overrides directly from the perf.view, but:
    2. you cannot simply add alerting to a collection rule (of a sealed MP).
    3. I am able to see that perf. collection rule in the authoring pane, but again: see 2.
    4. You will need the Win OS MP and an agent on the VM if you'd like to monitor the CPUs. AFAIR there is nothing in the VMM MP itself for alerting on the VMs CPU perf.
    Cheers,
    Patrick
    Please remember to click “Mark as Answer” on the post that helped you.
    Patrick Seidl (System Center and Private Cloud)
    Website: http://www.syliance.com
    Blog: http://www.systemcenterrocks.com

  • Need more HD space for Time Machine

    I'm running out of space on my external drive that I use for TM, can I go in and manually delete old backups to make more room? Would doing this then screw up TM?

    TM should start automatically delete old backups to make room for new ones when it runs out of space. it will warn you about it the first time it needs to do it if you have the appropriate box checked in TM system preferences->options. DO NOT delete old TM backups from finder. you can delete old backups from TM interface but you shouldn't have to do it.

  • Windows server 2008 r2 virtual machine uses much less memory then it has assigned

    Guys,
    I had a virtual machine with windows 2008 r2 operating system, running sharepoint, on a server where it had 6gb RAM memory assigned.
    Now I bought a new server, which has 32 gb of ram. I moved my virtual machine there, and assigned 24gb of RAM.
    But after I started VM, in Windows Task Manager I see that system uses only about 6.5 GB of RAM assigned. That is not even close to 24gb, which it has available.
    Is there any power shell script or anything else available to increase virtual machine memory usage?
    Thank you. 

    Hi,
    I found a KB similar described with your issue- the Hyper-V host cannot allocate more memory to the virtual machine because there is not enough free disk space to extend the
    memory contents file, more detail symptoms please refer the following KB:
    Dynamic Memory allocation in a Virtual Machine does not change although there is available memory on the host
    http://support.microsoft.com/kb/2504962/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Multiple java virtual machines

    Hello,
    Is there any possibility to install more than one java virtual machines for OBIEE ,if so please tell me the process to follow to install.
    Thank you.

    Raghu,
    You can install multiple java instances in a single machine. But any java based application like OBIEE uses only one instance at a time.That is based on How you configured JAVA_HOME, PATH and CLASSPATH enviornment variables or registry entries for this.
    why you are looking for multiple java virtual machines?
    - Madan

  • There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.   Time: 30/05/2014 1:16:20 AM

    Recently, our mail server crashed at about 7pm one night, with the error 'There is no more space for virtual disk ServerName_2.vmdk. You might be able to continue this session by freeing disk space on the relevant volume, and clicking Retry. Click Cancel to terminate this session.'
    When we click Retry, the server starts up OK.
    There are no snapshots listed in Snapshot manager for any of the virtual machines on the host.
    There is also free disk space available on the host and for the VM with the disk errors.
    This happened at least three more times, often at bad times. Each time, we were able to click 'Retry' and the disk/system would allow the VM to start-up successfully.
    I checked the Forums, the VMware support articles and the internet as I had not seen this problem before. I have completed the VSphere 5.1 - Fast Track course and this issue was NOT covered in the training.
    Most of the advice on-line and even that on the VMware web-site was pointing to snapshots being the cause of this issue. There are no snapshots enabled and I cannot see evidence of snapshots ever being used.
    - We are running VMware vsphere (5.1.0) and there are (were) 4 virtual machines running on the ESX host. We are using the free version of VMware/ESXi.
    - The Hard disk types we are using for this Virtual Machine are 'Thin Provisioned'.
    - There are 4 [Thin Provisioned] Hard Disks for this virtual machine.
    - There are 6 CPUs
    - There is 20GB of RAM (memory)
    - The VM is running Windows Server 2008 R2 as the guest/VM operating system. It is an Exchange 2010 SP1 mail server. There is plenty of available disk space on all the drives. The [Exchange] log files are cleaned out regularly (automated).
    I decided to move one of our non-critical servers off this host and on to another host to see if this helped the problem. This took quite some time, as we are not using HA or vmotion, nor do we have VCenter Server...nonetheless, I finally managed to get the non-critical server on to another host (n.b. This was a much smaller machine with less virtual resources assigned to it).
    After moving the non-critical server off this host, we decided to monitor the Host and see if the issue resolved itself.
    I checked the host about 6-10 times a day, from first thing in the morning till last thing at night - monitoring the performance of not only the Virtual Machine, but the ESXi host also.
    There were no adverse performance issues. The only thing I did note, was in the Summary page on the ESX Host, under Storage, was If I right-clicked on the datastore and clicked refresh, then the free disk space would drop (ie from 140GB to 125GB).
    After monitoring the host and VM for about 2 weeks, we did NOT have another instance of the above error.
    Sorry for the long winded post, but I wanted to give as much detail given this error has been raised before and snapshots are usually blamed as the cause.
    My question is this:
    If the ESX host had plenty of available disk capacity and there were no snapshots enabled on the VM (or any other VM's on the same host), then why did our Virtual machine crash with the error that 'there is not more space for virtual disk Servername_2.vmdk'?
    How do we prevent this issue from happening if we don't know the underlying cause?
    I would greatly appreciate any advice or suggestions.
    If I have not provided enough info on the specs or environment, please let me know and I will provide more information.
    Thanks all,
    Kurt

    The type of storage is really based on your requirements, and your ability to withstand downtime.
    iSCSI as you are using with a NAS such as Synology or QNAP.  NAS Selector - Support - Synology - Network Attached Storage (NAS)
    I wouldn't use iSCSI for Exchange or any database.  It's a bit slow.
    Do you have a single physical host?  Then I'd probably to an external direct attached storage.  This would be a card inserted in your host server that gives you multilane SAS/SATA connectivity (www.techcable.com/SAS-SATA/SAS-SATA.pps) and an external disk enclosure/array.
    For multiple hosts to a single array, I recommend a fibre channel connection to a FC capable switch, and on to a FC connected array.
    We used to use a HP P2000 (on old G1), but it's since been retired.  Worked pretty well once firmware was upgraded.  http://www8.hp.com/us/en/products/disk-storage/product-detail.html?oid=4118559#!tab=features.  They can be connected via iSCSI, Fibre Channel or 6GB SAS so they are flexible and reasonably priced.
    Recommendations:
         Use RAID 6 with your large disk arrays.  With large disks there is a measurable failure rate when rebuilding a failed RAID5 array based on MTBF.
         Use smaller 15K disks in RAID 0+1 for speed on databases/Exchange.
         Use slower 7.2K disks in RAID6 for file storage.
    We are a small hospital and we have 3 VMware servers with dual CNA (FC and Ethernet in a single twinax cable) connections to 2 redundant Cisco Nexus 5K switches and then 4 Fibre Channel connections to an EMC VNX 5300.  It's extremely fast with about 50 virtual servers, but was quite an investment.  One thing we don't have to worry about is down time.  If there ever is an equipment failure, we have redundant everything, including power split between two UPSs.
    Our VNX has 3 tiers of performance.  3 100GB SSD "Fast Cache" in RAID 1 with hot spare, to keep the most used data ready, but it's not really a tier, however one could be built utilizing the same disks.  A second tier is performance tier with a 8 600GB RAID 0+1 and hot spare.  The third is a bunch of 7.2K 3TB disks in RAID6.  The VNX autotiers, placing data on disks depending on where it's needed.  The volumes are sliced and diced automatically in the background to make this happen and we never have to touch it.  I used a demo of Solarwinds Storage Manager to monitor performance for a while and the utilization was always low, meaning all data access was fast, througout the day.
    D

  • Query virtual machine used space

    Hi,
    I have 3 physical servers with some virtual machines... How can I query/check the space allocated to each virtual machine?

    Insaponata,
    Greetings, you could use the du command, i.e.
    du -ah /OVS/running_pool
    or
    du -ah /OVS/running_pool<Virtual Machine Name>
    or
    du -ch /OVS/running_pool
    or
    du -ch /OVS/running_pool<Virtual Machine Name>
    For more details about Oracle VM storage and storage repositories please review: http://itnewscast.com/chapter-6-oracle-vm-22-san-iscsi-and-nfs-backend-storage-configurations
    Respectfully,
    Roddy

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • Is it possible to have two or more virtual machines point to a shared instance of SQL Server 2008 R2 for systems administration?

    Hello All,
    I am the Systems Admin for a production box running SQL Server 2008 R2.  I have been ask to do the following and and trying to figure out if it's even possible.
    1. The Production Server is named ProductionA
    2. Create 3 Administrator accounts on ProductionA each with access to the SQL Server instance on ProductionA.  Use Standard SQL Server login for credentials. i.e. Username/Password and assign the role sysadmin.
    3. Install 3 Virtual Machines on ProductionA each with Windows 2008 R2 64 bit operating system.
    4. For each Virtual Machine, Install SQL Management Studio and write down the IP Address assigned to each VM.
    5. Using Remote Desktop Connection, connect to each virtual machine to be able to manage the SQL Server.
    Is this possible?  And, why am i doing it?  Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA.  Since I have to allow them to RDC into the box
    to manage the SQL Server, I figure why not create a separate VM for each one of them and they can RDC into those instead.
    Does this make any sense?
    Any tips are greatly appreciated.  The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
    Thanks for your help.
    M

      Because I DO NOT want the three people who will be having access to the production SQL Server to also have access to the primary host ProductionA.  Since I have to allow them to RDC into the box to manage the SQL Server, I figure why not create
    a separate VM for each one of them and they can RDC into those instead.
    Does this make any sense?
    Any tips are greatly appreciated.  The main reason for doing this is because the three people who will be accessing the box, I need to isolate each one of them and at the same time keep them off of the primary ProductionA.
    Thanks for your help.
    M
    Hello M,
    Since you dont want the 3 guys to have access to Production machine A.You can install SQL Server client .By client i mean SQL server management studio(SSMS) on there local desktop and then create login for them in SQL Server.Open port on which your SQL server
    is running for three of the machines so that they can connct.Now with SSMS installed on each machine each can connect to SQL server from there own machine.
    I would also like you to be cautious with giving Sysadmin privilege to all three of them ,first please note down what task they would do and then decide what rights to be provided.
    Your option will also work but you need to create 3 VM for that .Which is more tedious task.
    Hope this helps
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    I have a 160GB Hard Drive in my MBP and use VMWare Fusion and had a 60GB Virtual Machine running Windows XP. Deleted the Virtual Machine and CANNOT find the 60GB space I desperately need!  Anybody out there with a similar problem?  Help!

    Thanks - Of Course the first thing I checked and did.
    Disc Utility reads as follows:
    Capacity : 159.18 GB (159,182,127,104 Bytes)
      Format : Mac OS Extended (Journaled)  Available : 11.47 GB (11,472,896,000 Bytes)
      Owners Enabled : Yes  Used : 147.71 GB (147,709,231,104 Bytes)
      Number of Folders : 139,540  Number of Files : 511,832
    Activity Monitor(Disc Usage) shows something quite interesting.  Mac HD and Ramanan (Main User) - My hard drive is only 160GB!  Would the retired engineer gentleman please note as well.  Many thanks. Rams

  • XP mode on Win7 Pro x64, windows xp update/svchost pushes CPU to 100% in virtual machine.

    Installed xp mode on a win7 pro, dell 490 with xeon cpu. The install goes without error, win xp virtual machine loads nicely, I do not enable updates at the config during 1st startup. When Automatic update is enabled later control panel shows svchost is
    pushing the cpu to 100% and the update never completes.

    Hi,
    1. try to run XP in safe mode by F8
    2. then change Automatic update service to Manual or Disable.
    3.boot XP into normal mode and see weather its still 100%.
    thanks
    How do you start safe mode when running XP Mode in Win 7?  When you start XP Mode, the BIOS is hidden.  By the time the XP Mode window comes up, its already loading the Windows desktop.

  • Is it valuable for processor(CPU)  to use the instruction set of java virtual machine?

    I've got an idea that processor(CPU) would use an instruction set like java virtual machine instead of assembly language whose instruction includes MOV ,INC ,ADD AX, ....
    Thus this type of processor(CPU)  can support any java program just like Windows with a java virtual mache software package.
    Thus the operating system like Android, Windows Phone can be writen in Java. For embeding system with no operating system , programs  can also be writen in Java directly.

    Well, this is rather off-topic but… Sun once designed a Java-Core that was running Java natively, but they never went anywhere with it. Java code, when created  well, runs reasonably fast. It seems just that most of todays programmers don't know, what they're doing, when they're writing Java code.

  • Virtual Machine startup problem: Set CPU Cap: failed

    Hi,
    Recently, I have installed Oracle VM Server 2.2.2 on two servers having common Repository. I've configured 3 disks as repository.
    [root@ec-vs01 ~]# /opt/ovs-agent-2.3/utils/repos.py -l
    [   ] 692dbfde-9af4-49ef-9889-f02cb2e371e5 => /dev/sdc1
    [ * ] 0e06a940-cd25-4e4d-a4a0-93afc3832a00 => /dev/sda1
    [   ] 19101310-406a-4090-89ef-1be439e531dc => /dev/sdb1
    Intallation of VM Machine also ended up without any issues. (O/S OEL 5.5).
    When I restart the Virtual Machine after o/s installation, It runs for few minutes and stopped with the following error. ( Also, the console button is not active).
    Start - /OVS/running_pool/250_ec-vptst01
    PowerOn successfully.
    Update server -10.10.140.181
    Update Port - 0.0
    Update VM Status - Running
    Configure CPU Cap
    Set CPU Cap: failed:<Exception: failed:<Exception: ['xm', 'sched-credit', '-d', '250_ec-vptst01', '-c', '0'] => Error: Domain '250_ec-vptst01' does not exist.
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXXenVMConfig.py", line 2531, in xen_set_cpu_cap
    run_cmd(args=['xm',
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 92, in run_cmd
    raise Exception('%s => %s' % (args, err))
    >
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVMConfig.py", line 1108, in set_vm_cpu_cap
    if not rs.startswith("success"): raise Exception(rs)
    if anybody resolved this issue, kindly help me.

    Also, I've found the below.
    Even though the repos.py -l script shows 2 repositories, df -h is not showing any repository mounted on /OVS folder
    [root@ec-vs01 running_pool]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/cciss/c0d0p2 3.4G 982M 2.2G 31% /
    /dev/cciss/c0d0p1 99M 46M 48M 50% /boot
    tmpfs 291M 0 291M 0% /dev/shm
    none 291M 80K 291M 1% /var/lib/xenstored
    /dev/sda1 391G 8.4G 383G 3% /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00
    /dev/sdc1 196G 2.1G 194G 2% /var/ovs/mount/692DBFDE9AF449EF9889F02CB2E371E5
    /dev/sdb1 391G 2.1G 389G 1% /var/ovs/mount/19101310406A409089EF1BE439E531DC
    The Guest VM is created under /var/ovs/mount/0E06A940CD254E4DA4A093AFC3832A00/running_pool , whereas /OVS/running_pool contains nothing.
    ls -l /OVS/running_pool/ shows nothing.
    How to mount repository on /OVS folder ?

  • Time Machine drive reporting more and more disk space available

    OK, so I've been using Time Machine since 28-OCT-2007 and all my backups are present. I have watched my TMDrive (Buffalo 500GB Fire Wire) report as little as 20GB available and slowly over the past 30 or so days report 205.42 GB now available. Any sizable downloading I do is pointed at another external HDD and that is listed in the Do NOt Backup list. I understand how hourly and daily works, but to see such drastic swing in available disk space seems a bit odd. Has anyone else seen this?
    Message was edited by: brenodo

    Brenodo,
    As backups are thinned, you will see a reduction in the amount of space used on the TM drive. This is entirely normal. Keep in mind that TM is designed to maintain a "restorable" copy of your system, and all of your user files, past and present. This represents a discreet amount of data which is only added to in small increments, really... as you say, any large downloads are going to a dedicated external.
    While TM might temporarily use much more disk space to manage its backups, the thinning process will eventually weed out everything that is unnecessary, as you are now seeing. I wouldn't be surprised if you begin to see the free space being used again, at some point, and the cycle will begin anew.
    Scott

  • How do I create more space on Time Machine backup disk?

    How do I create more space on Time Machine backup disk?

    since time machine in Snow Leopard stops backing up when there's no more space on the disk,
    That is has not been my experience, and does not appear to be agree with this Time Machine documentation:
    Backup drive fills up
    As your backup drive begins to fill up to its capacity, Time Machine intelligently deletes the oldest backups to make room for newer ones (and will alert you if the "Notify after old backups are deleted" option is selected in Time Machine preferences).
    from : Mac 101: Time Machine

Maybe you are looking for