Search Ctrl K
Home / Tools
THE FEUTEX TOOLKIT

Two-Level Cache Access Time

Estimate average access latency and memory-reaching fraction.

Computer Systems workspace● Runs in your browser
01 Your input
02 Your result
View or copy raw result data
FormulaAMAT=t1+m1(t2+m2×memoryPenalty)
Sources and model references

Worked example

Inputs

L1 lookup time
1 ns
Additional L2 lookup time
10 ns
Additional memory penalty
100 ns
L1 miss fraction
0.1
Local L2 miss fraction
0.2

Expected results

Average access latency
4 ns
Accesses reaching memory
0.02 fraction

Load the example in the workspace to reproduce these results. Display rounding does not change the underlying calculation.

How to use this tool

  1. Enter the labeled inputs in the indicated units.
  2. Calculate and compare every output against the stated model assumptions.

Try this example

{
  "l1": 1,
  "l2": 10,
  "memory": 100,
  "m1": 0.1,
  "m2": 0.2
}

Accuracy and scope

Serial lookup model; L2 miss rate conditional on L1 misses; no parallel misses or prefetch. Simplified analytical model; not a design recommendation or safety certification.

Is my data uploaded?

This tool runs locally in your browser. Input and output are not sent to a processing server. Copy or download your result before leaving the page.