none
I would like to enable L1 & L2 & L3 cache on a hyper VM RRS feed

  • Question

  • I would like to enable L1 & L2 & L3 cache on a hyper VM.

    I ran this command  "wmic cpu get L2CacheSize, L2CacheSpeed, L3CacheSize, L3CacheSpeed" BUT all values is 0.

    Please advise.

    Your help is much appreciated.

    Monday, June 24, 2019 9:55 AM

Answers

  • Yes, Tim is right.

    Please help me mark his useful reply as an answer, thank you.

    BR,

    Daniel


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

    • Marked as answer by Islam Zain Thursday, June 27, 2019 7:59 AM
    Thursday, June 27, 2019 1:57 AM
    Moderator

All replies

  • Do you have your cache enabled at the physical host level?  Physical memory management is handled by the host.

    tim


    Monday, June 24, 2019 1:05 PM
  • Hi,

    Thanks for posting in our forum!

    I am agree with Tim.

    And by design, L1 Cache doesn’t exist in the VM system, as shown N/A in the performance of the task manager.

    Meanwhile, we could use the cmdlets wmic to check the current cache size, even more detailed information about CPU on the system. Please refer to the following article,

    https://www.techvigil.com/tips-tricks/379/verify-processor-cache-size-speed/

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Hope this can help you. Please help me mark the useful reply as an answer. Thanks in advance!

    Cheers,

    Daniel


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

    Tuesday, June 25, 2019 2:53 AM
    Moderator
  • Thank you Tim for your reply,

    May be there is misunderstanding. L1, L2 and L3 are shown in the physical host but N/A in the VM.

    How can I make those cache to be represented to VM as in the physical host.

    Appreciate your help.

    Wednesday, June 26, 2019 7:43 AM
  • Thank you very much Daniel.

    I executed these commands and the result is:

    L2CacheSize   L2CacheSpeed  L3CacheSize  L3CacheSpeed

                                                      0                       0

    As you can see there are no values.

    Thank you for your help

    Wednesday, June 26, 2019 7:48 AM
  • "How can I make those cache to be represented to VM as in the physical host."

    You can't.  Cache memory is not virtualized to the VMs.  That's what I meant when I said the physical memory management is handled by host, not by the VM.


    tim

    • Proposed as answer by Eric SironMVP Wednesday, June 26, 2019 3:33 PM
    Wednesday, June 26, 2019 12:53 PM
  • Thank you Tim,

    So the VM has access to the cache of the host but this cache can't be represented to VM, right?

    Wednesday, June 26, 2019 2:17 PM
  • Yes, Tim is right.

    Please help me mark his useful reply as an answer, thank you.

    BR,

    Daniel


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

    • Marked as answer by Islam Zain Thursday, June 27, 2019 7:59 AM
    Thursday, June 27, 2019 1:57 AM
    Moderator