none
Memory usage monitor and Estimator

    Question

  • Hi Team

    How do users estimate the memory that they need for their business?

    Do we have any measurement tools to monitor and estimate the memory requirement?

     

    Thanks,

    Ayyappan

    http://sqlserverrider.blogspot.com

    Wednesday, May 04, 2011 9:53 PM

Answers

  • Hi Ayyappan,

    Did you mean the virtual machine memory usage or Azure AppFabric Cache memory usage?

    If you mean Azure AppFabric Cache usage, according to document Understanding Caching Quotas (Windows Azure AppFabric):

    Allowing eviction to occur for least-recently-used (LRU) items can be an acceptable application design strategy. However, this makes it difficult to tell your actual cache usage, because you will always approach your maximum cache size before eviction takes place. To handle this, you can programmatically specify a time-to-live value for items added to the cache with the API. Items with explicit expiration times will be removed from the cache when they expire. If you use this strategy, selecting appropriate expiration times for various items can help to efficiently use your memory resources. It can also help you to understand your true peak memory usage.

    So my suggestion is to log the information (refer to Take Control of Logging and Tracing in Windows Azure) when inserting item into Azure AppFabric Cache. If cached items are frequently evicted (if an item is evicted, you need to insert the item again), that means the memory has reach maximum cache size. Thus, it is time to increase the size of your cache offering.

    Thanks,


    Wengchao Zeng
    Please mark the replies as answers if they help or unmark if not.
    If you have any feedback about my replies, please contact msdnmg@microsoft.com.
    Microsoft One Code Framework
    • Marked as answer by Wenchao Zeng Wednesday, May 11, 2011 5:22 AM
    Friday, May 06, 2011 7:25 AM