Sometimes I just need my blog as a reminder or a database to find something in a few months so this is exactly one of this blog posts. Microsoft has a TechNet article where they describe the best practices for Linux VMs running on Hyper-V 2012 or Hyper-V 2012 R2. The article is a list of recommendations for running Linux virtual machine on Hyper-V.
Right now they have 4 recommendations on the list (Source Microsoft TechNet):
- Use static MAC addresses with failover clustering.
- Use Hyper-V-specific network adapters, not the legacy network adapter.
- Use I/O scheduler NOOP for better disk I/O performance.
- Add “numa=off” if the Linux virtual machine has more than 7 virtual processors or more than 30 GB RAM.