<?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: memory management in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538167#M915722</link>
    <description>A standard 32-bit program cannot address more than about 980 megs without special handling. In 11.0 64-bit version, there is a new fence called maxdsiz_64 which allows many gigabytes of data space--but it has no effect on a 32 bit program which cannot go beyond the data quadrant (slightly under 1000 megs).  10.20 has nothing like this and al programs are subject to the 980 meg limit except as mentioned below.&lt;BR /&gt;&lt;BR /&gt;The maxdsiz value can be set much higher than the maximum usable value in a program as it is simply a fence to prevent problem prgrams from running wild.  Thus, setting it to 2000 megs will have no effect (as you have seen).&lt;BR /&gt;&lt;BR /&gt;However, you can link two quadrants together to allow up to 1750 megs for a 32-bit program. Look at the EXEC_MAGIC features mentioned in the memory managment while paper in /usr/share/doc.  It's important to note that from a memory management point of view, 10.20 is very different from 11.0 64-bit.  Note that the dynamic buffer cache should never be 50% max...perhaps 15-25% at most. But even at 50%, it will shrink automatically if processes need the space.</description>
    <pubDate>Sun, 10 Jun 2001 02:18:06 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2001-06-10T02:18:06Z</dc:date>
    <item>
      <title>memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538162#M915717</link>
      <description>Greetings to everybody,&lt;BR /&gt;&lt;BR /&gt;Here is  J5000 [10.20] with 3G memory installed.  It is runing mathematical simulator/solver. &lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;# dmesg | grep Physical&lt;BR /&gt;    Physical: 3145728 Kbytes, lockable: 2310124 Kbytes, available: 2651032 Kbytes&lt;BR /&gt;&lt;BR /&gt;# top&lt;BR /&gt;...&lt;BR /&gt;Memory: 910748K (899208K) real, 959264K (946304K) virtual, 1161884K free  Page# 1/5&lt;BR /&gt;&lt;BR /&gt;CPU TTY   PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 1 pty/ttyp2 19244 user   255 39   925M   872M run    500:22 100.04 99.86 dessis&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;---------------------------------------------------&lt;BR /&gt;Two questions:&lt;BR /&gt;&lt;BR /&gt;1.  Top show 967736K real + 1134056K free only.&lt;BR /&gt;     Is there any way I can release more memory for process?&lt;BR /&gt;     [strangely, glanceplus shows account for 3gb !!&lt;BR /&gt;      Phy 3.0g   Sys mem:307m,       Buffer cache: 368m &lt;BR /&gt;                     User mem:1.23g,       Free mem:1.1g      ]&lt;BR /&gt;&lt;BR /&gt;2.  In the above top output,  the resident size of "dessis" is  925M.&lt;BR /&gt;     It can take more than that. It did so in other 11.0 machine.&lt;BR /&gt;     What kernal parameter(s) do I need to tweak to allow a single &lt;BR /&gt;     process consume more, if not "all" available, memory?&lt;BR /&gt;&lt;BR /&gt;TIA.&lt;BR /&gt;-elan&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jun 2001 00:54:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538162#M915717</guid>
      <dc:creator>Elan Viswanathan</dc:creator>
      <dc:date>2001-06-08T00:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538163#M915718</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've run similar applications and yes you need all the memory you can get.&lt;BR /&gt;&lt;BR /&gt;You should increase maxdsiz, possibly maxssiz,&lt;BR /&gt;and sometimes maxtsiz needs to be increased as well. If the program will run, maxtsiz is probably big enough. You might also need to increase shmmax. I would also make sure that I have enough swap and/or enable pseudo-swap (swapmem_on=1). Typically, disk i/o is not all that important so I would reduce dbc_max_pct to no more than 10% or set bufpages to limit buffer cache to no more than 100MB. This program might also benefit from using "memory windows" since you are running 10.20. You can search this site for that concept.&lt;BR /&gt;&lt;BR /&gt;Happy number crunching, Clay&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jun 2001 01:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538163#M915718</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-06-08T01:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538164#M915719</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;From the Configurable Kernel Parameters (HP-UX 11.0) document:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The kernel parameters 'maxdsiz' and 'maxdsiz_64bit' specify the maximum data segment size, in bytes, for an executing process.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 'maxssiz' and 'maxssiz_64bit' define, for 32-bit and 64-bit processors respectively, the maximum size of the dynamic storage segment (DSS), also called the user-stack segment, or an executing process's run-time stack. This segment contains stack and register storage space, and such.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; 'maxtsiz' and 'maxtsiz_64bit' define, for 32-bit and 64-bit processors respectively, the maximum size of the shared text segment (program storage space) of an executing process. &lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 08 Jun 2001 01:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538164#M915719</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-08T01:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538165#M915720</link>
      <description>Thanks guys. I will try your suggestions and come back here with results. &lt;BR /&gt;&lt;BR /&gt;My current parameters are:&lt;BR /&gt;&lt;BR /&gt;maxdsize  2063835136&lt;BR /&gt;maxssize    83570688&lt;BR /&gt;maxtsize  1073741824&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct   50&lt;BR /&gt;dbc_min_pct    5 &lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jun 2001 01:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538165#M915720</guid>
      <dc:creator>Elan Viswanathan</dc:creator>
      <dc:date>2001-06-08T01:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538166#M915721</link>
      <description>I could rise maxssiz, and shmmax only.  Rst are all resported at teir maximum, even after applying patch PHCO_22268.&lt;BR /&gt;maxdsize 2063835136 &lt;BR /&gt;maxssize   401604608&lt;BR /&gt;maxtsize  1073741824&lt;BR /&gt;shmmax   2063835136&lt;BR /&gt;By reducing the percent of dynamic buffer (dbc_max_pct), now more memory is shown free. Yet the resident size of the process does not go beyond 974M as reported in top. While the same program takes more than 1.7 G on other 11.x machine.&lt;BR /&gt;&lt;BR /&gt;Any clue about grabbing all the memory for this process?</description>
      <pubDate>Fri, 08 Jun 2001 22:05:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538166#M915721</guid>
      <dc:creator>Elan Viswanathan</dc:creator>
      <dc:date>2001-06-08T22:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: memory management</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538167#M915722</link>
      <description>A standard 32-bit program cannot address more than about 980 megs without special handling. In 11.0 64-bit version, there is a new fence called maxdsiz_64 which allows many gigabytes of data space--but it has no effect on a 32 bit program which cannot go beyond the data quadrant (slightly under 1000 megs).  10.20 has nothing like this and al programs are subject to the 980 meg limit except as mentioned below.&lt;BR /&gt;&lt;BR /&gt;The maxdsiz value can be set much higher than the maximum usable value in a program as it is simply a fence to prevent problem prgrams from running wild.  Thus, setting it to 2000 megs will have no effect (as you have seen).&lt;BR /&gt;&lt;BR /&gt;However, you can link two quadrants together to allow up to 1750 megs for a 32-bit program. Look at the EXEC_MAGIC features mentioned in the memory managment while paper in /usr/share/doc.  It's important to note that from a memory management point of view, 10.20 is very different from 11.0 64-bit.  Note that the dynamic buffer cache should never be 50% max...perhaps 15-25% at most. But even at 50%, it will shrink automatically if processes need the space.</description>
      <pubDate>Sun, 10 Jun 2001 02:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-management/m-p/2538167#M915722</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-06-10T02:18:06Z</dc:date>
    </item>
  </channel>
</rss>

