How to measure cache performance?

How do you measure cache performance?

  • I was curious as to how is cache performance measured. Can you do it programmatically or do you need specialized tools for this purpose? Does the programming language being used matter? Thanks, Abhinav.

  • Answer:

    The ratio of 'Cache Hits' versus 'Cache Misses' is the usual indicator of cache performance. In the Windows/.NET world these would usually be measured by creating custom performance counters.

abhinav at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

I will assume that you are on Windoze, because all such stats, and related stats are available in utilities that part of the operating system. When you are using an app such as Windead, which is not an o/s (except in the marketing brochures), the easiest (labour wise) thing to do is, implement a Unix layer on top of it. There are many, such as Cygwin. That provides the o/s layer, and most of what can be expected from an o/s. Such as Virtual Memory Statistics. Nohing to write, it is just a single-line command. Google for vmstat.

PerformanceDBA

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.