In: Computer Science
I have computer with 16GB RAM of DDR4, CPU 1.80GHz , 64 bit computing, 2400 MHz of memory speed, Cache 8MB, Hard drive capacity 128GB
I was asked to calculate the following
1. What is the equation for word capacity, C? Calculate C.
2.What is the total number of bits required to store the tags.
3.How does the miss rate on on your cache compare with one other type of cache of the same
capacity and block size? Explain how it is better or worse.
1. The equation for word capacity, c >>
s = specific heat capacity
q = heat
m = mass
Δ T = change in temperature
2. 21 bits are required to store the tags.
3. Caches are generally used to speed up the reading and writing process in the memory system. The cache speeds up average memory access time when properly used. It increases the variability of memory access times accesses in the cache will be fast, while access to locations not cached will be slow.
Lets understand what is cache miss >> When a cache controller mediates between the CPU and the memory system comprised of the cache and main memory. Then, the cache controller sends a memory request to the cache and main memory. If the requested location is in the cache, the cache controller forwards the location's contents to the CPU and aborts the main memory request. And if the location is not in the cache, the controller waits for the value from main memory and forwards it to the CPU; this situation is known as a cache miss.
It is the worse because there are some important cache can be missed during this process which is not good for the user.