340 likes | 955 Views
Real Time Operating Systems QNx RTOS 6.1. Professor: Mohamed Khalil CSE 8343 GROUP-A1 Anita Kanuganti. Agenda. Overview Features Examples of RTOS QNx RTOS v 6.1 System Architecture Task Handling Method Memory Management Method Interrupt Handling Method Internet Support
E N D
Real Time Operating SystemsQNx RTOS 6.1 Professor: Mohamed Khalil CSE 8343 GROUP-A1 Anita Kanuganti
Agenda • Overview • Features • Examples of RTOS • QNx RTOS v 6.1 • System Architecture • Task Handling Method • Memory Management Method • Interrupt Handling Method • Internet Support • Most widely used Tools • Positive & Negative points Conclusion • References
Real time systems • “Real-time computing is computing where system correctness depends not only on the correctness of the logical result of the computation but also on the result delivery time”
Real time operating systems(RTOS) • A good RTOS can be defined as one that has a bounded (predictable) behavior under all system load scenarios (simultaneous interrupts and thread execution.
RTOS Features: • Small Footprint • Preemptible • Multi-architecture • Predictable response times to electronic events
Examples • QNx • VxWorks • Windows NT • Windows 2k • Linux • Linux/RT
Introduction to QNx RTOS v 6.1 • QNx is a RTOS from QNx Software Systems Ltd • Commercial POSIX-compliant OS • Designed for embedded systems • Contains micro-kernel,internet software, including a web browser and server, embeddable graphical user interface, comprehensive software library
QNx System Architecture Micro-kernel Architecture: Processes P1 IPC Network Interface Network Manager P2 Scheduler P3 Hardware Interrupt Redirector P4 Interrupts
Cont’dQNx - System Architecture • True client-server architecture • Message-based OS • Supports SMP and high availability features • Advantages: • Robustness • Reliable • Disadvantage: • Overhead caused by memory protection
Task Handling Method • Processes & Threads • Scheduling Policies • Prioritized FIFO • Round – Robin scheduling • Adaptive • Sporadic
Memory Management Method • Virtual memory supported by paging mechanisms of processor • Swapping disk enabled by “unlock” calls • Demand paging not implemented due to real time nature • Full virtual memory protection • Physical page size is 4k
Interrupt Handling Method • Interrupt handled in nested and prioritized fashion • Interrupt service routine(ISR) runs in the context of the thread that attached it • ISR has its own stack • Interrupt to task communication through signals and pulses
Internet Support • Voyager Web Server: an HTTP server to serve web pages • Voyager Web Browser for viewing information • Voyager SDK to build internet enabled applications
Most widely used Tools • Metrowerks Codewarrior IDE • GCC Toolkit • Photon developer’s toolkit to develop photon user interfaces • TCP/IP toolkit
Positive points Fast and predictable Excellent architecture for distributed Robust systems Good Platform support Negative points Documentation QNx RTOS v6.1
Conclusion • The system can be seamlessly distributed over several nodes, and is network transparent • True client-server architecture which improves its robustness and reliability • System’s performance is fast and predictable • As opposed to the earlier versions of QNx RTOS, which only supported the Intel x86 family of processors, version 6.x also supports MIPS, PowerPC, StrongARM and SH4
References: • “Real-Time Systems & Software” Alan C. Shaw. • http://www.dedicated-systems.com/Encyc/