Sun Java Realtime System on VirtualMachine / cloud

走远了吗. 提交于 2019-12-22 01:14:33

问题


Just wondering if anybody can run/compile application for Sun Java Realtime system JRE on a VM such as VMWare or on the Cloud such as on Amazon EC2 ?

I know it is not ideal running Realtime java on a virtualized infrastructure, but it makes things easier.

(Otherwise I just have to install SLES SP2 on physical hardware.)


回答1:


If you are talking about Java RTS, then there is little chance that you will get decent realtime behavior on a virtual machine of any kind. In fact, the webpage says that you need a realtime-capable OS, and it lists:

  • Solaris 10 (Update 6, Update 7)
  • SUSE Linux Enterprise Real Time 10 Service Pack 2 (SP2) update 6 (2.6.22.19-0.22-rt kernel)
  • Red Hat Enterprise MRG 1.1 Errata (2.6.24.7-126.el5rt kernel)

EDIT

Java RTS on top of a virtualization platform is problematic. When run in (for example) a VMware virtual, the Java RTS and its host OS do not have control over physical machine resources, and therefore are not in a position to make the performance guarantees required to implement realtime behavior. Hypothetically, you might be able to do this if the virtualization platform (including the base OS) was fully realtime capable. But I've never heard of such a thing ... and I have doubts that it is even possible.

As a corollary, I'd be very surprised to hear that Java RTS works "in the cloud". It would suffer from the same problems as an in-house virtualization platform, etc, plus the problems you have the internet between you and it.



来源:https://stackoverflow.com/questions/2564575/sun-java-realtime-system-on-virtualmachine-cloud

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!