电脑+实时+虚拟机=?
作为编程项目的一部分,这是一个相当高级的“这是否值得进一步调查”的问题。这个假设是否可能(如果可能的话哪个操作系统允许这样做)?
- 在现代 PC 上的虚拟机中运行的某种模糊实时操作系统。不需要像一个成熟的 RTOS,但我希望能够在 5 微秒内响应事件。
- 直接硬件(例如 I/O 端口)访问将使事情变得更容易
- 能够使用 HPET 或一些其他机制来实现高精度事件计时。
- 能够以EPP或ECP模式访问并行端口。
我对这种安排的可行性有几个疑问。
- 是否有可以使用 HPET 的模糊实时 PC 操作系统?
- 考虑到需要访问并行端口,是否有可能在虚拟机上获得约 5 us 的计时精度?即,并行端口本身的 VM 驱动程序是否会排除如此严格的时序?
This is a rather high-level "is this something worth investigating further" question as part of a programming project. Would this hypothetical be possible (and if so which OS would allow this)?
- Some sort of vaguely realtime OS running in a VM on a modern PC. Doesn't need to be like a full-blown RTOS, but I would like the ability to respond to events in say 5 microseconds.
- Direct hardware (e.g. I/O ports) access would make things easier
- Able to use the HPET or some other mechanism for high-precision event timing.
- Able to access the parallel port in EPP or ECP mode.
I have a few questions about the viability of such an arrangement.
- Is there a vaguely realtime PC OS that can use the HPET?
- Is it even possible to get ~5 us timing precision on a VM given the need to access the parallel port? I.e. would the VM driver for the parallel port itself preclude such tight timing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论