14.08.2013 Views

Scheduling di breve termine - Dipartimento di Matematica e ...

Scheduling di breve termine - Dipartimento di Matematica e ...

Scheduling di breve termine - Dipartimento di Matematica e ...

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.

<strong>Scheduling</strong> in Unix moderno (4.4BSD, SVR4 e successivi)<br />

Assegnazione <strong>di</strong> default: 3 classi<br />

Real time: possono prelazionare il kernel.<br />

Hanno priorità e quanto <strong>di</strong> tempo fisso.<br />

Kernel: prioritari su processi time shared.<br />

Hanno priorità e quanto <strong>di</strong> tempo fisso.<br />

Ogni coda è gestita FCFS.<br />

Time shared: per i processi “normali”.<br />

Ogni coda è gestita round-robin, con<br />

quanto minore per priorità maggiore.<br />

Priorità variabile secondo una tabella<br />

fissa: se un processo termina il suo<br />

quanto, scende <strong>di</strong> priorità.<br />

Priority<br />

Class<br />

Real-time<br />

Kernel<br />

Time-shared<br />

Global<br />

Value<br />

159<br />

•<br />

•<br />

•<br />

•<br />

100<br />

99<br />

•<br />

•<br />

60<br />

59<br />

•<br />

•<br />

•<br />

•<br />

0<br />

<strong>Scheduling</strong><br />

Sequence<br />

first<br />

last<br />

42

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

Saved successfully!

Ooh no, something went wrong!