edited by
493 views
0 votes
0 votes
What is the meaning of cold misses in context of paging ?

PS: HOW WAS THE QUESTION FRAMED ?Just for sake of understanding

Suppose the reference strings are 1,2,3,4 1,2 and u r using FIFO page replacement algorithm having frame size of 3 . Then find the no. of page faults along with cold misses.
edited by

1 Answer

Best answer
2 votes
2 votes

Cold misses are misses which occur when the page is referenced for the first time and is not found in memory.

Cold Miss = Compulsory Miss

Example:

  • FIFO
Ref Frame Frame Frame  
1 1     Cold Miss
2 1 2   Cold Miss
3 1 2 3 Cold Miss
4 4 2 3 Cold Miss
1 4 1 3 Miss
2 4 1 2 Miss
Total Misses = 6
Cold Misses = 4
edited by

Related questions

2 votes
2 votes
1 answer
1
resilientknight asked Sep 1, 2016
1,095 views
can a non privileged instruction be executed in privileged mode?(like when returning from kernel to user mode) or is it necessary to make it a privileged instruction?
0 votes
0 votes
1 answer
2
Markzuck asked Dec 22, 2018
1,376 views
for memory overhead in Multi level paging, for innermost table only 1 page size shall be counted na? and NOT the complete page table size?please explain the concept, than...
0 votes
0 votes
0 answers
3
Rustam Ali asked Nov 3, 2018
582 views
Question 99