- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 or 64 bit?
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
07-23-2003 07:15 AM
07-23-2003 07:15 AM
PA-RISC1.1 shared executable dynamically linked
If it is 64-bit it'll say:
ELF-64 executable object file - PA-RISC 2.0 (LP64)
When I run 'getconf KERNEL_BITS' it says 64 and when I do a 'file /stand/vmunix' it gives me the "ELF..." output from above. But, almost every other binary I check gives me the
"PA-RISC1.1..." output. Does this mean that the OS is 64-bit, but I'm running almost all 32-bit binaries? Does this matter?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:22 AM
07-23-2003 07:22 AM
Re: 32 or 64 bit?
# getconf KERNEL_BITS
It will return 32 or 64. The 'file' command will tell you what that particular binary is. A lot of the HP-UX commands are probably 32-bit, which doesn't really matter. Your biggies will be your applications. Without 64-bit you can't take advantage of virtually unlimited shared memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:27 AM
07-23-2003 07:27 AM
SolutionYes and Maybe (respectively).
Yes, you are running a 64-bit kernel. Both 'getconf' and 'file /stand/vmunix' tell you that. Yes, too, your binaries are 32-bit ones.
No, running 32-bit binaries in a 64-bit environment isn't the end of the world. Obviously, they can't address large amounts of memory, and if its Oracle, for instance, you are seriously constraining yourself in terms of the SGA size you can have!
Remember taht the kernel parameters 'maxdsiz', 'maxssiz' and 'maxtsiz' operate for 32-bit binaries whereas the same parameters suffixed with "_64bit" apply to 64-bit ones.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:34 AM
07-23-2003 07:34 AM
Re: 32 or 64 bit?
We run Oracle 64 bit EE database server and 9ias Application server from Oracle. They work fine together.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 07:50 AM
07-23-2003 07:50 AM
Re: 32 or 64 bit?
The one binary that is causing this error is 32-bit, but the vendor has been claiming that it is 64.
Anyway... if they are 32-bit, what is the limit for shared memory? and how does it work? I think I read somewhere that it is 1.75Gb. We have our shmmax kernel param set to 15000000000 (approx 15Gb) and we have 16Gb of physical memory. Does this mean that 32-bit apps can only access the first 1.75Gb of shared memory? And, if there is not a segment large enough to fit the apps request within that first 1.75Gb, then it fails?
Thank you all for your assistance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:54 AM
07-23-2003 10:54 AM
Re: 32 or 64 bit?
thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 11:15 AM
07-23-2003 11:15 AM
Re: 32 or 64 bit?
You are also correct in saying that you can have two different 32 bit apps, one will work on 64 bit HP-UX, the other will not.
Your research will lead you back to the application vendor eventually.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 11:26 AM
07-23-2003 11:26 AM
Re: 32 or 64 bit?
Yes, the limit for shared memory (SMHMAX) is 0x40000000 or about 1GB in decimal for 32bit applications. Memory Windows would extend that, but you really need the 64-bit environment addressing!
See here:
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparams.OverviewAll.html
Regards!
...JRF...