Risposte Compito di Sistemi Operativi, 18/09/2001


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

P1
P2
P1 P3 P2 P4 P1 P5 P3 P2 P4
1-7ms 7-13 13-19 19-25 25-31 31-37 37-42 42-47 47-50 50-51 51-52

                Tempo medio d'attesa: 144/5
                Turn Around medio: 195/5


  1.  
    1. ALGORITMO LRU

    2. Pagina Riferita

 

  10 9 2 4 8 3 1 4 5 4 3 6 7 8 9 10 11 8 7 6
0 10 10 10 10 10 3 3 3 3 3 3 3 3 3 3 10 10 10 10 10
1 9 9 9 9 9 1 1 1 1 1 1 7 7 7 7 7 7 7 7
2 2 2 2 2 2 2 5 5 5 5 5 8 8 8 8 8 8 8
3 4 4 4 4 4 4 4 4 4 4 4 9 9 9 9 9 6
4 8 8 8 8 8 8 8 6 6 6 6 6 11 11 11 11
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

 

  10 9 2 4 8 3 1 4 5 4 3 6 7 8 9 10 11 8 7 6
0 101 101 101 101 101 31 31 31 31 31 31 31 30 81 81 81 81 81 81 61
1 91 91 91 91 90 11 11 11 11 11 11 10 10 91 91 91 91 91 90
2 21 21 21 20 20 20 51 51 51 51 50 50 50 101 101 101 101 100
3 41 41 40 40 41 41 41 41 40 71 71 71 71 70 70 71 70
4 81 80 80 80 80 81 80 61 61 60 60 60 111 111 111 110
P P P P P P P P P P P P P P P
                        5 + 10 = 15 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