cache memory

logistic_guy

Senior Member
Joined
Apr 17, 2024
Messages
1,611
here is the question

Consider a memory system with the following parameters:
Tc=100\displaystyle T_c = 100 ns
Cc=104 $/\displaystyle C_c = 10^{-4} \ \$/bit
Tm=1200\displaystyle T_m = 1200 ns
Cm=105 $/\displaystyle C_m = 10^{-5} \ \$/bit

(a) What is the cost of 1\displaystyle 1 MB of main memory?
(b) What is the cost of 1\displaystyle 1 MB of main memory using cache memory technology?
(c) If the effective access time is 10%\displaystyle 10\% greater than the cache access time, what is the hit ratio H\displaystyle H?


my attemb
i think 1\displaystyle 1 MB =1024\displaystyle = 1024 KB and i think 1\displaystyle 1 B =1\displaystyle = 1 byte =8\displaystyle = 8 bits
so 1\displaystyle 1 MB =1024×1024×8=8388608\displaystyle = 1024 \times 1024 \times 8 = 8388608 bits
is my conversion correct?☹️
 
here is the question

Consider a memory system with the following parameters:
Tc=100\displaystyle T_c = 100 ns
Cc=104 $/\displaystyle C_c = 10^{-4} \ \$/bit
Tm=1200\displaystyle T_m = 1200 ns
Cm=105 $/\displaystyle C_m = 10^{-5} \ \$/bit

(a) What is the cost of 1\displaystyle 1 MB of main memory?
(b) What is the cost of 1\displaystyle 1 MB of main memory using cache memory technology?
(c) If the effective access time is 10%\displaystyle 10\% greater than the cache access time, what is the hit ratio H\displaystyle H?


my attemb
i think 1\displaystyle 1 MB =1024\displaystyle = 1024 KB and i think 1\displaystyle 1 B =1\displaystyle = 1 byte =8\displaystyle = 8 bits
so 1\displaystyle 1 MB =1024×1024×8=8388608\displaystyle = 1024 \times 1024 \times 8 = 8388608 bits
is my conversion correct?☹️
Why do you think your calculation could be incorrect?
 
Top