Answer:
H = 0.7333333
Step-by-step explanation:
Given that:
The memory access time (
) = 150 ns
The cache access time
= 20 ns
Effective access time
= 20% >
![(T_c)](https://img.qammunity.org/2022/formulas/computers-and-technology/college/pu0hr1k85ibsd1fpjl3a9aayyrrge62j0x.png)
Then, it implies that:
=
+ 20% of
=
(1+20%)
=
(1+ 0.2)
= 20ns × 1.2
= 24ns
To determine the hit ratio H;
Using the formula:
![T_e = T_c * H+(1-H) * (T_c + T_m) \\ \\ T_e = HT_c + T_c + T_m -HT_c -HT_m \\ \\ T_e = T_c +T_m - HT_m \\ \\ T_c -T_e = T_m (H-1) \\ \\ H-1 = (T_c -T_e)/(T_m) \\ \\ H = 1+ ((T_c -T_e)/(T_m))--- (1)](https://img.qammunity.org/2022/formulas/computers-and-technology/college/xs7z72pgs984ij6jor2swzb4anbc63jrtm.png)
Replacing the values; we have:
![T_c - T_e = 20ns - 24 ns \\ \\ T_c - T_e = -4 ns \\ \\ (T_c - T_e )/(T_m) = (-4 ns)/(150) \\ \\ (T_c - T_e )/(T_m) = -0.02666667](https://img.qammunity.org/2022/formulas/computers-and-technology/college/ri2fgww1w19zxwxhxz30p32wh5lfomgkto.png)
From (1)
![H = 1+ (-0.2666667) \\ \\ H = 1 - 0.2666667 \\ \\ \mathbf{H = 0.7333333}](https://img.qammunity.org/2022/formulas/computers-and-technology/college/l9fbtukcpqosixzvgs3464zenamj17gwhl.png)