Awesome q2a theme
0 votes
Assume that for a certain processor, a read request takes 50 ns on a cache miss and 5 ns on a cache hit.

Suppose while running a program, it was observed that 80% of the processor's read requests result in a cache hit. The average read access time in nanoseconds is _____.

Now, I know that the answer is 0.8(5) + 0.2(50) = 14 ns.

But, there’s another way of calculating which we usually use for multilevel caches, which is given as:

T(avg) = Hit Time of L1 + MissRate(L1)*(Miss Penalty for L1)

If we use a similar logic for this question,

T(avg) =  5 + 0.2*(50), which gives us 15.

So, how do we know which formula do we have to use in which context?
in CO & Architecture by (373 points) | 25 views
In general, if we deal with searching time then using second type formula is by default.

But in this question, they are avoiding searching time..  So first type formula is by default

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Feb 2020
  1. shashin

    363 Points

  2. Shaik Masthan

    79 Points

  3. SuvasishDutta

    39 Points

  4. srestha

    33 Points

  5. Mk Utkarsh

    32 Points

  6. neeraj_bhatt

    31 Points

  7. !KARAN

    30 Points

  8. Debapaul

    23 Points

  9. Pratyush Priyam Kuan

    18 Points

  10. kalra05

    18 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
3,314 questions
1,581 answers
89,904 users