SlideShare uma empresa Scribd logo
1 de 59
Baixar para ler offline
RT OS
and
RT Linux
Daniel Bristot de Oliveira
Who I'm and what we will

talk about?
an Operating

System overview
Application

Operating System

Hardware
Tasks of an OS
Hardware...
Embedded system without OS
OS as a library
OS as a library
OS as a library
Memory Protection - MMU
OS with a Micro-Kernel
OS as we know
What does Real-Time
means?
Event -> Response,
latency,

response time,

deadline...
Real-Time means
fast?
Real Time != FAST!
RT

means

Determinism,
WCET,
Response Time.
What is a Real-Time

Operating System?
Deterministic hardware
+
Deterministic hardware abstraction
+
Services with WCET
+
Deterministic Resource Management
=
?
Real-Time Operating

System Examples
?
FreeRTOS
Neutrino (QNX)
Linux ?
Why

is Linux not a
RTOS?
Linux is too much flexible
General Purpose OS
●

●

Linux not is a RTOS by conception
Higher throughput rather than higher
determinism.
●

●

High latency.

But has:
●

Static priority sched: FIFO and RR
Linux as a RTOS?
●

Why?

●

Hardware support
●

●

Services
●

●

ARM, MIPS, POWERPC, intel, TILE 64, ADBF...
FS, Network Stack...

Money
●

Rich company X needs a low latency Oracle
database.
How

Red Hat shows your Real-Time
Linux
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
Sources of latency
●

IRQ Handling
●

●

Preempt off
●

●

Softirq
spinlocks

IRQ off
Preemptive lock
Priority inversion
problems...
IRQ Handling
How good is PREEMPT_RT Today?
PREMPT-RT is

WONDERFULL!

Let's use everywhere!!!
)

:)

This is another bipolar emoticon, but more happy
than another...
How expensive is
PREEMP-RT?
50
45
40
35

CPU Load (%)

30
PREEMPT-RT
Vanilla

25
20
15
10
5
0
12

24

36
Concurrent channels

60
LITMUS

RT
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
How good is Litmus RT?
Litmus RT
=
a way to pick next task
with a RT API.
A little bit of my MS Degree dissertation...
Questions?

Mais conteúdo relacionado

Mais procurados

Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case study
vanamali_vanu
 
Unix Internals OS Architecture
Unix Internals OS ArchitectureUnix Internals OS Architecture
Unix Internals OS Architecture
Khader Shaik
 
BUD17-309: IRQ prediction
BUD17-309: IRQ prediction BUD17-309: IRQ prediction
BUD17-309: IRQ prediction
Linaro
 

Mais procurados (19)

Rtos princples adn case study
Rtos princples adn case studyRtos princples adn case study
Rtos princples adn case study
 
Rtos
RtosRtos
Rtos
 
Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for Linux
 
Basic functions & types of RTOS ES
Basic functions & types of  RTOS ESBasic functions & types of  RTOS ES
Basic functions & types of RTOS ES
 
Luca Abeni - Real-Time Virtual Machines with Linux and kvm
Luca Abeni - Real-Time Virtual Machines with Linux and kvmLuca Abeni - Real-Time Virtual Machines with Linux and kvm
Luca Abeni - Real-Time Virtual Machines with Linux and kvm
 
Rtai
RtaiRtai
Rtai
 
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solutionVirtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
 
Real time system tsp
Real time system tspReal time system tsp
Real time system tsp
 
FD.io Vector Packet Processing (VPP)
FD.io Vector Packet Processing (VPP)FD.io Vector Packet Processing (VPP)
FD.io Vector Packet Processing (VPP)
 
Intro to Embedded OS, RTOS and Communication Protocols
Intro to Embedded OS, RTOS and Communication ProtocolsIntro to Embedded OS, RTOS and Communication Protocols
Intro to Embedded OS, RTOS and Communication Protocols
 
Asymmetric Multiprocessing - Kynetics ELC 2018 portland
Asymmetric Multiprocessing - Kynetics ELC 2018 portlandAsymmetric Multiprocessing - Kynetics ELC 2018 portland
Asymmetric Multiprocessing - Kynetics ELC 2018 portland
 
File Systems: Why, How and Where
File Systems: Why, How and WhereFile Systems: Why, How and Where
File Systems: Why, How and Where
 
九月.點點.滴滴
九月.點點.滴滴九月.點點.滴滴
九月.點點.滴滴
 
운영체제론 Ch22
운영체제론 Ch22운영체제론 Ch22
운영체제론 Ch22
 
Unix Internals OS Architecture
Unix Internals OS ArchitectureUnix Internals OS Architecture
Unix Internals OS Architecture
 
Superfluid NFV: VMs and Virtual Infrastructure Managers speed-up for instanta...
Superfluid NFV: VMs and Virtual Infrastructure Managers speed-up for instanta...Superfluid NFV: VMs and Virtual Infrastructure Managers speed-up for instanta...
Superfluid NFV: VMs and Virtual Infrastructure Managers speed-up for instanta...
 
Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0
 
BUD17-309: IRQ prediction
BUD17-309: IRQ prediction BUD17-309: IRQ prediction
BUD17-309: IRQ prediction
 
Course 102: Lecture 19: Using Signals
Course 102: Lecture 19: Using Signals Course 102: Lecture 19: Using Signals
Course 102: Lecture 19: Using Signals
 

Destaque

Sandy financial analysis
Sandy financial analysisSandy financial analysis
Sandy financial analysis
piyush.u.t
 
Loushkii lookbook voyager 2012 spectrum
Loushkii lookbook voyager 2012 spectrumLoushkii lookbook voyager 2012 spectrum
Loushkii lookbook voyager 2012 spectrum
loushkii
 
ukol KPI
ukol KPIukol KPI
ukol KPI
SlavoM
 
Rtlinux tutorial
Rtlinux tutorialRtlinux tutorial
Rtlinux tutorial
Kevin Paz
 

Destaque (20)

2013 ufsc rt_seccom
2013 ufsc rt_seccom2013 ufsc rt_seccom
2013 ufsc rt_seccom
 
cloning
cloningcloning
cloning
 
Kpi_závěr ukol
Kpi_závěr ukolKpi_závěr ukol
Kpi_závěr ukol
 
Catalog lc 2012-2
Catalog lc 2012-2Catalog lc 2012-2
Catalog lc 2012-2
 
Sandy financial analysis
Sandy financial analysisSandy financial analysis
Sandy financial analysis
 
Power point brescia
Power point brescia Power point brescia
Power point brescia
 
power point brescia
power point bresciapower point brescia
power point brescia
 
Loushkii lookbook voyager 2012 spectrum
Loushkii lookbook voyager 2012 spectrumLoushkii lookbook voyager 2012 spectrum
Loushkii lookbook voyager 2012 spectrum
 
ukol KPI
ukol KPIukol KPI
ukol KPI
 
Thấu hiểu và vượt qua sự trì hoãn
Thấu hiểu và vượt qua sự trì hoãnThấu hiểu và vượt qua sự trì hoãn
Thấu hiểu và vượt qua sự trì hoãn
 
Advertising awards
Advertising awardsAdvertising awards
Advertising awards
 
Rtlinux tutorial
Rtlinux tutorialRtlinux tutorial
Rtlinux tutorial
 
Rapid-fire BI
Rapid-fire BIRapid-fire BI
Rapid-fire BI
 
Woocommerce
WoocommerceWoocommerce
Woocommerce
 
Yahoo Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Yahoo Enabling Exploratory Analytics of Data in Shared-service Hadoop ClustersYahoo Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
Yahoo Enabling Exploratory Analytics of Data in Shared-service Hadoop Clusters
 
Modal verbs, English lessons, EFL
Modal verbs, English lessons, EFLModal verbs, English lessons, EFL
Modal verbs, English lessons, EFL
 
Project Management 101: Project Request Intake
Project Management 101: Project Request IntakeProject Management 101: Project Request Intake
Project Management 101: Project Request Intake
 
Advanced Excel &Basic Excel Training
Advanced Excel &Basic Excel TrainingAdvanced Excel &Basic Excel Training
Advanced Excel &Basic Excel Training
 
Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)Red hat enterprise linux 7 (rhel 7)
Red hat enterprise linux 7 (rhel 7)
 
RedHat Linux
RedHat LinuxRedHat Linux
RedHat Linux
 

Semelhante a 2013 ufsc rt_grad_class

Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
Himanshu Ghetia
 
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Michael Christofferson
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx
42MOHDASIL
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
Tech_MX
 

Semelhante a 2013 ufsc rt_grad_class (20)

UNIT V PPT.ppt
UNIT V PPT.pptUNIT V PPT.ppt
UNIT V PPT.ppt
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
Rtos 2
Rtos 2Rtos 2
Rtos 2
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Real Time OS For Embedded Systems
Real Time OS For Embedded SystemsReal Time OS For Embedded Systems
Real Time OS For Embedded Systems
 
Making Linux do Hard Real-time
Making Linux do Hard Real-timeMaking Linux do Hard Real-time
Making Linux do Hard Real-time
 
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0Four Ways to Improve Linux Performance IEEE Webinar, R2.0
Four Ways to Improve Linux Performance IEEE Webinar, R2.0
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
Linux-Internals-and-Networking
Linux-Internals-and-NetworkingLinux-Internals-and-Networking
Linux-Internals-and-Networking
 
EOS
EOSEOS
EOS
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how Testing real-time Linux. What to test and how
Testing real-time Linux. What to test and how
 
Real time system basic concept
Real time system basic conceptReal time system basic concept
Real time system basic concept
 
Comparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptxComparing Features of Real Time OS and Distributed.pptx
Comparing Features of Real Time OS and Distributed.pptx
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
Enea Enabling Real-Time in Linux Whitepaper
Enea Enabling Real-Time in Linux WhitepaperEnea Enabling Real-Time in Linux Whitepaper
Enea Enabling Real-Time in Linux Whitepaper
 
rtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdfrtosbyshibu-131026100746-phpapp01.pdf
rtosbyshibu-131026100746-phpapp01.pdf
 
Real time Operating System
Real time Operating SystemReal time Operating System
Real time Operating System
 
Embedded os
Embedded osEmbedded os
Embedded os
 
Operating system and security
Operating system and securityOperating system and security
Operating system and security
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

2013 ufsc rt_grad_class