I'm having trouble understanding how to calculate effective access time, hit ratios and cache access times. I'm unfamiliar with the concepts and would love help, or an explanation on how to solve this problem:
Consider a memory system with a main memory of 16 MB and a cache memory of 8,192 bytes. The cache cost is 0.02 cents/bit while the memory cost is 0.001 cents /bit. The cache access time is 50 nanoseconds whereas the memory access time is 400 nanoseconds. If the cache hit ratio is 90% what percent is the effective access time greater than the cache access time? What is the average cost per byte of memory for the system?
Any help is truly appreciated.