1 / 24

Real Time Linux

Real Time Linux. Jettana Mutchakwang Tawatchai Iemparirote. Overviews. What is real time OS? Soft and Hard Real Time RTOS Feature Linux VS Real Time Modifications make Linux Real Time Real Time Linux Software. What is Real Time?.

Télécharger la présentation

Real Time Linux

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Real Time Linux Jettana Mutchakwang Tawatchai Iemparirote

  2. Overviews • What is real time OS? • Soft and Hard Real Time • RTOS Feature • Linux VSReal Time • Modifications make Linux Real Time • Real Time Linux Software

  3. What is Real Time? • การทำงานที่ต้องการความถูกต้องของเวลาโดยมีความผิดพลาดทางเวลาที่น้อยที่สุด

  4. Soft and Hard Real Time • Soft real-time คือ การทำงานที่รวดเร็วพอ แต่อาจมีความผิดผลาดของเวลาได้ เป็นบางครั้ง • Hard real-time คือ งานที่ต้องการความเที่ยงตรงและแม่นยำของเวลาสูง

  5. RTOS Feature • รูปแบบการทำงานพื้นของระบบปฏิบัติงานเวลาจริง(RTOS) ประกอบด้วย 3 ส่วน คือ • Application Task • Kernel • Hardware

  6. RTOS Feature (ต่อ) Application

  7. RTOS Feature (ต่อ) • บริการพื้นฐานสำหรับ RTOS มี 5 บริการ ดังนี้

  8. RTOS Feature (ต่อ) • Multitasking • การสลับการทำงานโดยดูจากค่าpriority • Schedulable : เกิดจากส่วนควบคุม(control block)มีการทำงานที่แน่นอน • non-schedulable : เกิดจาก Interrupt และ System call มีการทำงานไม่แน่นอน • Interrupt and Event Handing • การสนับสนุนการทำงานเกี่ยวกับ Interrupt ของส่วนควบคุมระดับล่าง (Low level control)

  9. RTOS Feature (ต่อ) • Synchronization • การจัดสรรทรัพยากรระบบซึ่งมีโปรโตคอลที่เกี่ยวข้อง 2 ตัว คือ • Priority inheritance protocol (PIP) • Priority ceiling protocol (PCP) • Communication • การแลกเปลี่ยนข้อมูลระหว่างโพเซสภายในprocessor เดียวกันหรือต่างprocessor โดยผ่าน shared memory, message queues, pipes, FIFOs and sockets

  10. RTOS Feature (ต่อ) • Timers and Clocks • สนับสนุนการทำงานของเวลาในระดับนาโนวินาที • Memory Management

  11. Linux VSReal Time • สาเหตุที่ Linux ไม่สามารถทำงานที่เป็น Real Time เช่น • Context switch time • Interrupt disabled delay • Non-preemptive kernel

  12. Modifications that make Linux Real Time • การทำ Real Time Linux มี 2 วิธี • Standard-Kernel Preemption • Real-Time Patches to the Standard Kernel • Micro Kernel • POSIX Real-Time Extensions • Nano Kernel • Resource Kernel Extension

  13. Modifications that make Linux Real Time

  14. Modifications that make Linux Real Time Preemptable Kernel Architecture

  15. Modifications that make Linux Real Time

  16. Modifications that make Linux Real Time

  17. Modifications that make Linux Real Time

  18. Real Time Linux Software • Real-time Linux Commercial Distributions • FSMLabs:RTLinuxPro • Koan Klinux • LynuxWorks:BlueCat RT • Concurrent:RedHawk • REDSonic:REDICE-Linux • TimeSys Reservations

  19. Real Time Linux Software • Open Source real-time Linux implementations • ADEOS • ART Linux • KURT • QLinux • RTAI • RTLinux

  20. Real Time Linux Software • Open source real-time performance enhancements & tool • A Linux kernel preemptability enhancement • A configurable Linux Real-time scheduler • Real-time Linux common API • EL/IX • Linux Trace Toolkit

More Related