分享

Speed Test of 64-bit Computing with 64-bit and 32-bit Programs

 看见就非常 2012-09-03
Prof. 陈家琪   2012-8-24

Speed Test of 64-bit computing with 64-bit and 32-bit programs on Windows 7 Ultimate x64 sp1. The programs are 64-bit mode and to 32-bit mode of the 64-bit integer , Base run time for integer benchmarks given by TestSpeed tools.

Code: TestSpeedx32x64 v1.0 It also contains EXE file and project files. TestSpeedx32x64 v1.1
Program tool: Pelles C Complete 7.0 64-bit a complete development kit for Windows and Pocket PC. It also contains an IDE with project management. The compiler is based on LCC.


 


Mobile DualCore Intel Core 2 Duo i5-2467M 1.6GHz, DDR3-1333 4GB


Mobile DualCore Intel Core 2 Duo T7500 2.2GHz, DDR2-667 2GB


Intel Core 2 Duo E8400 3.6GHz, DDR2-800 4GB (Windows XP Pro x64 sp2)


Intel Core 2 Quad Q6600 3.0GHz, DDR2-667 2GB (Windows XP Pro x64 sp2)


Windows 7 Ultimate x64 sp1 Windows 7 Ultimate x64 sp1 Windows XP Pro x86 sp2
Intel Pentium 4 516 2.93GHz, DDR-266 1GB


32 bit vs 64 bit Comparison
There are many, many threads on this one simple question: 32 bit or 64 bit Windows?
Well, there are a few things to consider when making this choice. The most obvious difference between 32 bit and 64 bit is the amount of RAM the system can use. The limit on 32 bit is 4Gb of RAM, whereas a 64 bit operating system (OS) can use up to 8Tb (128 in 64 bit Vista, and 192Gb in Seven).

HOWEVER, this is not the only difference, nor is it the only thing that should be considered. This post will cover the basics of 32 bit computing vs. 64 bit computing in an understandable and simple summary.
*If you are looking for a quick comparison, read the Basics and scroll down to the Pros and Cons and Conclusion sections*

The Basics
-The big difference between 32 bit systems and 64 bit systems is the “Addressable Space”. Each device in the system is assigned an address, which takes some of this space. Because the address space is limited, the more hardware you have, the more space is required to address them. Memory (RAM) will get what is left over, and it is this is what takes usable memory in a 32 bit system from 4Gb of RAM to around 3.25Gb.
-Most software today is written and optimized for 32 bit architecture. This means that there will not be a large performance increase by switching. However, for the few pure 64 bit programs out (such as 64 bit Photoshop), there can be a substantial difference.

32 bit OS
-A 32 bit OS can only address 4Gb of memory. Some of this is then allocated to hardware devices, usually dropping the available RAM to 3.25Gb or 3.5 Gb.
-The addressable space also applies to programs, giving a 2Gb limit of RAM to any one process. This means that 32 bit Photoshop can only ever access up to 2Gbs of RAM.
-Drivers are always a concern. Drivers for hardware usually have a 32 bit version, and there is usually not a problem with 32 bit drivers (finding or using).
-A 32 bit OS has a lower memory requirement to run. For Windows 7, the minimum RAM needed is 1Gb

64 bit OS
-A 64bit OS can address up too 8Tb of RAM (128 in 64 bit Vista, and 192Gb in Seven).
-The addressable space for a 64 bit process is 8Tb. However, a 32 bit process still has the 2Gb limit. So 64 bit Photoshop can access up to 8Tb of RAM, while 32 bit Photoshop (running on a 64 bit OS) will still only be able to access up to 2Gb.
 -64 bit drivers used to be harder to find. However, since Vista 64bit drivers have become almost as common as 32bit drivers. In order for a driver to be WHQL-certified by Microsoft, there must be a 32bit and 64bit version of it, which has really helped in producing drivers. I have been running a 64bit OS since Vista and have yet to find a program that doesn't work or hardware that doesn't have a 64bit driver.
-64 bit OS needs more RAM to operate (minimum of 2Gb for Windows), and programs slightly more RAM. This is countered by being able to add WAY more RAM (I have never encountered a problem with 4Gb of RAM on my 64 bit system)
-There is no longer 16 bit compatibility

Misconceptions
-RAM limit is the only difference: This is obviously the most well-known difference, but is completely false. There are WAY more differences, some of which go way deep into computer architecture, and others that don't make a difference in performance.
-Non-compatibility: Some people believe that certain things will not work in 64 bit OS, etc. While 32 bit programs and 64 bit programs are NOT COMPATIBLE with the other system (64 bit and 32 bit respectively), Microsoft writes their Operating Systems with a Hybrid architecture (Windows In Windows, or WoW). This means that most 32 bit programs will work on 64 bit systems.
-No performance difference: This one is a quirky question. In general, there is not a large performance increase by switching to 64 bit. This is because most programs are still written with 32 bit architecture in mind, and do not need more than 2Gb of RAM. The difference starts to shine when running things like 64 bit Photoshop or CAD programs where LOTS of RAM is used.
 -32 bit is better for gaming because of compatibility issues with the games or drivers: This one just isn't true. I have been running a 64 bit OS exclusively since Vista, and not once have I had a driver or game (except very old) incompatibility. If you are a gamer, a 64 bit OS would be the better choice, especially so you can use more RAM.

Pros (of switching to a 64 bit OS)
-Certain programs written for 64 bit computers can make better use of CPU and RAM, giving a LARGE performance boost (such as 64 bit Photoshop)
-More RAM is available
-64 bit is becoming more and more common. As average RAM in a system increases, there will be no choice BUT a 64 bit system.

Cons (of switching to a 64 bit OS)
-Certain programs may not be compatible with the new OS (very rare)
-Needs a minimum of 2Gb of RAM to run
-Needs a 64 bit processor to run (most made since 2003 are 64 bit)
-System uses more RAM to run the OS and programs
-Drivers may be harder to find and use

Conclusion
In the end, I usually recommend using a 64 bit operating system for all of its advantages. I have used a 64 bit OS for years now, and have encountered so few problems that I have no real reason to NOT recommend it.
However, if you plan on having less than 3Gb of RAM, have an older computer, or a 32 bit processor, I usually recommend a 32 bit system.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多