天天看點

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.