Consider the Main memory and cache memory having 4 word blocks. The cache is 20 times faster than main memory and its access time is 10nsec. Cache offers 80% hit for read operation and 90% hit for write operation. 40% of the reference represent the write operation. On any miss in cache memory (read/write) , a block should be moved from main memory to cache memory. The design is using write through updation. Find out
I. Main memory access time
2. Read average access time
3. Write average access time.
My doubt is in case of write through updation we consider write-no-allocate scheme but here we need to consider write allocate. Is it because the question has specified to do so? When to use write allocate and when to use write no allocate. Please clear.
It's quite confusing