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.

• SRTF (preemptive)<br />

Esempio <strong>di</strong> SJF Preemptive<br />

Processo Arrival Time Burst Time<br />

P1 0.0 7<br />

P2 2.0 4<br />

P3 4.0 1<br />

P4 5.0 4<br />

0<br />

P 1<br />

2<br />

P 2<br />

4<br />

P 3<br />

5<br />

P 2<br />

7<br />

P 4<br />

P 1<br />

11 16<br />

Tempo <strong>di</strong> attesa me<strong>di</strong>o = (9 + 1 + 0 + 2)/4 = 3<br />

12

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

Saved successfully!

Ooh no, something went wrong!