Advertisement
Guest User

Untitled

a guest
May 28th, 2015
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Cache is a net benefit in perf if time saved in cache hits exceeds time lost in cache overhead.
  2.  
  3. L = Regular lookup
  4. H = Cache Hit
  5. M = Cache Miss
  6. R = Cache Hit Ratio (500 lookups/100 served from cache is 20%)
  7.  
  8. H x R + M x (1 - R) < L
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement