Why does increasing logical processors in Hyper-V for virtual machine increase performance.

To my understanding, virtual machines (assuming relative weight is even) get an equal share of the processor. When the VM is given some processing time, it shouldn't matter if the VM is seeing a single core for it to use or multiple cores, since
the processing comes out of an array of processors on the hyper-v host regardless. However, when I set the "logical processor" setting from 1 to 4 in hyper-v for a particular VM, I see a huge performance increase.
Specs on my current setup are approximately: Hyper-V host has 32 gb ram, 24 logical processors (wrong word?), a few TB of space.
VM's are allocated 6 gb ram, 1 or 4 cores, a few hundred GB of space and running 2008 R2.
I've experience a similar thing on past Hyper-V setups.

Virtual machines in every hypervisor that I know of are able to use additional virtual CPUs on which to schedule additional concurrent threads of execution.
It's exactly that layer of abstraction between physical machine and virtual machine that makes it not work the way you describe. The VM is
not aware of how many cores the physical machine has. The VM does not "see" the physical CPUs (or cores) on the physical machine. The hypervisor gives the VM how ever many virtual CPUs, and the guest OS uses those virtual CPUs to schedule additional concurrent
threads... The total number of virtual CPUs the hypervisor hands out to the virtual machines can even exceed the number of physical CPUs/cores in the machine.
Said another way, a virtual machine, when assigned a single vCPU, schedules its threads as if it only had one CPU. It doesn't matter how many cores are in the underlying physical machine. (Though it is worth noting that the physical machine may schedule that
one VM thread on one physical core for one thread quantum, or time slice, and then run it on a different physical core the next time it's scheduled to run. The virtual machine has no idea any of that is happening though. All it knows is that it can only schedule
one thread at a time, one after the other, because it only has one virtual CPU.)
And let's be very clear about our terms here. You assign vCPUs, or virtual CPUs, to VMs, not "cores". Cores (by which I assume you mean physical processing units that share a single physical socket) do not equal vCPUs. There is a layer of abstraction between
them. If a VM only has 1 vCPU assigned to it, it can only schedule one thread to run at a time. That is why your VM runs faster with 2 -4 virtual CPUs assigned to it - because it is now able to schedule more than one thread to run concurrently.
However, there is definitely a law of diminishing returns here, as an excessive number of virtual CPUs incur a higher and higher overhead cost in
things like synchronization, etc.
There are slight differences between how Hyper-V and VMware hypervisors schedule virtual machine threads for execution, and they differ in their approach to physical resource "oversubscription," but this is a good general concept to start with.

Similar Messages

  • Why does my Logic Icon have a question mark over it and will not boot up??

    Why does my Logic Icon have a question mark over it and will not boot up??

    Because it was moved, renamed, or deleted, and needs to be put back or reinstalled.
    (107320)

  • Why does the hdmi adapter(purchased from apple for $40) no longer mirror my iPad 2?

    Why does the hdmi adapter(purchased form Apple for $40) no longer mirror my ipad 2?  If ios6 prevents this, will they return my money?

    Does this involve iPhoto in any way? I believe you need to post in a different forum - and since these are strictly uuser to user forums answers about what Apple does or will do are not likely nor reliaible - you need to contact Apple for Apple answers
    LN

  • Why does Adobe believe Australians should pay more for software?

    Why does Adobe believe Australians should pay more for software?
    For Photoshop and premier elements bundle in the USA price is USD $119.99
    For Australia AUD $185.00 which at the current exchange rate of 1.067 is USD $173 or 44% more.
    Thanks Adobe.

    seeing its only a software download, then why should we have to pay $15 more for the same product? we already are charged extra for music now we're being slugged for software as well.... maybe an apple exec could give me a reason on this question...
    This is a peer-to-peer forum. If you want a response from Apple, you would have to contact them directly with such a question. A better question might be what are the direct and indirect duties and fees (Goods and Services Tax, Import Tax/Tariff, sales taxes, etc.) assessed by the Australian Customs and Border Protection Service and/or local tax agencies and/or municipalities for intellectual properties imported electronically. There may be quite a few agencies wanting a piece of your pie.

  • Why does siri only have business and maps for U.S and not Ausstralia?

    why does siri only have business and maps for U.S and not Ausstralia?

    what does this mean ?
    Beta means it is unfinished, not fully featured and may have bugs.
    so is it not possible for siri to tell me the weather, and maps and businesses for Australia?
    That's correct. Nor will it do it for me in the UK. As it say's in the Siri FAQ I linked to:
    "Maps and local search support will be available in additional countries in 2012."

  • Why does my laptop use a proxy server for mozilla or chrome when i check in internet explorer it sais my system isnt but it is it jumps back to a proxy server in mozille when i tick no proxy ?? help please im not wizzy thanks

    Why does my laptop use a proxy server for mozilla or chrome when i check in internet explorer it sais my system isnt but it is it jumps back to a proxy server in mozille when i tick no proxy ?? help please im not wizzy thanks

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.com/kb/Preferences+are+not+saved

  • Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    I have the latest operating system, but can't get my printers added. Why does the software update say that drivers for my printers are not available? I have the drivers installed from the CD but can't add the printer because it wants to go through software update.

    It's pretty difficult to offer suggestions when you say nothing about your Mac, the version of Mac OS it's running, or the models of printers you have. This forum, however, is intended for questions about old, pre-G3 hardware, so unless you are asking about an very old Mac, this is not the forum where you'll be most likely to get help with your problem. I'd suggest you ask this question in the forum for your model of Mac or version of Mac OS X it's running. You'll be more likely to get assistance there, assuming you provide sufficient detail for anyone to make a diagnosis of the problem.
    Regards.

  • With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?

    With "Do Not Disturb" active, why does the iPhone beep when plug in for recharge?
    I usually go to bed after my wife. I have the Do Not Disturb set for 11 pm to 7 am, and I can see the moon symbol.
    So why when I go to bed at midnight and plug in my iPhone to recharge do I get a LOUD BEEP?
    My wife is banning my phone from being next to my bed and an alarm clock.
    To me it seems that the "Do Not Disturb" should turn this beep into a vibrate.

    section2i:
    If that is true, then you should file that as a bug using the link above:
    If I am reading what you are saying correctly, you are saying that when vibrate is 'off', and you turn on the phone and plug it in that a vibration occurs, and that it is not respecting the vibrate 'off'.
    That would be a slightly different issue from what I am asking about (Do Not Disturb), and would probably need a separate bug report.

  • How does Sharepoint 2013 Server farm using BLOB data, Hyper-V with virtual machines storing the BLOB data?

    Hello Community
        A Sharepoint 2013 Server farm created on a physical server
    stores it's documents in SQL Server according to how SQL Server is setup.
        If a Sharepoint 2013 Server farm is using Hyper-V and Virtual machines
    how is BLOB data stored ?  
        Thank you
        Shabeaut

    Are you looking to use Remote Blob Storage? or RBS of SQL with SP?
    It is going to be same way as it is configured for physical server.
    Thanks, Ashish | Please mark a post helpful/answer if it is helpful or answer your query.

  • Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE).

    I have a 3 node cluster that has replica setup to replicate to another cluster off-site.
    Suddenly one of the servers is not replicating with the error:
    Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE). (Virtual Machine ID CC0FD4CC-F9B7-4C68-ABE8-B7D52A87899F)
    All other servers are replicating fine so there cannot be a permissions or connectivity issue between the 2 clusters.
    This server has 2TB of data so I'd rather not have to start the replication again.
    Does anyone have any pointers?
    Thanks.

    Hi drensta,
    Based on my knowledge , "hyper-v replica broker " is needed for failover cluster replica .
    Here is a link for "Why is the "Hyper-V Replica Broker" required?"
    http://blogs.technet.com/b/virtualization/archive/2012/03/27/why-is-the-quot-hyper-v-replica-broker-quot-required.aspx
    Hope this hleps
    Best Regards
    Elton Ji
    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.

  • SPLA licensing for Virtual Machines & Microsoft Hyper-V Server 2012 R2 ( Free Edition )

    How to report Virtual machines running on Microsoft Hyper-V Server 2012 R2 ( Free Edition ). Please see the below details.
    I have Server with Xeon E5450 (1 Socket , 4 Cores & 4 Logical Processors)and running Microsoft Hyper-V Server 2012 R2( Free Edition) on it Now I have created some VPS with different config
    including virtual processors. My question is how many licence i have to report and core os is free. 
    Akshay Pate

    Hi Akshay Pate,
    Hyper-V Server 2012 is a FREE (yes, completely free!) purpose-built product that includes the core of Windows Server 2012 and Hyper-V. 
    The result is a streamlined Type-1 hypervisor that is optimized for remote management and provides the same virtualization scalability and high availability features as the Hyper-V role in the full version of Windows Server - including up to 320 logical
    processors per Hyper-V host, up to 4TB of physical memory, Live Migration, Storage Migration, Virtual Machine Replication, Clustering and more!
    More detail information please refer the following article:
    Building a Private Cloud VM Compute Foundation with the FREE Hyper-V Server 2012
    http://blogs.technet.com/b/keithmayer/archive/2013/04/05/getting-started-with-hyper-v-server-2012-hyperv-virtualization-itpro.aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Does OS installed through boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?

    I am planning to buy new PC for my faculty needs and this time I am thinking to buy Apple laptop like Mac book Pro 13" or so ( I owe already IPhone and Ipad 2)
    To make final decision I need few information . These are:
    1. May I use Boot Camp or similar utility software to install Windows 7 OS next to OS X Lion, or use some kind of virtual box software to create virtual machines with diverse guest OS in them like Windows , Linux etc.?
    2. Does OS installed through Boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?
    3. May I use the same disk partitions to access to the files regardless if I am using Windows 7 or OS X Lion operating system?
    4. Is there full compatibility between Microsoft Office under OS X Lion and Windows 7 M. Office?
    5. What is general user experience with OS X Lion operating system comparing to Windows 7?
    Thanks for  sharing your experience with me.
    Adnan S

    adnans wrote:
    I am planning to buy new PC for my faculty needs and this time I am thinking to buy Apple laptop like Mac book Pro 13" or so ( I owe already IPhone and Ipad 2)
    To make final decision I need few information . These are:
    1. May I use Boot Camp or similar utility software to install Windows 7 OS next to OS X Lion, or use some kind of virtual box software to create virtual machines with diverse guest OS in them like Windows , Linux etc.?
    2. Does OS installed through Boot camp or in virtual machine has access and full control of the peripherals like native OS X Lion?
    3. May I use the same disk partitions to access to the files regardless if I am using Windows 7 or OS X Lion operating system?
    4. Is there full compatibility between Microsoft Office under OS X Lion and Windows 7 M. Office?
    5. What is general user experience with OS X Lion operating system comparing to Windows 7?
    Thanks for  sharing your experience with me.
    Adnan S
    1. Yes. You can install Windows 7 natively using Boot Camp Assistant or you can install Windows 7 in a virtual machine using Parallels, Fusion, or VirtualBox
    2. If installed using Boot Camp Assistant Windows 7 uses all your computer's resources just as OSx does. If installed using a VM Windows 7 will share the computer's resources with OSx.
    3. A Boot Camp partition is separate from the OSx partition. The VMs allow sharing of files across partitions since both OS are running at the same time.
    4. No, not 100%.
    5. Too broad a question. Be specific about what feature you are asking about or search the Internet for comparisons. I use both and find they both work well.

  • Can a SQL Server Failover Cluster Instance (FCI) be Implemented Between Two Hyper-V Hosted Virtual Machines?

    I haven't had the opportunity to implement a SQL Server Failover Cluster Instance (FCI) for over 10 years and that was done with two physical, identical database servers way back in the day of Windows Server 2003 and SQL Server 2000 (old school).
    Can a SQL Server 2008 R2 Failover Cluster Instance (FCI) be implemented between two Hyper-V hosted virtual machines? The environment in question already has Windows Server 2012 R2 Hyper-V hosts in place, so I'm just looking to see if this is even
    possible and/or supported when utilizing virtual machines.
    The client in question is currently using SQL Server 2008 R2 instances running on Win2008R2, Win2012, and Win2012R2, but I'd also be interested how this can be done or not with SQL Server 2012 or 2014 as well. Thanks in advance.
    Bill Thacker

    Yes, it can be done with Hyper-V guests. In fact, with Windows Server 2012 R2 Hyper-V, guests can use the Shared VHDX feature for shared storage used by Windows clusters. The guests can run Windows Server 2008 and higher provided that the Hyper-V Integration
    Services are installed to support Shared VHDX. The only challenge here is making the Hyper-V hosts highly available as well, running it on WSFC.
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course

  • My backup hard drive does not have enough space for time machine to perform a back up even after erasing entire contents of bu hard drive

    My backup hard drive does not have enough space for time machine to perform a back up even after erasing entire contents of bu hard drive.  The hard drive has been in service for almost two years performing this function with no sign of failure.  How do I adjust time machine perameters?

    The only way to limit the size of the backup is to exclude data from the backup, which you can do in Time Machine preferences.
    If you use multiple browsers, have you tried clearing your browser caches? However, that's just a stop gap if it works. You either need to limit what you backup or get another drive.

  • Hyper-V failed to enable replication for virtual machine 'Machinename': Incorrect funciton. (0x8007001)

    When enabling replication on several VM's, I receive Hyper-V failed to enable replication for virtual machine "virtualmachinename": Incorrect funciton. (0x8007001). However this error doesn't happen to all VM's and it isn't related to any
    particular host.
    I've traced this down to a VSS error, however when running ">vssadmin list providers", I receive the following indicating there are no errors:
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) Copyright 2001-2012 Microsoft Corp.
    Writer name: 'Task Scheduler Writer'
       Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
       Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
       State: [1] Stable
       Last error: No error
    Writer name: 'VSS Metadata Store Writer'
       Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
       Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
       State: [1] Stable
       Last error: No error
    Writer name: 'Performance Counters Writer'
       Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
       Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
       State: [1] Stable
       Last error: No error
    Writer name: 'Cluster Shared Volume VSS Writer'
       Writer Id: {1072ae1c-e5a7-4ea1-9e4a-6f7964656570}
       Writer Instance Id: {fab685fb-d333-4744-b46a-c63fc6360737}
       State: [1] Stable
       Last error: No error
    Writer name: 'Microsoft Hyper-V VSS Writer'
       Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
       Writer Instance Id: {5583acc3-a218-4ce6-bce9-93ff551ad8aa}
       State: [1] Stable
       Last error: No error
    Writer name: 'System Writer'
       Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
       Writer Instance Id: {dd5f1635-d7ce-434b-84f7-9aaf216d5339}
       State: [1] Stable
       Last error: No error
    Writer name: 'Cluster Database'
       Writer Id: {41e12264-35d8-479b-8e5c-9b23d1dad37e}
       Writer Instance Id: {0a0f16ab-b57a-4403-9059-1ea7aa3abc90}
       State: [1] Stable
       Last error: No error
    Writer name: 'ASR Writer'
       Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
       Writer Instance Id: {ce09aaff-1515-4240-b5a5-8c2710a4163a}
       State: [1] Stable
       Last error: No error
    Writer name: 'Shadow Copy Optimization Writer'
       Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
       Writer Instance Id: {faee5f76-086d-454c-afdb-4f8391c0ed7d}
       State: [1] Stable
       Last error: No error
    Writer name: 'BITS Writer'
       Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
       Writer Instance Id: {2b649ed6-9451-40d8-b45d-e11f171aca87}
       State: [1] Stable
       Last error: No error
    Writer name: 'Registry Writer'
       Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
       Writer Instance Id: {3cd0e01a-62a9-4ba4-b6dc-277a66719ae0}
       State: [1] Stable
       Last error: No error
    Writer name: 'WMI Writer'
       Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
       Writer Instance Id: {f10f17aa-c8e7-42ee-84df-ed2bbf3ac187}
       State: [1] Stable
       Last error: No error
    Writer name: 'COM+ REGDB Writer'
       Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
       Writer Instance Id: {45e94e87-c253-45d5-942a-462f3fece288}
       State: [1] Stable
       Last error: No error
    The providers I'm using are:
    Provider name: 'Microsoft CSV Shadow Copy Helper Provider'
       Provider type: Software
       Provider Id: {26d02d81-6aac-4275-8504-b9c6edc5261d}
       Version: 1.0.0.1
    Provider name: 'Microsoft CSV Shadow Copy Provider'
       Provider type: Software
       Provider Id: {400a2ff4-5eb1-44b0-8a05-1fcac0bcf9ff}
       Version: 1.0.0.1
    Provider name: 'Microsoft File Share Shadow Copy provider'
       Provider type: Fileshare
       Provider Id: {89300202-3cec-4981-9171-19f59559e0f2}
       Version: 1.0.0.1
    Provider name: 'Microsoft Software Shadow Copy provider 1.0'
       Provider type: System
       Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
       Version: 1.0.0.7
    Provider name: 'Dell EqualLogic VSS HW Provider'
       Provider type: Hardware
       Provider Id: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
       Version: 4.6.0
    Has anyone run into this before?
    -Jeremy Houp

    Hi Jeremy,
    Hyper-v replica broker is needed if you want to enable replica for hyper-v cluster .
    Please refer to following link:
    http://technet.microsoft.com/en-us/library/jj134153.aspx
    Also:
    http://blogs.technet.com/b/yungchou/archive/2013/01/10/hyper-v-replica-explained.aspx
    Best Regards
    Elton JI
    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.

Maybe you are looking for