天天看点

java开发用amd处理器_为什么我的Java应用程序在AMD处理器上速度更快?

java开发用amd处理器_为什么我的Java应用程序在AMD处理器上速度更快?

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

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?

解决方案

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

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.