- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 or 64 bit application
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
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
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
тАО03-20-2003 02:29 AM
тАО03-20-2003 02:29 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 02:53 AM
тАО03-20-2003 02:53 AM
Re: 32 or 64 bit application
The process can use more address space in memory.
The 32 bit process can maximum use only 960MB of memory.These limitations can be overcome with 64 bit application.
The disadv I can see is that the 64 bit applications are not faster as the 32 bit ones.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 03:01 AM
тАО03-20-2003 03:01 AM
Re: 32 or 64 bit application
Also, if, for instance, there was 4Gb of memory on a server, would a 32-bit application have access to all of this memory i.e. if the first 3Gb of the memory was in use by other applications and the 32-bit application requested a few MB, could it address it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 03:33 AM
тАО03-20-2003 03:33 AM
Re: 32 or 64 bit application
This restriction is only for 32 bit hpux OS.
Regarding the other two queries.
1.Assume that i have a application which is using too much memory.
If that application process is a 32 bit then that individual process cannot cross/use more than 960MB of memory.
It would throw Out of memory errors.
Also I have attached a doc which would help on the performance of 64 and 32 bit programs
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065950687
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 03:42 AM
тАО03-20-2003 03:42 AM
Re: 32 or 64 bit application
In general, 32 bit apps are faster.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 03:53 AM
тАО03-20-2003 03:53 AM
Re: 32 or 64 bit application
If I have a 32-bit application then, provided that none of the individual processes that make up that application use more than 960Mb of memory, a 64-bit O/S will allow the application to use as much memory as it wants.
As my application uses lots of individual processes that need about 200Mb each, I can have lots of these processes and it will be better to keep the application 32-bit as it will be faster than 64-bit.
Finally, if my application was 64-bit, would it have problems interacting with 32-bit applications such as CODA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 04:06 AM
тАО03-20-2003 04:06 AM
SolutionIf part of the app however available only as (shared) labrary, that means that the complete app will have to use the same architecture. You cannot build 64 bit apps using 32 bit shared libs or vise versa.
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 07:55 AM
тАО03-20-2003 07:55 AM
Re: 32 or 64 bit application
Shared Memory
32-bit applications can only attach to shared memory segments which exist in a 32-bit virtual address space. 64-bit applications can attach to shared memory segments in a 32-bit or 64-bit virtual address space.
Does this mean that, if I have a lot of memory on my server that a 32-bit application cannot use all of it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 08:02 AM
тАО03-20-2003 08:02 AM
Re: 32 or 64 bit application
If you are running 32-bit applications, more than 4GB of RAM is a waste. Any and ALL 32-bit applications will work within the same memory area.
Now the caveat to this is if you use memory windows. Then each 32-bit application can run in its own memory window which will allow it to have, potentially its own 4GB memory area.
Have a look at the whitepapers:
/usr/share/doc/mem_mgt.txt
/usr/share/doc/mem_wndws.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2003 08:10 AM
тАО03-20-2003 08:10 AM
Re: 32 or 64 bit application
What you really need to find out is if your application has to link with ANY 32-bit libraries OR run in any 32-bit environments. If the answer to either question is yes, then your application should be 32-bit. NOTE: Mixed 32-bit and 64-bit is not possible - meaning all libraries and object files need to zig or to zag but not both.
It is perfectly ok for a 32-bit Oracle application to talk to a 64-bit server. You might find yourself in the situation where you only have available 32-bit versions of some needed libraries and 64-bit versions of others; you can still make this work but things now get much more complicated. You basically have to split into multiple processes, some 32-bit, others 64-bit and communicate between then using some for of IPCS.