retagged by
490 views

1 Answer

Best answer
5 votes
5 votes

The effective time in this case will be calculated as :

(1-p)*cache access time + p*(cache access time+disk access time)

=  0.25 + 0.75 * 101

=  76 

Hence the answer should be 76 ms since on miss also cache access time needs to be included as cache is accessed first then we come to know whether there is hit or miss.

selected by

Related questions

0 votes
0 votes
2 answers
2
iarnav asked Apr 10, 2017
1,397 views
Hello guys, I'm seeing a lot of questions on disk scheduling asked by various folks, but in GATE CS syllabus of OS - there's no topic as disk scheduling. So, please point...
0 votes
0 votes
0 answers
3
Na462 asked Jan 12, 2019
988 views
Consider a typical disk that transfers at a rate of 30 MBps and rotates at 5000 RPM. The average seek time of disk is twice average rotation delay and assume no controlle...
0 votes
0 votes
2 answers
4
Na462 asked Aug 4, 2018
1,172 views
Ans. 52 msec