<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 32 or 64 bit application in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931777#M818565</link>
    <description>As long as the interaction is based on IPC (inter process communication: shared memory, files, semaphores) 32- and 64- processes are not limited by the restrictions of each process. 32 and 64 bit processes can interact fine.&lt;BR /&gt;&lt;BR /&gt;If 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.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
    <pubDate>Thu, 20 Mar 2003 12:06:14 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2003-03-20T12:06:14Z</dc:date>
    <item>
      <title>32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931771#M818559</link>
      <description>We are planning the next release of our application.  It will use Oracle 9i so we need to use 64-bit HP-UX.  What I am unsure about is whether to build our application 32 or 64 bit.  What are the pros and cons of both.  My main concern is that we have to integrate with other applications (like CODA) which may be 32 bit only.</description>
      <pubDate>Thu, 20 Mar 2003 10:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931771#M818559</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2003-03-20T10:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931772#M818560</link>
      <description>Building application with 64 bit has a big advantage which can solve all the addressing limitations.&lt;BR /&gt;The process can use more address space in memory.&lt;BR /&gt;The 32 bit process can maximum use only 960MB of memory.These limitations can be overcome with 64 bit application.&lt;BR /&gt;&lt;BR /&gt;The disadv I can see is that the 64 bit applications are not faster as the 32 bit ones.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 20 Mar 2003 10:53:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931772#M818560</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-20T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931773#M818561</link>
      <description>Can you please expand a bit about the memory limitations of 32-bit applications.  Our application runs many independant processes, none of which would use anything like 960Mb of memory.  In total, however, they could exceed this amount.  Would this be a problem?&lt;BR /&gt;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?</description>
      <pubDate>Thu, 20 Mar 2003 11:01:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931773#M818561</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2003-03-20T11:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931774#M818562</link>
      <description>If your hpux Os is 64 bit then it would not be a problem accessing memory more than 4GB.&lt;BR /&gt;&lt;BR /&gt;This restriction is only for 32 bit hpux OS.&lt;BR /&gt;&lt;BR /&gt;Regarding the other two queries.&lt;BR /&gt;&lt;BR /&gt;1.Assume that i have a application which is using too much memory.&lt;BR /&gt;If that application process is a 32 bit then that individual process cannot cross/use more than 960MB of memory.&lt;BR /&gt;It would throw Out of memory errors.&lt;BR /&gt;&lt;BR /&gt;Also I have attached a doc which would help on the performance of 64 and 32 bit programs&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065950687" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065950687&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 20 Mar 2003 11:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931774#M818562</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-03-20T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931775#M818563</link>
      <description>If you plan to use perl with DBI/DBD::Oracle, and also need a lot of other modules, beware that some don't play nice with 64bit perl. Otherwise, it's up to your resource requirements if you want 32 or 64bit apps. For 64bit perl, please use 5.8.0 or higher. There have been a lot of 64bit issues been resolved since 5.6.1&lt;BR /&gt;&lt;BR /&gt;In general, 32 bit apps are faster.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 20 Mar 2003 11:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931775#M818563</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-03-20T11:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931776#M818564</link>
      <description>Let me see if I have got this straight.&lt;BR /&gt;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.&lt;BR /&gt;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.&lt;BR /&gt;Finally, if my application was 64-bit, would it have problems interacting with 32-bit applications such as CODA?</description>
      <pubDate>Thu, 20 Mar 2003 11:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931776#M818564</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2003-03-20T11:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931777#M818565</link>
      <description>As long as the interaction is based on IPC (inter process communication: shared memory, files, semaphores) 32- and 64- processes are not limited by the restrictions of each process. 32 and 64 bit processes can interact fine.&lt;BR /&gt;&lt;BR /&gt;If 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.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 20 Mar 2003 12:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931777#M818565</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-03-20T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931778#M818566</link>
      <description>The "HP-UX 64-bit Porting and Transition Guide" says ..&lt;BR /&gt;Shared Memory  &lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;Does this mean that, if I have a lot of memory on my server that a 32-bit application cannot use all of it?</description>
      <pubDate>Thu, 20 Mar 2003 15:55:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931778#M818566</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2003-03-20T15:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931779#M818567</link>
      <description>Yes, that is exactly what that means.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Have a look at the whitepapers:&lt;BR /&gt;/usr/share/doc/mem_mgt.txt&lt;BR /&gt;/usr/share/doc/mem_wndws.txt</description>
      <pubDate>Thu, 20 Mar 2003 16:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931779#M818567</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2003-03-20T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931780#M818568</link>
      <description>That's exactly what it means. The maximum addressable space in 32-bit land is 4GB so if you have a box with &amp;gt; 4GB of real or virtual address space, any single 32-bit process can only access at most 4GB - though in practice typically about half that.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 16:10:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931780#M818568</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-20T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931781#M818569</link>
      <description>That is just what I need to know.&lt;BR /&gt;&lt;BR /&gt;Clay, can you please explain to me why, in practice the 32-bit application can only access about half of the 4Gb of memory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 16:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931781#M818569</guid>
      <dc:creator>Ian Lochray</dc:creator>
      <dc:date>2003-03-20T16:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: 32 or 64 bit application</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931782#M818570</link>
      <description>The reason you can't usually use all 4GB of VAS space in 32-bit land is essentially that's it's not all flat space. The memory is divided into "quadrants". One quadrant is used to store instructions (text), another is used to store data, another shared memory. You can use some commands to cause the process to allow some of these sections to overlap. You do have the option of setting up memory windows for 32-bit applications in 64-bit land. Each 32-bit process gets an exclusive 4GB window.&lt;BR /&gt;&lt;BR /&gt;Search for "memory management" and "memory windows" for more info.&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Mar 2003 20:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/32-or-64-bit-application/m-p/2931782#M818570</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-03-20T20:15:20Z</dc:date>
    </item>
  </channel>
</rss>

