10.02.2013 Views

Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems

Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems

Scheduling Aperiodic and Sporadic Jobs in Priority- Driven Systems

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.

Simple Fixed-<strong>Priority</strong> <strong>Sporadic</strong><br />

Server - Example<br />

t t r t f t e BEGIN END<br />

13.5 13 13.5 13 12 13.5 R2: t e = max(13,12)<br />

=> t r + = te + t s = 18.0<br />

13.5 System T idle!<br />

R3b: t r + = m<strong>in</strong>(te + p s , t b )= 15.0,<br />

s<strong>in</strong>ce system (T 1 ) becomes<br />

busy at 15<br />

15.5 15 15.5 15 15.5 R2: t e = max(15,15)<br />

=> t r + = te + t s = 20.0<br />

18.5 System T idle!<br />

R3b: t r + = m<strong>in</strong>(te + p s , t b )= 19.0,<br />

s<strong>in</strong>ce system (T 3 ) becomes<br />

busy at 19<br />

IL2212 Embedded Software 39<br />

Fixed-<strong>Priority</strong> <strong>Sporadic</strong> Server<br />

l� <strong>Sporadic</strong> server is more complex than poll<strong>in</strong>g or<br />

deferrable servers due to more complex<br />

consumption <strong>and</strong> replenishment rules<br />

l� Ma<strong>in</strong> advantage: schedulability easy to demonstrate<br />

l� A sporadic server can be treated like a periodic task<br />

when we check for schedulability<br />

l� System with sporadic server may be schedulable<br />

while the correspond<strong>in</strong>g deferrable server is not<br />

l� More complex sporadic servers exist (Liu: 7.3.2)<br />

IL2212 Embedded Software 40<br />

20

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

Saved successfully!

Ooh no, something went wrong!