none
CPU affinity mask for Hyper-V ?

    Question

  • Hello,

    Can we set CPU affinity for Hyper-V ?
    If we have 24 core on server, we want to use 23 core for Hyper-V, and 1 core for management .

    Regards,
    MVP for SQL Server / PASSJ board / COZAX Co, Ltd.
    Monday, February 16, 2009 11:44 AM

Answers

  • No, affinity is not a setting (like with VMware).

    The Hypervisor will take one core for tiself by deafult and then roundrobin the remaining resources.

    Also, the hypervisor shares in the resource pool a bit different than VMware.  In this paravirtualized model there is actually less overhead to the parent partition as the number of guests with Integration Services is increased, and as hardware vendors increase the virtualization functions within hardware.

    Brian Ehlert (hopefully you have found this useful)
    Monday, February 16, 2009 3:03 PM

All replies

  • No, affinity is not a setting (like with VMware).

    The Hypervisor will take one core for tiself by deafult and then roundrobin the remaining resources.

    Also, the hypervisor shares in the resource pool a bit different than VMware.  In this paravirtualized model there is actually less overhead to the parent partition as the number of guests with Integration Services is increased, and as hardware vendors increase the virtualization functions within hardware.

    Brian Ehlert (hopefully you have found this useful)
    Monday, February 16, 2009 3:03 PM
  • Hello, Brain.

    Thank you for your quick response.

    Best reagards,
    MVP for SQL Server / PASSJ board / COZAX Co, Ltd.
    Monday, February 16, 2009 3:15 PM
  • Does Hyper-V take a whole core just for itself? Or does that core also take VM workload? What about a single proc, single core processor - would that not even be able to run Hyper-V (assume it supported AMD-V etc)?
    Tuesday, February 17, 2009 7:25 AM
  • No, it does not take an entire Core for itself.

    that single Core is still shared throug the overlay of virtual processors.

    Brian Ehlert (hopefully you have found this useful)
    Tuesday, February 17, 2009 3:57 PM