Risposte Compito di Sistemi Operativi, 3/04/2001


  1. a,e,h
  2. a,c,d,e,h
  3. c,f
  4. c,d,i
  5. d,g
  6.  
  7.  
  8. Politica Round Robin
 

P1
P3
P1 P4 P3 P2 P1 P5 P4 P2 P1 P5 P4 P5
2-8ms 8-14 14-20 20-26 26-28 28-34 34-40 40-46 46-52 52-53 53-55 55-61 61-63 63-64
                Tempo medio d'attesa: 144/5
                Turn Around medio: 206/5

  1.  
    1. ALGORITMO LRU

    2. Pagina Riferita

 

  1 12 3 2 0 5 2 1 3 9 5 0 9 0 2 10 12 3 9 0
0 1 1 1 1 1 5 5 5 5 5 5 5 5 5 5 5 12 12 12 12
1 12 12 12 12 12 12 1 1 1 1 1 1 1 2 2 2 2 2 0
2 3 3 3 3 3 3 3 3 3 3 3 3 3 10 10 10 10 10
3 2 2 2 2 2 2 2 2 0 0 0 0 0 0 0 9 9
4 0 0 0 0 0 9 9 9 9 9 9 9 9 3 3 3
P P P P P P P P P P P P P P P
                        5 + 10 = 15 page fault
 


  1. ALGORITMO SECOND CHANCE

  2. TurnoMS

 

  1 12 3 2 0 5 2 1 3 9 5 0 9 0 2 10 12 3 9 0
0 11 11 11 11 11 51 51 51 51 51 51 50 50 50 50 101 101 101 101 101
1 121 121 121 121 120 120 11 11 11 11 10 10 10 10 10 121 121 121 121
2 31 31 31 30 30 30 31 30 30 01 01 01 01 01 01 00 00 01
3 21 21 20 21 21 21 20 20 20 20 20 21 20 20 31 31 31
4 01 00 00 00 00 91 91 91 91 91 91 90 90 90 91 91
P P P P P P P P P P P P
                        5 + 7 = 12 page fault
     

Topic revision: r1 - 2001-12-27 - AntonioValletta






 
Questo sito usa cookies, usandolo ne accettate la presenza. (CookiePolicy)
Torna al Dipartimento di Informatica
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback