02.03.2014 Views

SO-mod 9-Memoria Virtual - Facultad de Ingeniería - Universidad ...

SO-mod 9-Memoria Virtual - Facultad de Ingeniería - Universidad ...

SO-mod 9-Memoria Virtual - Facultad de Ingeniería - Universidad ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Mo<strong>de</strong>lo <strong>de</strong> Working-set<br />

Tabla <strong>de</strong> páginas referenciadas<br />

JRA © 2010<br />

Sistemas Operativos – <strong>Memoria</strong> <strong>Virtual</strong><br />

Control <strong>de</strong>l Working Set<br />

Aproximar con un intervalo <strong>de</strong> tiempo + bit <strong>de</strong><br />

referencia<br />

Ejemplo: ∆ = 10,000<br />

Las interrupciones <strong>de</strong>l Timer se producen cada<br />

5000 unida<strong>de</strong>s <strong>de</strong> tiempo.<br />

Se mantienen en memoria 2 bits por cada página.<br />

Siempre que el timer interrumpe copia e inicializa<br />

los valores <strong>de</strong> todos los bits <strong>de</strong> referencia a 0.<br />

Si uno <strong>de</strong> los bits en memoria = 1 ⇒ página en el<br />

working set.<br />

¿Por qué no es completamente preciso?<br />

Mejora = 10 bits e interrupción cada 1000 unida<strong>de</strong>s <strong>de</strong><br />

tiempo.<br />

JRA © 2010<br />

Sistemas Operativos – <strong>Memoria</strong> <strong>Virtual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!