Memory Organization & Address Translation


Answer & solution
Answer: Complete-service-time model: 8KB L1 and 4MB L2 (99.2 ns). Sequential probing gives different feasible minima; see solution. (no official key was published)
If the tabulated times are complete service times for a hit at the corresponding level, and h2 is conditional on missing level 1, then T=h1·50+(1−h1)h2·200+(1−h1)(1−h2)·5000. Try the smallest options first: h1=.80 and h2=.98. Their mutually exclusive outcome probabilities are .80, .196, and .004, summing to one. Hence T=40+39.2+20=99.2 ns, strictly below 100. Since 8KB and 4MB are individually the smallest listed sizes, this pair is componentwise minimal in that model.
A different standard convention treats 50,200,5000 as incremental sequential probe times. Then every access pays 50, every L1 miss pays another 200, and a miss in both pays another 5000: Tseq=50+(1−h1)[200+(1−h2)5000]. The same 8KB/4MB pair gives 110 ns and fails. At 8KB, increasing L2 to 16MB gives exactly 100 ns, still failing the strict inequality; 64MB gives 95 ns. At 16KB, the smallest L2=4MB already gives 80 ns. Thus the nondominated feasible pairs in the sequential model are (8KB,64MB) and (16KB,4MB); neither is smaller in both coordinates. Minimizing total installed bytes selects (16KB,4MB), whereas minimizing L1 first selects (8KB,64MB).
Therefore the familiar 8KB/4MB answer requires the complete-service-time interpretation. Without specifying the timing convention, the literal question has no single model-independent answer. The lower-level hit ratio is also taken as conditional, not as an additional unconditional probability.