Solved

64bit vs 32bit performance

Posted on 2000-02-22
3
194 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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ESX 5.0 Shows power supply failure 3 32
how to uninstall LSI SW successful 20 94
Fastest SSD 10 83
best recommendation for a hardware diagnostic tool 7 61
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

809 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