Awesome q2a theme
0 votes

What would be the answer? I am getting 100. 

in CO & Architecture by (15 points) | 42 views

1 Answer

+3 votes
Best answer

Let the miss penalty be p, initially the average memory access time will be:

Hit time + Miss rate * Miss Penalty = 10 + 0.4p


After optimization, the average memory access time becomes: 15 + 0.3p


There was a reduction of 10% in the average memory access time

$\implies (10+0.4p)*0.9=15+0.3p$

$\implies 9 + 0.36p=15+0.3p$

$\implies 0.06p=6$

$\implies p=100$


So, the miss penalty is $100\ ns.$

by (855 points)
selected by
Thanks bro. I also got the same ans, but the answer given in the test series was 60.

@sinchit @mayureshpatle

you guys are considering that miss penalty doesn’t include the cache access time(the time wasted during the cache miss)


so p=100ns

but i think miss penalty will implicitly include the cache access time also i.e no need to add 10 and 15 ns in the miss penalty as it already includes it in p.

cause in gate pyq’s the miss penalty in page fault includes memory excess time also so we never add it explicitly.

see sachin mittal sir comment on this pyq ques


I searched this question now, it was asked in an NPTEL assignment too (link, question no. 9).

They have also mentioned 100 as correct answer, maybe the answer given in the test series is wrong.

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.
8,437 questions
2,714 answers
95,460 users