35
SECCOM 2013 Real-Time Linux Daniel Bristot de Oliveira [email protected] bristot@OFTC / #linux-rt

Linux em tempo real

Embed Size (px)

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

Page 1: Linux em tempo real

SECCOM 2013

Real-Time Linux

Daniel Bristot de [email protected]

bristot@OFTC / #linux-rt

Page 2: Linux em tempo real

Who I'm and what we will

talk about?

Page 3: Linux em tempo real

What does Real-Time means?

Page 4: Linux em tempo real

Event -> Response, latency,

response time,

deadline...

Page 5: Linux em tempo real

Real-Time means

fast?

Page 6: Linux em tempo real

Real Time != FAST!

Page 7: Linux em tempo real

RT means

Determinism, WCET,

Response Time.

Page 8: Linux em tempo real

How Red Hat shows your Real-Time Linux

Page 9: Linux em tempo real

What is a Real-Time

Operating System?

Page 10: Linux em tempo real

Real-Time Operating System Examples

Page 11: Linux em tempo real

Why Linux is not a RTOS?

Page 12: Linux em tempo real

Real-Time Linux: Past, Present, Possible

Futures...

Page 13: Linux em tempo real

RTAI and Xenomai

Page 14: Linux em tempo real
Page 15: Linux em tempo real

RT Task on Xenomai +

Non-RT on Linux... =

):) <- this is a bipolar emoticon

Page 16: Linux em tempo real

PREEMPT-RT

Page 17: Linux em tempo real

- latency+ control over OS tasks

Page 18: Linux em tempo real

Preemptive lock

Page 19: Linux em tempo real

Priority inversion problems...

Page 20: Linux em tempo real
Page 21: Linux em tempo real
Page 22: Linux em tempo real
Page 23: Linux em tempo real
Page 24: Linux em tempo real
Page 25: Linux em tempo real

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

Page 26: Linux em tempo real

):)

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

Page 27: Linux em tempo real

How expensive is PREEMP-RT?

Page 28: Linux em tempo real

12 24 36 600

5

10

15

20

25

30

35

40

45

50

PREEMPT-RT

Vanilla

Concurrent channels

CP

U L

oa

d (

%)

Page 29: Linux em tempo real

LITMUSRT

Page 30: Linux em tempo real

A testbed for multiprocessor scheduling

in Real-Time Systems

Page 31: Linux em tempo real

(Partitioned|Global|Clustered) EDF

Partitioned Fixed-Priority

PD2 (PFAIR)

Page 32: Linux em tempo real

Mutual Exclusion

Interrupt Handling

Real-Time GPU Management

Tracing Tools

Page 33: Linux em tempo real

What about SCHED_DEADLINE?

Page 34: Linux em tempo real

Research Opportunities

Page 35: Linux em tempo real

Questions?