logistic_guy
Full Member
- Joined
- Apr 17, 2024
- Messages
- 591
here is the question
Consider a memory system with the following parameters:
\(\displaystyle T_c = 100\) ns
\(\displaystyle C_c = 10^{-4} \ \$/\)bit
\(\displaystyle T_m = 1200\) ns
\(\displaystyle C_m = 10^{-5} \ \$/\)bit
(a) What is the cost of \(\displaystyle 1\) MB of main memory?
(b) What is the cost of \(\displaystyle 1\) MB of main memory using cache memory technology?
(c) If the effective access time is \(\displaystyle 10\%\) greater than the cache access time, what is the hit ratio \(\displaystyle H\)?
my attemb
i think \(\displaystyle 1\) MB \(\displaystyle = 1024\) KB and i think \(\displaystyle 1\) B \(\displaystyle = 1\) byte \(\displaystyle = 8\) bits
so \(\displaystyle 1\) MB \(\displaystyle = 1024 \times 1024 \times 8 = 8388608\) bits
is my conversion correct?
Consider a memory system with the following parameters:
\(\displaystyle T_c = 100\) ns
\(\displaystyle C_c = 10^{-4} \ \$/\)bit
\(\displaystyle T_m = 1200\) ns
\(\displaystyle C_m = 10^{-5} \ \$/\)bit
(a) What is the cost of \(\displaystyle 1\) MB of main memory?
(b) What is the cost of \(\displaystyle 1\) MB of main memory using cache memory technology?
(c) If the effective access time is \(\displaystyle 10\%\) greater than the cache access time, what is the hit ratio \(\displaystyle H\)?
my attemb
i think \(\displaystyle 1\) MB \(\displaystyle = 1024\) KB and i think \(\displaystyle 1\) B \(\displaystyle = 1\) byte \(\displaystyle = 8\) bits
so \(\displaystyle 1\) MB \(\displaystyle = 1024 \times 1024 \times 8 = 8388608\) bits
is my conversion correct?