Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


Equation for effective cache efficiency

  • César Idrovo
    César Idrovo

    What is the equation for calculating effective cache efficiency?

    The cache version of Amdahl's law is presented at as follows:
    1 / ((1 - Proportion Sped Up * effective cache efficiency) +
    (Proportion Sped Up  * effective cache efficiency)/ Speed up)

    On the same page, cache efficiency is said to depend on four factors, but no calculation is offered.
    "Ehcache keeps these statistics for each Cache and each element, so they can be measured directly rather than estimated."
    …but I need to compare statistics before and after using ehcache so it would help if I had the equation to make a like-for-like analysis.

    Thanks for your help!