- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 bit vs 64 bit compilation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 03:50 PM
тАО02-14-2005 03:50 PM
32 bit vs 64 bit compilation
What is the difference between compiling an application as 32 bit or 64 bit in hp-ux?
Is 64 bit is more advantageous than 32 bit compilation in memory usage, speed etc...?
Thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 04:17 PM
тАО02-14-2005 04:17 PM
Re: 32 bit vs 64 bit compilation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 04:20 PM
тАО02-14-2005 04:20 PM
Re: 32 bit vs 64 bit compilation
systems and 64 bits binaries on 64bit HP-UX systems,
ofcourse. 32 bit HP-UX is only supported for HP-UX
11.00 and HP-UX 11.11 (or 11i ver 1) and not on later
HP-UX versions (like 11i v1.6 or v2). 32 bit binaries are
guarrented to run on 64 bit systems, but 64 bit
binaries on 64 bit systems are most efficient. If
possible, I would advice you to compile your application
for 64 bit if it's intended to run on 64 bit system.
- Biswajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 04:27 PM
тАО02-14-2005 04:27 PM
Re: 32 bit vs 64 bit compilation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-14-2005 04:59 PM
тАО02-14-2005 04:59 PM
Re: 32 bit vs 64 bit compilation
Applications using 64 bit are must faster than 32 bit, because they use more address spacing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 08:08 PM
тАО02-15-2005 08:08 PM
Re: 32 bit vs 64 bit compilation
but from my experience, when benchmarking the single same code compiled in both 32 then 64 bit (on HPUX) and comparing the perf, I usually see between a raw 5-10% perf decrease from 32 to 64 bit, i.e. 64bit app is a bit slower.
This does not change anything to the fact that 64bit enables such a larger address space.
But on the pure perf aspect, 64-bit code is not faster than 32-bit code.
++Cyrille
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 08:15 PM
тАО02-15-2005 08:15 PM
Re: 32 bit vs 64 bit compilation
It depends on what you compile. If you compile the same application in 32 bit and 64 bit it will not be faster on 64 bit version.
If application is rewritten with 64 bit specific code or if application code includes the right #ifdef code, then it will be faster on 64 bit version (with 64 bit registers operations, arithmetic will be better)
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2005 09:13 PM
тАО02-15-2005 09:13 PM