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
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:
- How to efficiently invalidate cache?Best solution by Drupal Answers
- How do you measure national income? and why do countries need to measure it?Best solution by en.wikipedia.org
- How do I measure how loud a car audio system is?Best solution by answers.yahoo.com
- How to find the measure of an arc in degrees?Best solution by Yahoo! Answers
- How can u measure how tall you are if you dont have a ruler?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
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.