为什么我的Java应用程序在AMD处理器上速度更快? [英] Why is my java application faster on an AMD processor?

查看:448
本文介绍了为什么我的Java应用程序在AMD处理器上速度更快?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我观察到,与英特尔CPU相比,在AMD处理器上执行时,我的Java应用程序运行速度快得多

I made the observation that my java application is running much faster when executed on an AMD processor in contrast to an Intel CPU.

例如,我的JBoss在3 GHz AMD处理器上启动大约需要30秒,而在具有相同磁盘,RAM和OS的3 GHz Intel处理器上需要大约60秒?

For example my JBoss starts in about 30 seconds on a 3 GHz AMD processor and needs about 60 seconds on a 3 GHz Intel processor with identical disc, RAM and OS?

是否有有人做过这个观察吗?为什么会这样呢?

Has anyone else made this observation? Why is this so?

推荐答案

这也取决于CPU的产生-时钟速度并不是全部。

It depends on the CPU generation as well - clock speed is not everything.

如果您设置例如具有相同时钟速度的Intel Pentium 4和AMD Phenom,您会看到在支持Phenom方面有很大差异。

If you set up e.g. an Intel Pentium 4 and an AMD Phenom with the same clock speed, you'll see a large difference in favour of the Phenom.

更新:如果您真的很好奇,请使用探查器并发布结果。

Update: If you're really curious, use a profiler and post the results.

这篇关于为什么我的Java应用程序在AMD处理器上速度更快?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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