Solución de los ejercicios de memoria virtual

De Wiki de Sistemas Operativos
Revisión del 15:19 13 jun 2011 de Jherrera (discusión | contribuciones) (Página creada con '= NRU = En caso de empate, se emplea LRU. accesos a páginas | r | r | w | r | r | r | r …')
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)
Saltar a: navegación, buscar

NRU

En caso de empate, se emplea LRU.

                                         accesos a páginas

                |   r   |   r   |   w   |   r   |   r   |   r   |   r   |   w   |   w   |   w   |   r   |   r   |
                -------------------------------------------------------------------------------------------------
                |   1   |   3   |   3   |   3   |   4   |   5   |   1   |   2   |   5   |   1   |   3   |   4   |
        ---------------------------------------------------------------------------------------------------------
        |   1   |   1   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |
        |       |-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
        | R | M | 1 | 0 | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = |
        ---------------------------------------------------------------------------------------------------------
marcos  |   2   |       |   3   |   3   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |   =   |
        |       |-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
        | R | M |   |   | 1 | 0 | 1 | 1 | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = | = |
        ---------------------------------------------------------------------------------------------------------
        |   3   |       |       |       |       |   4   |   =   |   =   |   2   |   =   |   =   |   =   |   4   |
        |       |-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
        | R | M |   |   |   |   |   |   |   |   | 1 | 0 | = | = | = | = | 1 | 1 | = | = | = | = | = | = | 1 | 0 |
        ---------------------------------------------------------------------------------------------------------
        |   4   |       |       |       |       |       |   5   |   =   |   =   |   5   |   =   |   =   |   =   |
        |       |-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
        | R | M |   |   |   |   |   |   |   |   |   |   | 1 | 0 | = | = | = | = | 1 | 1 | = | = | = | = | = | = |
        ---------------------------------------------------------------------------------------------------------
fallo           |   X   |   X   |       |       |   X   |   X   |       |   X   |       |       |       |   X   |
página          -------------------------------------------------------------------------------------------------

                                              tiempo ->

                                6
talla de fallos de página =  ------ = 0,4615
                               12