02.03.2014 Views

SO-mod 3-Procesos - Facultad de Ingeniería - Universidad Nacional ...

SO-mod 3-Procesos - Facultad de Ingeniería - Universidad Nacional ...

SO-mod 3-Procesos - Facultad de Ingeniería - Universidad Nacional ...

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.

Planificadores <strong>de</strong> <strong>Procesos</strong> (Cont.)<br />

El planificador <strong>de</strong> corto término es invocado muy<br />

frecuentemente (milisegundos) ⇒ (<strong>de</strong>be ser rápido).<br />

El planificador <strong>de</strong> largo término es invocado poco<br />

frecuentemente (segundos, minutos) ⇒ (pue<strong>de</strong> ser muy<br />

lento).<br />

El planificador <strong>de</strong> largo término controla el grado <strong>de</strong><br />

multiprogramación.<br />

Los procesos pue<strong>de</strong>n ser <strong>de</strong>scriptos como:<br />

<strong>Procesos</strong> limitados por E/S – pasa mas tiempo<br />

haciendo E/S que computaciones, ráfagas (burst) <strong>de</strong><br />

CPU muy cortas.<br />

<strong>Procesos</strong> limitados por CPU – pasa mas tiempo<br />

haciendo computaciones que E/S, ráfagas (burst) <strong>de</strong><br />

CPU muy largas.<br />

JRA © 2008<br />

Sistemas Operativos – <strong>Procesos</strong><br />

Cambio <strong>de</strong> contexto<br />

Cuando la CPU conmuta a otro proceso, el sistema<br />

<strong>de</strong>be salvar el estado <strong>de</strong>l viejo proceso y cargar el<br />

estado para el nuevo proceso vía un cambio <strong>de</strong><br />

contexto.<br />

El contexto <strong>de</strong> un proceso está representado en el<br />

PCB<br />

El tiempo que lleva el cambio <strong>de</strong> contexto es<br />

sobrecarga; el sistema no hace trabajo útil mientras<br />

está conmutando.<br />

El tiempo <strong>de</strong>pen<strong>de</strong> <strong>de</strong>l soporte <strong>de</strong> hardware .<br />

JRA © 2008<br />

Sistemas Operativos – <strong>Procesos</strong>

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

Saved successfully!

Ooh no, something went wrong!