- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 32bit and 64bit difference
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
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
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
09-10-2002 10:46 AM
09-10-2002 10:46 AM
I was trying to look for some information about what's the difference between 32bit and 64bit executables. And I have a question does 32bit/64bit refers to size of internal registers of the processor architecture or does it relate to something else?
Another question what does 'memory alignment' means?
Thanks to all in advance....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 10:54 AM
09-10-2002 10:54 AM
SolutionIn the HP-UX world, 32-bit code will execute on 64-bit processors but the converse is not true. THe biggest difference is the amount of address space that each can access; in almost all cases, 64-bit is not faster than 32-bit. You should really think of the difference as a resource enabler rather than a performance enhancer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 11:00 AM
09-10-2002 11:00 AM
Re: 32bit and 64bit difference
e.g. consider this strut:
struct xx
{
char c; /* 1 byte */
int i; /* 4 bytes */
double /* 8 bytes */
char string[12]; /* 12 bytes */
} x;
Now you might expect that struct to occupy 25 bytes but it almost certainly won't. The details vary between architectures and compiler options used but in almost every case, at the very least, a 'hole' is left in the following the char c variable. The memory access is much more efficient if it occurs on word size boundaries. A tradeoff is made between memory usage efficiency and speed of memory access usually in favor of speed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 11:38 AM
09-10-2002 11:38 AM
Re: 32bit and 64bit difference
There's a lot published on 32/64 bit, here are a few links:
http://devresource.hp.com/STK/partner/3264interop.html (interoperability of 32- and 64-bit applications on 64-bit HP-UX)
http://devresource.hp.com/STK/srctransitions.html
http://devresource.hp.com/STK/hpux_faq.html
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2002 11:39 AM
09-10-2002 11:39 AM
Re: 32bit and 64bit difference
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 05:18 AM
09-11-2002 05:18 AM
Re: 32bit and 64bit difference
With respect to the word size tradeoff,
How can I know the default word size in an architecture?
Thanks again to all...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2004 04:34 PM
07-29-2004 04:34 PM
Re: 32bit and 64bit difference
Thanks for your Query and for all other's reply ...
I think it is too late...
But hope this helps
For Default Word Length
getconf WORD_BIT
Regards,
Ram.