1 votes 1 votes Consider the following information about a hypothetical processor. Assume the cache is physically addressed TLBHit Rate: 95% access time 1 cycle Cache Hit Rate: 90% access time 1 cycle when tlb and cache both get miss, page fault rate 1% TLB access and cache access are sequential. Main Memory access time 5 cycles. Hard disk 100 cycles. Page table is always kept in main memory. Compute average memory access time? Ans Given : 3 cycles My approach: MAT= Time for VA->PA translation + data access = tlb_access + tlb_miss*( cache_access + cache_miss*(MainMem) ) + cache_access + cachemiss*( mainmemory + page_fault*( HardDisk) ) = 1 + .05(1+.1(5)) + 1 + .1(5+ .01(100) ) = 2.675 Could someone pls point out the flaw in the logic? CO and Architecture co-and-architecture cache-memory translation-lookaside-buffer + – yg92 asked Dec 26, 2016 • retagged Nov 13, 2017 by Arjun yg92 1.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes Formula would be = tlb_access + tlb_miss*( cache_miss*(MainMem) ) + cachemiss*( mainmemory + page_fault*( HardDisk) ) , now calculate. TLB access and cache access are sequential, is given ..so cache access time is not require again .. Bikram answered Jul 10, 2017 • edited Aug 26, 2017 by Bikram Bikram comment Share Follow See all 2 Comments See all 2 2 Comments reply Arpit Dhuriya commented Aug 26, 2017 reply Follow Share Hello Bikram, Do we have any document or link supporting this formula ? 0 votes 0 votes Bikram commented Aug 26, 2017 reply Follow Share I see this problem, according to problem this formula came..what conditions given in question based on that it is derived. No such fixed formula . You may check Stallings for it . 1 votes 1 votes Please log in or register to add a comment.