当前位置: 首页 > 工具软件 > RT-Linux > 使用案例 >

linux real时间,【整理】RT-linux 实时Linux RealTime Linux

谭勇
2023-12-01

折腾:

【整理】数控系统 操作系统

期间,看提到了RT-linux

去研究看看

RT-linux

Vanilla kernel的问题

Linux kernel在spinlock、irq上下文方面无法抢占,因此高优先级任务被唤醒到得以执行的时间并不能完全确定。同时,Linux kernel本身也不处理优先级反转。

RT-Preempt Patch是在Linux社区kernel的基础上,加上相关的补丁,以使得Linux满足硬实时的需求

。。。

时间在可预期的范围内,没有出现标准kernel里面jitter达到331482的情况。需要说明的是,这个jitter大到超过了我们的预期,达到了10ms量级,相信是受到了我们的测试都是在Virtualbox虚拟机进行的影响。按照其他文档显示,这个jitter应该在数十us左右。”

RTLinux[1](或称作实时Linux)是Linux中的一种实时操作系统。它由美国新墨西哥州立大学数据挖掘技术学院的V. Yodaiken开发。当前,RTLinux有一个由社区支持的免费版本,称为RTLinux Free,以及一个来自FSMLabs的商业版本,称作RTLinux Pro。

RTLinux通过硬件和操作系统间的中断控制来支持硬实时(确定性)操作。进行确定性处理所需要的中断由实时核心加工,其他中断被送往非实时操作系统。操作系统运行为低优先级线程。先进先出管道(FIFOs)或共享内存可以被用来在操作系统和实时核心之间共享数据。

【整理】Wind River和Wind River Linux

* RTLinux-GPL – GPL版本

-》

-》

RTLinux is a hard realtime real-time operating system (RTOS) microkernel that runs the entire Linux operating system as a fully preemptive process. The hard real-time property makes it possible to control robots, data acquisition systems, manufacturing plants, and other time-sensitive instruments and machines from RTLinux applications. Even with a similar name it is not related the Real-Time Linux project of the Linux Foundation.[1]

【总结】RTLinux名字上很相似,但是和Real-Time Linux没关系

 类似资料: