Awesome q2a theme
0 votes
13 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.
ago in CO & Architecture by (20 points) | 13 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
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jan 2020
  1. shashin

    1163 Points

  2. Vimal Patel

    306 Points

  3. Deepakk Poonia (Dee)

    305 Points

  4. Debapaul

    237 Points

  5. Satbir

    192 Points

  6. SuvasishDutta

    137 Points

  7. Pratyush Priyam Kuan

    118 Points

  8. tp21

    108 Points

  9. DukeThunders

    96 Points

  10. pranay562

    95 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.
2,989 questions
1,509 answers
8,935 comments
89,814 users