Awesome q2a theme
0 votes
17 views
In a two-level cache system, the access times of L1 and L2 are 4, 15 clock cycles respectively. The miss penalty from the L2 cache to main memory is 30 clock cycles. The miss rate of L1 cache is thrice that of L2. The average memory access time(AMAT) of this cache system is 6 cycles. The miss rates of L1 and L2 respectively are:
i am really confused as to which time is to be considered while solving such questions.

also, the explanation mentioned in the test series is very complicated and lengthy,is there any approach to solve it in a fast manner and get the concept in place right.
in CO & Architecture by (24 points) | 17 views
0
The equation is simple:

AMAT = Hit Time (L1) + Miss Rate (L1)*( Hit Time (L2) + Miss Rate (L2) * ( Miss Penalty L2))

All the values have been given to you, you just need to substitute it.
+2

This is a PYQ - https://gateoverflow.in/118371/gate2017-2-29

My suggestion is to take a step back and just understand the hierarchy of cache organization and how it all works. Once you know that you will immediately start writing down the steps as you're reading the question. Memorize the formula only as a last resort, and even then, use the formula only if you know what each term is doing and why. 

I don't suggest memorizing the formula because as you start including various aspects like TLB, cached page tables, write through, write back etc - you will end up memorizing a dozen different formulae, and even then each question could have some minute twist. Better to understand it and work intuitively. Just my two cents.

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
Top Users 2020 Aug 03 - 09
  1. Mellophi

    98 Points

  2. Ashutosh777

    70 Points

  3. Kushagra गुप्ता

    12 Points

  4. srestha

    11 Points

  5. arjun12

    10 Points

  6. prakhar2810

    8 Points

  7. sdutta

    7 Points

  8. shivarajkumar

    6 Points

  9. kuldeep kumar07

    6 Points

  10. toppoavinash

    6 Points

Weekly Top User (excluding moderators) will get free access to GATE Overflow Test Series for GATE 2021
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Aug 2020
  1. Mellophi

    104 Points

  2. Ashutosh777

    73 Points

  3. Shaik Masthan

    13 Points

  4. srestha

    13 Points

  5. Kushagra गुप्ता

    12 Points

  6. arjun12

    10 Points

  7. Unnayan kumar

    8 Points

  8. prakhar2810

    8 Points

  9. sdutta

    7 Points

  10. Sourav Kar

    7 Points

7,725 questions
1,826 answers
11,148 comments
95,095 users