Solved

64bit vs 32bit performance

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

Technology Partners: 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

Title # Comments Views Activity
ESX 5.0 Shows power supply failure 3 82
ShoreTel PBX blocking incoming number 1 141
RAM PROBLEM 5 62
Home lab datacenter 9 154
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

740 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