none
Best Practises for configuring server 2016 RRS feed

  • Question

  • Hi ,

     I bought a Fujitsu server  with Intel Xeon processor , 4 cores,  32Gb RAM ,  2TB Storage (4 disks) and 2 network cards. 

    I need to configure  Host server with Windows server 2016 and need to configure HyperV . I need 2 VMs , and RAID configuration for Storage. 

    What is the best practice to configure this , to get best performance  . 

    How much Processor, RAM and Physical memory can be allocated  for each VM . 

    Which type of load balancing is good  (Active-active or active -passive) for network. 

    Thanks 


    Wednesday, June 3, 2020 4:18 PM

Answers

  • That's a lot of RAM for those VMs, but fair enough.

    Yes, I would recommend a RAID-1 for the Hyper-V host management operating system, and either RAID-5 or RAID-10 for your VMs, RAID-5 is the most commonly used one.

    Regarding the CPUs, Hyper-V never assigns real physical processors to VMs, vCPUs (virtual CPUs) are not physical CPU cores, in other words a physical CPU core cannot be assigned to a VM.

    What a vCPU really is, is the maximum number of CPU threads that a VM can run at any given time.

    The number of vCPUs can exceed (and most likely will) the number of physical CPU cores in the Hyper-V host.

    So how many vCPUs should you assign? Well this depends on your applications/roles running on the VMs, for a DC I would go with 2x vCPUs, maybe even 1x vCPU is enough, for the other you could configure between 2-4x vCPUs.

    Here's yet another excellent article from Eric describing this:
    https://www.altaro.com/hyper-v/hyper-v-virtual-cpus-explained/


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by sharonswaroop Saturday, June 6, 2020 4:58 PM
    Friday, June 5, 2020 11:26 AM

All replies

  • Hi,

    You can follow along here:

    95 Best Practices for Optimizing Hyper-V Performance
    https://www.altaro.com/hyper-v/best-practices-hyper-v-performance

    Hyper-V Configuration Best Practices
    https://www.vembu.com/blog/hyper-v-configuration-best-practices

    Best regards,
    Leon


    Blog: https://thesystemcenterblog.com LinkedIn:

    Wednesday, June 3, 2020 5:02 PM
  • What's your VM's work load? Without knowing that no one can give you any reasonable answer.  Generally, you'd start low and then add resources as needed.  Over-committing or over-assigning resources generally reduces performance in VMs.  A domain controller VM would need 4GB of RAM and 1 vCPU.

    You also need to leave RAM and CPU resoources for the host.

    Four cores and 32GB are very low specs for a VM host.

    What type of storage, SSD, HDD, etc?  Unless they're SSDs they should be in RAID10, 2TB HDDs are too large for a RAID5 array.

    Networking, you'd assign one NIC to the host for management and then use one NIC with a virtual switch for the VMs

    Wednesday, June 3, 2020 5:10 PM
  • Hi sharonswaroop,

    Thanks for your post!

    As mentioned, the best practice is mainly decided by the workload the VM and the host.

    What is the usage of the VMs? What is the storage requirement and network requirement of the VMs?

    Generally, we may set dynamic memory for the VM, so, when it start, we just need to reserve the start up memory for the VM to start up.

    We may also change the memory and process for the VM after set up the VM when the VM is offline. So, if after using, we want to give more memory and process for the VM, it's possible.

    If you have any other concerns or questions, please feel free to feedback.

    Best Regards,

    Anne


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, June 4, 2020 2:52 AM
    Moderator
  • I have plan to have 2 VMs in Host. One VM will be DC and the other will be application server which runs as a file server .

    If four cores and 32 GB GB are very low I can increase it , i have options for that . What might be good?

    I use SATA SSDs - How much I should allocate for the Host?  I have plan to use 100GB for DC and the rest for file server. So which RAID is good? 

    For Networking i have 4 ports . So I can use 1 port for Host . The rest of the three ports , how can i do NIC Teaming ? Active -Active or active passive is good ? 

    I need a suggestion to configure and I can change the configuration if it is not proper for my Systems.  

    Thursday, June 4, 2020 6:52 AM
  • The hardware (4x Cores, 32GB RAM) should suffice for two virtual machines only.

    Create a RAID-1 for the Hyper-V host and its management operating system, you don't need SSDs for this as it uses almost no I/O, remember only the Hyper-V role should be installed, nothing else.

    For the virtual machine storage, the best RAID option depends on the needs really, but use the SSDs here.

    • RAID-5 balances performance and space utilization.
    • RAID-6 gives relatively poor performance but provides a higher level of protection than RAID-5 and more capacity at 5+ spindles than RAID-10.
    • RAID-10 generally gives the best performance but at a substantial capacity cost.

    For networking, I would suggest one NIC team, if you want to have a dedicated NIC or NIC team for backups then you may use that.

    The following article provides very good information:
    https://www.altaro.com/hyper-v/simple-guide-hyper-v-networking


    Blog: https://thesystemcenterblog.com LinkedIn:


    • Edited by Leon Laude Thursday, June 4, 2020 7:13 AM
    Thursday, June 4, 2020 7:09 AM
  • Ok , then i can do this configuration

    With total 64GB RAM in Host --- Use 20 GB RAM for Host, 12 GB for DC and 32GB for App server . Use dynamic memory for VMs

    Can use RAID 1 for OS for Host and RAID 5 for VMs

    In 4 cores CPU , i can use  1 core for DC and 2 cores for App server

    Use Active -passive NIC teaming

    Is this configuration could give good performance 

      


    Friday, June 5, 2020 11:07 AM
  • That's a lot of RAM for those VMs, but fair enough.

    Yes, I would recommend a RAID-1 for the Hyper-V host management operating system, and either RAID-5 or RAID-10 for your VMs, RAID-5 is the most commonly used one.

    Regarding the CPUs, Hyper-V never assigns real physical processors to VMs, vCPUs (virtual CPUs) are not physical CPU cores, in other words a physical CPU core cannot be assigned to a VM.

    What a vCPU really is, is the maximum number of CPU threads that a VM can run at any given time.

    The number of vCPUs can exceed (and most likely will) the number of physical CPU cores in the Hyper-V host.

    So how many vCPUs should you assign? Well this depends on your applications/roles running on the VMs, for a DC I would go with 2x vCPUs, maybe even 1x vCPU is enough, for the other you could configure between 2-4x vCPUs.

    Here's yet another excellent article from Eric describing this:
    https://www.altaro.com/hyper-v/hyper-v-virtual-cpus-explained/


    Blog: https://thesystemcenterblog.com LinkedIn:

    • Marked as answer by sharonswaroop Saturday, June 6, 2020 4:58 PM
    Friday, June 5, 2020 11:26 AM