Linux em tempo real

Preview:

DESCRIPTION

Atualmente, o Linux vem sendo utilizado como sistema operacional de tempo real, tanto comercialmente quando academicamente. Esta apresentação introduz os conceitos básicos do Linux em tempo real, fazendo um paralelo com a teoria de sistemas de tempo real. Das implementações do kernel do Linux com características de tempo real, duas são apresentadas: o PREEMPT_RT, a alternativa comercial, e o LitmusRT, a alternativa acadêmica. Para cada implementação, são apresentados detalhes de sua implementação e exemplos de pesquisas que estão sendo desenvolvidas atualmente nestes sistemas.

Citation preview

SECCOM 2013

Real-Time Linux

Daniel Bristot de Oliveiradaniel@bristot.eti.br

bristot@OFTC / #linux-rt

Who I'm and what we will

talk about?

What does Real-Time means?

Event -> Response, latency,

response time,

deadline...

Real-Time means

fast?

Real Time != FAST!

RT means

Determinism, WCET,

Response Time.

How Red Hat shows your Real-Time Linux

What is a Real-Time

Operating System?

Real-Time Operating System Examples

Why Linux is not a RTOS?

Real-Time Linux: Past, Present, Possible

Futures...

RTAI and Xenomai

RT Task on Xenomai +

Non-RT on Linux... =

):) <- this is a bipolar emoticon

PREEMPT-RT

- latency+ control over OS tasks

Preemptive lock

Priority inversion problems...

PREMPT-RT is WONDERFULL! Let's use everywhere!!!

):)

This is another bipolar emoticon, but more happy than another...

How expensive is PREEMP-RT?

12 24 36 600

5

10

15

20

25

30

35

40

45

50

PREEMPT-RT

Vanilla

Concurrent channels

CP

U L

oa

d (

%)

LITMUSRT

A testbed for multiprocessor scheduling

in Real-Time Systems

(Partitioned|Global|Clustered) EDF

Partitioned Fixed-Priority

PD2 (PFAIR)

Mutual Exclusion

Interrupt Handling

Real-Time GPU Management

Tracing Tools

What about SCHED_DEADLINE?

Research Opportunities

Questions?

Recommended