際際滷

際際滷Share a Scribd company logo
FIFO
 惆悋  惓悋惓  悋愀悋惘悋惠 悋  string  悋惠悋 : Ref string: 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5
Ref string:  1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋  1   惆悽  悖 悋 悋惘愃
Ref string:  1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋  1   惆悽  悖 悋 悋惘愃
Ref string:  1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋  1   惆悽  悖 悋 悋惘愃 慍惆 悋  page fault 惺惆惆 悋  page fault  =  1
Ref string:  1 ,  2 , 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 2   惆悽 悋悋 悋悋惘愃 悋悵
Ref string:  1 ,  2 , 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 2   惆悽 悋悋 悋悋惘愃 悋悵  慍惆 悋  page fault 惺惆惆 悋  page fault  =  2
Ref string:  1 ,  2 ,  3 , 4, 1, 2, 5, 1, 2, 3, 4, 5 3   惆悽 悋悋 悋悋惘愃 悋悵
Ref string:  1 ,  2 ,  3 , 4, 1, 2, 5, 1, 2, 3, 4, 5 3   惆悽 悋悋 悋悋惘愃 悋悵  慍惆 悋  page fault 惺惆惆 悋  page fault  =  3
Ref string:  1 ,  2 ,  3 ,  4 , 1, 2, 5, 1, 2, 3, 4, 5 4   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 , 1, 2, 5, 1, 2, 3, 4, 5 4   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋  page fault 惺惆惆 悋  page fault  =  4
Ref string:  1 ,  2 ,  3 ,  4 ,  1 , 2, 5, 1, 2, 3, 4, 5 1   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 ,  1 , 2, 5, 1, 2, 3, 4, 5 1   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋  page fault 惺惆惆 悋  page fault  =  5
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 , 5, 1, 2, 3, 4, 5 2   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 , 5, 1, 2, 3, 4, 5 2   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋  page fault 惺惆惆 悋  page fault  =  6
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2, 3, 4, 5 5   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2, 3, 4, 5 5   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘  慍惆 悋  page fault 惺惆惆 悋  page fault  =  7
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 ,  1 , 2, 3, 4, 5 1   悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄  悋 慍惆 惺惆惆 悋  page fault 惺惆惆 悋  page fault  =  7
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 ,  1 ,  2 , 3, 4, 5 2   悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄 悋 慍惆 惺惆惆 悋  page fault 惺惆惆 悋  page fault  =  7
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 , 4, 5 3   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 , 4, 5 3   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋  page fault 惺惆惆 悋  page fault  =  8
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 ,  4 , 5 4   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 ,  4 , 5 4   悋悴惆 惷 悋悋愀悋惘悋惠 ,  悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘  慍惆 惺惆惆 悋  page fault 惺惆惆 悋  page fault  =  9
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 ,  4 ,  5 5   悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄 悋 慍惆 惺惆惆 悋  page fault 惺惆惆 悋  page fault  =  9
Ref string:  1 ,  2 ,  3 ,  4 ,  1 ,  2 ,  5 , 1, 2,  3 ,  4 ,  5 惡悋惠悋 悋惶惡忰 惺惆惆 悋  page fault =  9
Written by: SAFA 粥晦-京粥晦晦粥A

More Related Content

Fifo Rep

  • 2. 惆悋 惓悋惓 悋愀悋惘悋惠 悋 string 悋惠悋 : Ref string: 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5
  • 3. Ref string: 1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋 1 惆悽 悖 悋 悋惘愃
  • 4. Ref string: 1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋 1 惆悽 悖 悋 悋惘愃
  • 5. Ref string: 1 , 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 悖悋 1 惆悽 悖 悋 悋惘愃 慍惆 悋 page fault 惺惆惆 悋 page fault = 1
  • 6. Ref string: 1 , 2 , 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 2 惆悽 悋悋 悋悋惘愃 悋悵
  • 7. Ref string: 1 , 2 , 3, 4, 1, 2, 5, 1, 2, 3, 4, 5 2 惆悽 悋悋 悋悋惘愃 悋悵 慍惆 悋 page fault 惺惆惆 悋 page fault = 2
  • 8. Ref string: 1 , 2 , 3 , 4, 1, 2, 5, 1, 2, 3, 4, 5 3 惆悽 悋悋 悋悋惘愃 悋悵
  • 9. Ref string: 1 , 2 , 3 , 4, 1, 2, 5, 1, 2, 3, 4, 5 3 惆悽 悋悋 悋悋惘愃 悋悵 慍惆 悋 page fault 惺惆惆 悋 page fault = 3
  • 10. Ref string: 1 , 2 , 3 , 4 , 1, 2, 5, 1, 2, 3, 4, 5 4 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 11. Ref string: 1 , 2 , 3 , 4 , 1, 2, 5, 1, 2, 3, 4, 5 4 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋 page fault 惺惆惆 悋 page fault = 4
  • 12. Ref string: 1 , 2 , 3 , 4 , 1 , 2, 5, 1, 2, 3, 4, 5 1 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 13. Ref string: 1 , 2 , 3 , 4 , 1 , 2, 5, 1, 2, 3, 4, 5 1 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋 page fault 惺惆惆 悋 page fault = 5
  • 14. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5, 1, 2, 3, 4, 5 2 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 15. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5, 1, 2, 3, 4, 5 2 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋 page fault 惺惆惆 悋 page fault = 6
  • 16. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3, 4, 5 5 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 17. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3, 4, 5 5 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋 page fault 惺惆惆 悋 page fault = 7
  • 18. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1 , 2, 3, 4, 5 1 悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄 悋 慍惆 惺惆惆 悋 page fault 惺惆惆 悋 page fault = 7
  • 19. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1 , 2 , 3, 4, 5 2 悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄 悋 慍惆 惺惆惆 悋 page fault 惺惆惆 悋 page fault = 7
  • 20. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4, 5 3 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 21. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4, 5 3 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 悋 page fault 惺惆惆 悋 page fault = 8
  • 22. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4 , 5 4 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘
  • 23. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4 , 5 4 悋悴惆 惷 悋悋愀悋惘悋惠 , 悋悴惆 悋愀悋惘 悋惘愃 忰 忰 悖惆 悋愀悋惘 慍惆 惺惆惆 悋 page fault 惺惆惆 悋 page fault = 9
  • 24. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4 , 5 5 悴惆 惷 悋悋愀悋惘悋惠 悋 愕惠惡惆 愆悄 悋 慍惆 惺惆惆 悋 page fault 惺惆惆 悋 page fault = 9
  • 25. Ref string: 1 , 2 , 3 , 4 , 1 , 2 , 5 , 1, 2, 3 , 4 , 5 惡悋惠悋 悋惶惡忰 惺惆惆 悋 page fault = 9
  • 26. Written by: SAFA 粥晦-京粥晦晦粥A