179k views
1 vote
. consider a memory system with cache- access time of 100 n sec and a memory access time is 1200 n sec. if the effective time is 20% greater than the ache access time, what is the hit ratio(h)?

a. 119/120
b. 180/190
c. 118/120
d. 108/110

User Phlogisto
by
8.8k points

1 Answer

4 votes

Final answer:

The effective time is 20% greater than the cache access time, and we need to find the hit ratio. The correct answer is option c - 118/120.

Step-by-step explanation:

In this problem, we are given that the effective time is 20% greater than the cache access time. Let's denote the cache access time as C and the memory access time as M.

Based on the given information, we have the equation: M = C + 0.2C = 1.2C

We know that the memory access time is 1200 n sec, so we can write the equation as: 1200 = 1.2C

Solving for C, we get: C = 1000 n sec

The hit ratio (h) is defined as the proportion of cache accesses that result in a cache hit, and it can be calculated using the formula: h = (C / M)

Substituting the values, we have: h = (1000 / 1200) = 5 / 6 = 118/120

Therefore, the hit ratio is 118/120 (option c).

User Mibac
by
7.7k points