优点/缺点64位Linux服务器上运行64位JVM? [英] Benefits/drawbacks to running 64-bit JVM on 64-bit Linux server?

查看:207
本文介绍了优点/缺点64位Linux服务器上运行64位JVM?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们运行32位Sun Java 5的JVM上的64位Linux 2.6服务器,但显然这限制了我们每个进程的最大内存为2GB。因此,它被建议我们升级到64位JVM的删除限制。目前,我们在服务器上运行多个JVM(Tomcat实例),以保持在2GB限制,但我们想巩固他们在简化部署的利益。

We run the 32-bit Sun Java 5 JVM on 64-bit Linux 2.6 servers, but apparently this limits our maximum memory per process to 2GB. So it's been proposed that we upgrade to the 64-bit JVM's to remove the restriction. We currently run multiple JVM's (Tomcat instances) on a server in order to stay under the 2GB limit, but we'd like to consolidate them in the interest of simplifying deployment.

如果你这样做,你可以分享你的经验吗?你运行64位JVM的生产?你会推荐住在Java 5中,或将它是确定移动到这两个Java 6中的的64位同步?我们应该期待的性能问题,无论是好还是坏?是否有任何特定的领域,我们应集中我们回归测试?

If you've done this, can you share your experiences, please? Are you running 64-bit JVM's in production? Would you recommend staying at Java 5, or would it be ok to move to both Java 6 and 64 bits simultaneously? Should we expect performance issues, either better or worse? Are there any particular areas we should focus our regression testing?

感谢您的任何提示!

推荐答案

开普勒的科学操作中心我们有大约50台机器有32 -64G每个。在JVM中堆通常是7-20G。我们使用的是Java 6的操作系统有Linux 2.6内核。

At the Kepler Science Operations Center we have about 50 machines with 32-64G each. The JVMs heaps are typically 7-20G. We are using Java 6. The OS has Linux 2.6 kernel.

当我们迁移到64位我预期会有与运行64位JVM,但真的再也没有出现过的一些问题。出内存不足的情况​​更加难以调试,因为堆转储是如此大得多。该的Java服务包装的需要进行一些修改,以支持更大的堆大小。

When we migrated to 64bit I expected there would be some issues with running the 64-bit JVM But really there have not been. Out of memory conditions are more difficult to debug since the heap dumps are so much larger. The Java Service Wrapper needed some modifications to support larger heap sizes.

有网站声称GC不能扩展以及过去2G一些网站上,但我还没有看到任何问题。最后,我们正在做的吞吐量密集而是交互式密集计算。我从来没有看潜伏期差异;我的猜测是最坏的情况下GC滞后时间会比较长具有较大的堆大小。

There are some sites on the web claiming GC does not scale well past 2G, but I've not seen any problems. Finally, we are doing throughput intensive rather interactive intensive computing. I've never looked at latency differences; my guess is worst case GC latency will be longer with the larger heap sizes.

这篇关于优点/缺点64位Linux服务器上运行64位JVM?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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