• Using PowerShell to find the virtual processor to logical processor ratio of Hyper-V

    I lifted the code from Ben Armstrong’s MSDN Blog here – so have to give credit where credit is due:

    http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/08/13/using-powershell-to-find-the-virtual-processor-to-logical-processor-ratio-of-hyper-v.aspx

    BUT…

    I’ll take it a step further…

    I wanted to run this script from my VMM Library instead of on every phyiscal host.  So, I modified the script so that you could enumerate the physical hosts managed by VMM and then select the host you want to run the script against. 

    Type the code into notepad and save as a .ps1 file.  Stick it in your VMM Library and from there you can right-click to “Run in PowerShell”.

    Enjoy!

     
    image

    Here’s the output:

    image

  • All You Ever Wanted To Know About Dynamic Memory

    Hyper-V Question of the Day:

    Q: My customer has questions about Dynamic Memory such as:

    · What is Dynamic Memory? What problems does it solve?

    · Is Dynamic Memory good for Servers and VDI?

    · How does it compare to VMware’s Overcommit?

    · How does Dynamic Memory work?

    A: Here are the links to a six part series titled Dynamic Memory Coming To Hyper-V and an article detailing 40% greater virtual machine density with DM.

    Part 1: Dynamic Memory announcement. This blog announces the new Hyper-V Dynamic Memory in Hyper-V R2 SP1. It also discussed the explicit requirements that we received from our customers. http://blogs.technet.com/virtualization/archive/2010/03/18/dynamic-memory-coming-to-hyper-v.aspx

    Part 2: Capacity Planning from a Memory Standpoint. This blog discusses the difficulties behind the deceptively simple question, “how much memory does this workload require?” Examines what issues our customers face with regard to memory capacity planning and why. http://blogs.technet.com/virtualization/archive/2010/03/25/dynamic-memory-coming-to-hyper-v-part-2.aspx

    Part 3: Page Sharing. A deep dive into the importance of the TLB, large memory pages, how page sharing works, SuperFetch and more. If you’re looking for the reasons why we haven’t invested in Page Sharing this is the blog. http://blogs.technet.com/virtualization/archive/2010/04/07/dynamic-memory-coming-to-hyper-v-part-3.aspx

    Part 4: Page Sharing Follow-Up. Questions answered about Page Sharing and ASLR and other factors to its efficacy. http://blogs.technet.com/b/virtualization/archive/2010/04/21/dynamic-memory-coming-to-hyper-v-part-4.aspx

    Part 5: Second Level Paging. What it is, why you really want to avoid this in a virtualized environment and the performance impact it can have. http://blogs.technet.com/b/virtualization/archive/2010/05/20/dynamic-memory-coming-to-hyper-v-part-5.aspx

    Part 6: Hyper-V Dynamic Memory. What it is, what each of the per virtual machine settings do in depth and how this all ties together with our customer requirements. http://blogs.technet.com/b/virtualization/archive/2010/07/12/dynamic-memory-coming-to-hyper-v-part-6.aspx

    Hyper-V Dynamic Memory Density. An in depth test of Hyper-V Dynamic Memory easily achieving 40% greater density. http://blogs.technet.com/b/virtualization/archive/2010/11/08/hyper-v-dynamic-memory-test-for-vdi-density.aspx