brief history of real-time linux - linux world



《brief history of real-time linux - linux world》由会员分享,可在线阅读,更多相关《brief history of real-time linux - linux world(34页珍藏版)》请在装配图网上搜索。
1、Click to edit the title text format,Click to edit the outline text format,Second Outline Level,Third Outline Level,Fourth Outline Level,Fifth Outline Level,Sixth Outline Level,Seventh Outline Level,Eighth Outline Level,Ninth Outline Level,*,A Brief History of Real-Time Linux,Sven-Thorsten Dietrich,M
2、ontavista Software,Inc.,EB II Room 1226,April 12,2006:1:50-2:45,Raleigh,NC,Real Time Overview,Real-Time Linux Background,Real-Time Linux Evolution,Real-Time Linux Enablers,Real-Time Inhibitors,Interrupt Latency,Kernel Locking,Legacy Locking,Real-Time Kernel,Interrupt Handlers,PI Mutex,Performance/Be
3、nchmarks,Acceptance,Virtualization,2,Evolution of Linux,Early Linux Not Designed for Real-Time Processing,Early Linux(1.x Kernel)installations on retired Windows PCs,Old/Obsolete hardware useful under Linux due to efficiency of O/S,Linux outperformed Windows in reliability and uptime(still does),Lin
4、ux Design:Fairness,Throughput and Resource-Sharing,Basic Unix development design principles applied in Kernel,Heavily(over)-loaded systems continue to make progress,Does not drop network connections or starve users/applications,Fairness-and Resource-Sharing Design is Linuxs Strength,contributed to m
5、ake Linux competitive and popular in the enterprise-server and development-application environments,Gave rise to RedHat and others.,Essential to the evolution of Linux,endemic of UNIX legacy,3,Why Linux in Real-Time Systems?,Not because of the Kernels Real-Time Performance!,UNIX-legacy Operating Sys
6、tems were designed with operating principles focused on,throughput,and,progress,User tasks should not stall under heavy load,System resources must be shared fairly between users,Fairness,progress and resource-sharing conflict with the requirements of time-critical applications,VIP vs.General Admissi
7、on,UNIX systems(and Linux)are historically not Real-Time OS,Linux has lagged many commercial Unixs in Real-Time performance-enhancement and Real-Time capabilities,Solaris,LynxOS,QNX,SCO,4,Why Real-Time in Linux Systems(Embedded),Most Important Factors Inhibiting Linux Adoption,Data from VDC,“Linuxs
8、Future in the Embedded Systems Market,June 2004,5,Real-Time in Handheld&Embedded Systems,Cost/Performance/Power/Weight Compromise,Competitive,High-Volume,Low-margin Markets,Maximum Feature-set,Add-ons,Responsive UI feel,Device specs:minimal CPU&Memory&Battery Powered,Minimal CPU=High CPU utilization
9、,High CPU load+Time-Critical functionality,RT specs,Real-time Requirements will,never,be alleviated by Improvements in Hardware Performance/Efficiency,Software utilizing latest hardware technologies easily keep up with,and usually out-paces,advances in hardware technology,If you dont believe that,go
10、 shopping(for a mobile phone),6,Real-Time Linux 2.6 Enablers,Pro-Audio Performance Requirements,Audio Community Involved in Kernel-Preemption since 2.2,Audio Community strongly Endorsing RT technology,Embedded Application Domain,Single-Chip,Mobile Applications(Wireless/Cellular Handsets),Predictable
11、 OS performance eliminates HW design uncertainty,Reliable Prototyping and Improved Product Scheduling,Multimedia Carrier(QOS)Application Domain,Telephony,Audio/Video/Multimedia/Home Entertainment,Fine-Granular Preemption improves SMP scalability,Mainstreaming of SMP Technology,Dual/Quad/Octa-Core In
12、tel,AMD,PPC,Arm,7,Real-Time and Linux Kernel Evolution,Gradual Kernel Optimizations over Time,SMP Critical sections(Linux 2.x),Low-Latency Patches(Linux 2.2),Preemption Points/Kernel Tuning(Linux 2.2/2.4),Preemptible Kernel Patches(Linux 2.4),Fixed-time“O(1)Scheduler(Linux 2.6),Voluntary Preemption(
13、Linux 2.6),In 2003-04 Linux 2.6 RT Technology Regressed,Early Linux 2.6 Real-Time Performance was worse than 2.4 Kernel Performance,Audio Community and others balked at moving to 2.6 Kernel Base,What Happened?,8,Real-Time Inhibitor:Critical Section Locking,Linux 2.6 Kernel Critical Sections are Non-
14、Preemptible,Critical sections protect shared resources,e.g.hardware registers,I/O ports,and data in RAM,Critical sections are shared by Processes,Interrupts and CPUs.,Effective protection is provided by the Spin-Lock Subsystem,Critical sections must be locked and unlocked,Locked critical sections ar
15、e not preemptible,Linux 2.6 Kernel has 11,000 critical sections,Exhaustive Kernel testing to identify worst-case code paths,Labor-intensive cleanup of critical sections,No control over 3,rd,party drivers,Worst-case after cleanup still not acceptable,Maintenance,community education,policing/regressio
16、n testing,9,Real-Time Inhibitor:Interrupt Handlers,Linux 2.6 Kernel:Unbounded IRQ subsystem latencies,Task-Preemption latency increases with hardware-interrupt load,Interrupts cannot be preempted,No Priorities for Interrupts,IRQ Subsystem always preempts tasks unconditionally,Unbounded SoftIRQ subsystem(“Bottom Half Processing),Activated by HW IRQs(Timers,SCSI,Network),SoftIRQs re-activate,iterate,Driver-level adaptations,Network Driver NAPI adaption reduces D.o.S.effects of high packet loads,10
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 踏春寻趣 乐享时光——春季旅游踏春出游活动
- 清明假期至安全不缺席风起正清明安全需守护
- 全国党员教育培训工作规划
- XX中小学公共卫生培训树立文明卫生意识养成良好卫生习惯
- 小学生常见传染病预防知识培训传染病的预防措施
- 3月18日全国爱肝日中西医结合逆转肝硬化
- 肝病健康宣教守护您的肝脏健康如何预防肝炎
- 垃圾分类小课堂教育绿色小卫士分类大行动
- 中小学班主任经验交流从胜任到优秀身为世范为人师表 立责于心履责于行
- 教师数字化转型理解与感悟教师数字化转型的策略与建议
- 团建小游戏团建破冰小游戏团队协作破冰游戏多人互动
- 教师使用deepseek使用攻略让备课效能提升
- 办公室会议纪要培训会议内容会议整理公文攥写
- 党员要注重培塑忠诚奋斗奉献的人格力量
- 橙色卡通风儿童春季趣味运动会