Solved

64bit vs 32bit performance

Posted on 2000-02-22
3
197 Views
Last Modified: 2010-04-26
I was looking through HP's faq for their HP-UX11 64bit OS, and I noticed something that surprised me. That is, running a 64bit application in the 64bit OS results in an 8-9% performance hit as compared to a 32bit app in a 32bit OS. Would this apply for other 64bit apps/OS as well? I understand that using 64bit gives you access to a boatload of memory compared to 32bit, so would you make up for the performance hit by utilizing more memory to run your app? Any additional comments about 32bit vs 64bit would be appreciated.

Thanks,

wEEpy
0
Comment
Question by:wEEpy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 2547164
There are several reasons and not all are exactly obvious:

1) 64 bit code is bigger than 32 bit code and so it takes longer to load.

2) The OS might not be 64 bit throughout.  This means that some 64-32 bit translation must take place and this adds overhead.  This happens, for example, in Win9x.  While Win9x is 32-bit, many of the supporting DLLs are still 16-bit code and Microsoft "thunks" the 32 bit calls down to 16-bit calls.  HPUX may be the same way.

3) The HP/PA RISC chip may be a bit slower when running 64 bit code due to the added overhead of processing the longer instruction stream.  This may be a limitation in the current PA architecture and would probably be addressed in a future version.

The biggest reason why apps get driven to a 64 bit architecture is memory space.  While 32-bits is huge for many apps, a massive database for example, may benefit from the increased memory space available on a 64 bit architecture.  As far as running fast just because there is more memory (or memory space) available depends on what is slowing down your app.  If it's floating point calculations, then more memory won't help it.
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 2550116
Anybody home????
0
 

Author Comment

by:wEEpy
ID: 2550439
Sorry jhance, didn't get to check yesterday after I posted. Thanks for the info.

wEEpy
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question