<?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: chatr utility in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341514#M712565</link>
    <description>There is a good white paper on memory management and it should be on your machine.&lt;BR /&gt;&lt;BR /&gt;Check for /usr/share/doc/mem_mgt.txt&lt;BR /&gt;&lt;BR /&gt;Have a read through that document and it should explain a lot of things.&lt;BR /&gt;&lt;BR /&gt;It is also available online:&lt;BR /&gt;&lt;BR /&gt;Memory Management Whitepaper Part I -&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Memory Management Whitepaper Part II - &lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Jul 2004 17:52:21 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2004-07-26T17:52:21Z</dc:date>
    <item>
      <title>chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341509#M712560</link>
      <description>&lt;P&gt;&lt;SPAN&gt;My question is this. Can an program be written to use more than 1GB of memory without using the chatr utility in HP11 to enable private 3rd and 4th quadrant memory spaces?&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried -N in compiling, it compiled clean but was not able to access any more memory than I had without the above option.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2012 04:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341509#M712560</guid>
      <dc:creator>Gerardo Martinez</dc:creator>
      <dc:date>2012-04-09T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341511#M712562</link>
      <description>I think at the link time, you need to link the binary as type SHMEM_MAGIC. &lt;BR /&gt;&lt;BR /&gt;Binaries that are linked as type SHMEM_MAGIC can access more than 1GB.</description>
      <pubDate>Mon, 26 Jul 2004 16:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341511#M712562</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-26T16:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341512#M712563</link>
      <description>Is this a 32-bit or 64-bit program?  Since you are talking about memory quadrants I assume you are talking about 32-bit programs.  &lt;BR /&gt;Either way, you should also take a look at your max?siz (maxdsiz, maxtsiz, maxssiz, maxdsiz_64, maxtsiz_64, maxssiz_64) kernel parameters as they could potentially be holding you back as well.&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2004 16:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341512#M712563</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-07-26T16:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341513#M712564</link>
      <description>would anybody be able to clarify the use of the chatr utility?  Specifically what does enabling 3rd and 4th quadrant private spaces actually buy me?  I recall reading somewhere that the quadrants were reserved for specific memory operations and program data was limited to the 2nd quadrant.&lt;BR /&gt;&lt;BR /&gt;Patrick you are correct it is a 32 bit application.  I will look into our kernel configuration. Thank You.</description>
      <pubDate>Mon, 26 Jul 2004 16:55:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341513#M712564</guid>
      <dc:creator>Gerardo Martinez</dc:creator>
      <dc:date>2004-07-26T16:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341514#M712565</link>
      <description>There is a good white paper on memory management and it should be on your machine.&lt;BR /&gt;&lt;BR /&gt;Check for /usr/share/doc/mem_mgt.txt&lt;BR /&gt;&lt;BR /&gt;Have a read through that document and it should explain a lot of things.&lt;BR /&gt;&lt;BR /&gt;It is also available online:&lt;BR /&gt;&lt;BR /&gt;Memory Management Whitepaper Part I -&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062686726&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Memory Management Whitepaper Part II - &lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000009254450&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Jul 2004 17:52:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341514#M712565</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-07-26T17:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341515#M712566</link>
      <description>just fyi: the linker also takes the +q3p/+q4p options, you dont need to first build the program and then run chatr on it separately.</description>
      <pubDate>Tue, 27 Jul 2004 01:35:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341515#M712566</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2004-07-27T01:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: chatr utility</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341516#M712567</link>
      <description>In fact, the whole story is written in the Memory Menagement White Paper. However... by default a 32bit process uses its 4GB address space by default as SHARE_MAGIC (chatr shows: "shared executable"):&lt;BR /&gt; &lt;BR /&gt;Q1 Shared Text&lt;BR /&gt;Q2 Private Data&lt;BR /&gt;Q3 Shared&lt;BR /&gt;Q4 Shared&lt;BR /&gt; &lt;BR /&gt;When you build an EXEC_MAGIC executable using the -N linker option (chatr shows: "normal executable"), then this layout changes:&lt;BR /&gt; &lt;BR /&gt;Q1 Private Text+ Private Data&lt;BR /&gt;Q2 Private Data&lt;BR /&gt;Q3 Shared&lt;BR /&gt;Q4 Shared&lt;BR /&gt; &lt;BR /&gt;You no longer have shared text here... Q1 gets private and so your text gets private also (which is a compromise, of course).&lt;BR /&gt; &lt;BR /&gt;As you can see, in both scenarios Q3 and Q4 keep unchanged. You can _additionally_ configure q3p/q4p... of course your space for shared objects gets smaller then, which is also a compromise of course.&lt;BR /&gt; &lt;BR /&gt;You wrote, that you are still limited to 1GB data with -N (EXEC_MAGIC). In fact you should get more if maxdsiz is large enough,  if enough free swap is avialable for reservation ("Total" in swapinfo -t) and if there is no additional ulimit active. Of course you won't get the complete 2GB, since your text and your stack sits in Q1 also.&lt;BR /&gt; &lt;BR /&gt;Best regards...&lt;BR /&gt;Dietmar.</description>
      <pubDate>Tue, 27 Jul 2004 03:35:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/chatr-utility/m-p/3341516#M712567</guid>
      <dc:creator>Dietmar Konermann</dc:creator>
      <dc:date>2004-07-27T03:35:07Z</dc:date>
    </item>
  </channel>
</rss>

