[转帖]Ubuntu: 32-bit v. 64-bit Performance

不同视角、不同观点、深度探讨,禁止人品和道德攻击
回复
头像
ilv4
帖子: 76
注册时间: 2007-06-16 23:25
来自: 新加坡
送出感谢: 0
接收感谢: 0

[转帖]Ubuntu: 32-bit v. 64-bit Performance

#1

帖子 ilv4 » 2007-07-21 13:17

While 64-bit support is now considered common for both Intel and AMD processors, many Linux (as well as Windows) users are uncertain whether to use a 32-bit or 64-bit operating system with there being advantages for both paths. With this being the last Phoronix article for 2006, we decided to take this opportunity to look at this common question of whether to use 32-bit or 64-bit software. In this article, we will be comparing the i386 and x86_64 performance with Ubuntu 6.10 Edgy Eft and Ubuntu 7.04 Feisty Fawn Herd 1 to see how the numbers truly stack up.

One of the common (and leading) reasons for 64-bit processor owners continuing to use 32-bit software is due to some software not being available for x86_64 Linux. The key package that keeps many Linux users to running i386 software is for Macromedia Flash Player support (though 32-bit Firefox on 64-bit Linux fixes that issue or using Gnash). Linux provides backward compatibility for running 32-bit executables and most open-source software can easily be compiled for x86_64.

Both i386 and x86_64 versions of Ubuntu 6.10 Edgy Eft and Ubuntu 7.04 Feisty Fawn Herd 1 were used for testing. An AMD Athlon 64 X2 processor was selected for comparing the 32-bit and 64-bit performance of both Ubuntu Linux builds. Below is a list of all the hardware used for testing as well as the major software versions. The ATI Radeon X300SE was used with the open-source R300 Radeon drivers and the options set were AccelMethod: XAA, AccelDFS: 1, GARTSize: 64, EnablePageFlip: 1, and ColorTiling: 1.

Hardware Components
Processor: AMD Athlon 64 X2 4200+
Motherboard: Abit KN9 Ultra
Memory: 2 x 1GB OCZ DDR2-800
Graphics Card: ATI Radeon X300SE
Hard Drives: Seagate 160GB SATA2
Optical Drives: Lite-On 16x DVD-ROM
Cooling: OCZ Tempest
Power Supply: SilverStone Zeus ST75ZF 750W
Software Components
Operating System: Ubuntu Edgy Eft 6.10 (i386 & x86_64)
Ubuntu Feisty Fawn 7.04 Herd 1 (i386 & x86_64)
Linux Kernel: 2.6.17-10-generic
2.6.19-7-generic
GCC: 4.1.2
X.Org: 7.1.1

The benchmarks used for comparing 32-bit and 64-bit Linux was Unreal Tournament 2004, Gzip compression, LAME compilation, LAME encoding, RAMspeed, and kernel compilation. The kernel we had used for measuring the compilation time was the 2.6.19 vanilla kernel. The remainder of the benchmarks were used using our standard Phoronix benchmarking practices.

图片

图片

图片

图片

图片

图片

图片

Looking over the results 64-bit Ubuntu was able to provide a strong advantage in the GCC benchmarks with both LAME and the Linux 2.6.19 kernel compilation. However, a slight advantage had remained with both Unreal Tournament 2004 and the LAME encoding tests in a 32-bit environment. Outside of the i386 and x86_64 analysis, it is also worth noting that at this time there are no real speed increases between Edgy Eft and Feisty Fawn; however, this was only the first Alpha (Herd) release of many to come before the April 2007 release of Ubuntu 7.04.
CCIE (RS, SEC & SP), JNCIE
ThinkPad TW510: i720, 8GB RAM, 256GB SSD, 15.4in 1920x1080 LCD, 1GB nVIDIA Quadro FX 880M, DVDRW, Intel 802.11agn wireless, Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, FPR, 9c Li-Ion
回复

回到 “深度PK版”