的Sun Java实时系统上的虚/云 [英] Sun Java Realtime System on VirtualMachine / cloud

查看:136
本文介绍了的Sun Java实时系统上的虚/云的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道如果任何人都可以运行/ VM上这样的编译应用程序的Sun Java实时系统JRE作为VMware或云上的,如在Amazon EC2上?

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 ?

我知道这是不是在虚拟化基础架构的理想运行实时Java的,但它使事情变得更加容易。

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

(否则,我只需要在物理硬件上安装SLES SP2。)

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

推荐答案

如果你正在谈论的的Java RTS ,则很少有机会,你会得到任何类型的虚拟机上体面的实时行为。事实上,该网页说,则需要一个实时能力的操作系统,并列出:

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(更新6,更新7)
  • 的SUSE Linux Enterprise实时版10的Service Pack 2(SP2)更新6(2.6.22.19-0.22-RT内核)
  • 在红帽企业MRG 1.1勘误表(2.6.24.7-126.el5rt内核)

修改

的Java RTS在虚拟化平台上是有问题的。当运行(例如)VMware虚拟时,Java RTS和主机操作系统并没有对物理机资源的控制,因此不能在一个位置,使实现实时的行为所需要的性能保证。可以想像,你也许可以做到这一点,如果虚拟化平台(包括基本OS)是完全实时能力。但我从来没有听说过这样的事......我有怀疑,甚至有可能。

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.

作为一个必然结果,我会很惊讶地听到了Java RTS作品在云端。这将遭受同样的问题作为一个内部的虚拟化平台等,再加上问题,你有你和它之间的网络连接。

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.

这篇关于的Sun Java实时系统上的虚/云的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆