...
首页> 外文期刊>Embedded System Engineering >Multi-core CPUs Help Multi-OS Applications
【24h】

Multi-core CPUs Help Multi-OS Applications

机译:多核CPU帮助多OS应用程序

获取原文
获取原文并翻译 | 示例

摘要

Running multiple OSs on a single hardware platform can pose difficult software design challenges, particularly in applications where multiple real-time processing subsystems are involved. A virtual machine approach makes it possible. Making such an environment work, from a software point of view, requires the creation of multiple virtual machines. Each OS runs unmodified on its own virtual machine, using the hardware features of the CPU to keep each virtual machine from affecting the other. Dual-OS virtual machine systems exist today. The INtime RTOS has been deployed with realtime applications operating at cycle times of 500 to 1000 microseconds on single-core desktop and industrial motherboard platforms, by sharing the CPU with Windows and its applications. For realtime applications that require faster cycle times, the optimum solution was using a faster processor, but there are also limitations due to the overhead required to switch tasks. When two virtual machines share a CPU, as is the case with single-core processor designs, they must save a full machine context when switching between the two operating systems. Saving and restoring these contexts results in compromising event response latency and cycle times. Such compromises can contribute 10 to 30 microseconds to the worst-case timer interrupt jitter. For a cycle time of one millisecond, 10-30 microseconds of worst-case interrupt latency represents a jitter variation of only a few percent. But as cycle times decrease, for example from 200 to 50 microseconds, 10-30 microseconds of timer jitter becomes a significant number. When jitter is a significant percentage of the cycle time it adversely affects the stability and quality of the control algorithm. This degrades the stability margin of closed-loop control systems, especially naturally unstable systems like position-feedback motion control loops.
机译:在单个硬件平台上运行多个OS可能会带来困难的软件设计挑战,尤其是在涉及多个实时处理子系统的应用程序中。虚拟机方法使之成为可能。从软件的角度来看,使这种环境正常工作需要创建多个虚拟机。每个操作系统都使用CPU的硬件功能,在未修改的自己的虚拟机上运行,​​以防止每个虚拟机相互影响。当今存在双OS虚拟机系统。通过与Windows及其应用程序共享CPU,已将INtime RTOS部署在单核台式机和工业主板平台上,以500至1000微秒的循环时间运行的实时应用程序。对于需要更快周期时间的实时应用程序,最佳解决方案是使用更快的处理器,但由于切换任务所需的开销,因此也存在一些限制。当两个虚拟机共享一个CPU时(与单核处理器设计一样),当在两个操作系统之间切换时,它们必须保存完整的计算机上下文。保存和还原这些上下文会导致事件响应延迟和周期时间受到影响。这种妥协可能导致最坏情况的定时器中断抖动产生10到30微秒的时间。对于一毫秒的周期时间,最坏情况的中断等待时间为10-30微秒,表示抖动变化仅为百分之几。但是随着周期时间的减​​少(例如,从200微秒减少到50微秒),10-30微秒的计时器抖动将变得非常重要。当抖动占周期时间的很大百分比时,它将对控制算法的稳定性和质量产生不利影响。这降低了闭环控制系统的稳定性裕度,尤其是诸如位置反馈运动控制环之类的自然不稳定的系统。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号