<?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: How to allocate all the memory of the HP-UX OS ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822351#M86809</link>
    <description>It depends on the application you are using. If your applications are true 64 bit then only you can make use of all the memory. If you are using different Oracle (32bit)  instance, you can configure the memory windows to use the  memory beyond 4 GB. &lt;BR /&gt;&lt;BR /&gt;Sandip</description>
    <pubDate>Wed, 09 Oct 2002 16:02:33 GMT</pubDate>
    <dc:creator>Sandip Ghosh</dc:creator>
    <dc:date>2002-10-09T16:02:33Z</dc:date>
    <item>
      <title>How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822349#M86807</link>
      <description>&lt;BR /&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;we have a server with 10 Go RAM + 4 Go swap&lt;BR /&gt;The server was installed with a make_tape_recovery.&lt;BR /&gt;The tape come from a same server with 4Go Ram.&lt;BR /&gt;The kernel of the new server was rebuild with the specifications from HP and from the software editor.&lt;BR /&gt;&lt;BR /&gt;But when the OS is up, we can allocate to the&lt;BR /&gt;maximum only 5.80 Go RAM (malloc, realloc, ...).&lt;BR /&gt;&lt;BR /&gt;the kmtune command return :&lt;BR /&gt;&lt;BR /&gt;# kmtune&lt;BR /&gt;...&lt;BR /&gt;dbc_max_pct          2&lt;BR /&gt;dbc_min_pct          2&lt;BR /&gt;maxdsiz              3221225472&lt;BR /&gt;maxdsiz_64bit        0X3FFBFFFFFFF&lt;BR /&gt;maxssiz              0XC800000&lt;BR /&gt;maxssiz_64bit        0XC800000&lt;BR /&gt;maxtsiz              0X7B033000&lt;BR /&gt;maxtsiz_64bit        0X3FFFFFFFFFF&lt;BR /&gt;maxuprc              200&lt;BR /&gt;maxusers             256&lt;BR /&gt;msgmap               (2+MSGTQL)&lt;BR /&gt;msgmax               32768&lt;BR /&gt;msgmnb               65535&lt;BR /&gt;msgmni               512&lt;BR /&gt;msgseg               20480&lt;BR /&gt;msgssz               128&lt;BR /&gt;msgtql               5120&lt;BR /&gt;shmem                1&lt;BR /&gt;shmmax               0X80000000&lt;BR /&gt;shmmni               512&lt;BR /&gt;shmseg               512&lt;BR /&gt;...&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;The physical memory &lt;BR /&gt;(sysconf(_SC_AVPHYS_PAGES) * sysconf(_SC_PAGE_SIZE)) is 10 Go RAM.&lt;BR /&gt;&lt;BR /&gt;We missed something but we do not know what.&lt;BR /&gt;&lt;BR /&gt;Thank you by advance for your assistance.&lt;BR /&gt;&lt;BR /&gt;Jean-Yves&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 15:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822349#M86807</guid>
      <dc:creator>jean-yves poch</dc:creator>
      <dc:date>2002-10-09T15:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822350#M86808</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I believe you need to increase your swap size. Your 4GB swap + psedo_swap may be limiting the memory allocation.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 09 Oct 2002 15:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822350#M86808</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-10-09T15:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822351#M86809</link>
      <description>It depends on the application you are using. If your applications are true 64 bit then only you can make use of all the memory. If you are using different Oracle (32bit)  instance, you can configure the memory windows to use the  memory beyond 4 GB. &lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Wed, 09 Oct 2002 16:02:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822351#M86809</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-10-09T16:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822352#M86810</link>
      <description>&lt;BR /&gt;Sorry,&lt;BR /&gt;&lt;BR /&gt;The kernel is 64 bits.&lt;BR /&gt;The application is in 64 bits mode, and stop after 5.80 Go.&lt;BR /&gt;We made tests with a small program compiled in 64 bits.&lt;BR /&gt;The small program gives value ENOMEM to the variable errno after a malloc or a realloc.&lt;BR /&gt;(ENOMEM = out of memory).&lt;BR /&gt;This binary allocate to the maximum 5.80 Go too.&lt;BR /&gt;In 32 bit mode the small program can allocate to the maximum only 820 Mo.&lt;BR /&gt;&lt;BR /&gt;Jean-Yves</description>
      <pubDate>Wed, 09 Oct 2002 16:24:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822352#M86810</guid>
      <dc:creator>jean-yves poch</dc:creator>
      <dc:date>2002-10-09T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822353#M86811</link>
      <description>Hi Jean-yves,&lt;BR /&gt;&lt;BR /&gt;Make sure the kernel parameter&lt;BR /&gt;swapmem_on=1&lt;BR /&gt;If it's not you're limited to only the value of swap for memory usage.&lt;BR /&gt;Raising swap to memory size would have the same effect - but you may not need all that swap.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 09 Oct 2002 16:29:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822353#M86811</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-09T16:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822354#M86812</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I guess Jeff's answer is the right one:&lt;BR /&gt;without "shmem_on=1" you'll need actually MORE swap than real RAM, but with it you can run with only 1/4 of your RAM size as swapspace...&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Wodisch&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Oct 2002 19:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822354#M86812</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2002-10-09T19:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822355#M86813</link>
      <description>&lt;BR /&gt;If you want to allocate all of your memory, just start oracle up.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 09 Oct 2002 20:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822355#M86813</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-10-09T20:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822356#M86814</link>
      <description>&lt;BR /&gt;Thank you for your assistance.&lt;BR /&gt;Your answers solved our problem.&lt;BR /&gt;&lt;BR /&gt;Finally, we increased the swap.&lt;BR /&gt;This choice is simple to explain. &lt;BR /&gt;The server is used for aerodynamic calculations with the Fluent software.&lt;BR /&gt;Aerodynamic calculations need always more memory for a good quality of results.&lt;BR /&gt;Thus the kernel variable swapmem must remained to 0.&lt;BR /&gt;&lt;BR /&gt;Implementation :&lt;BR /&gt;&lt;BR /&gt;# kmtune  |grep maxswapchunks&lt;BR /&gt;maxswapchunks    16384&lt;BR /&gt;# vgdisplay /dev/vg00&lt;BR /&gt;...&lt;BR /&gt;Free PE          2824 &lt;BR /&gt;...&lt;BR /&gt;# lvcreate -n lvswap  -L 6144 -C y /dev/vg00&lt;BR /&gt;# swapon /dev/vg00/lvswap&lt;BR /&gt;# swapinfo -t&lt;BR /&gt;OK&lt;BR /&gt;# echo '/dev/lvswap ... swap defaults 0 2' &amp;gt;&amp;gt; /etc/fstab&lt;BR /&gt;&lt;BR /&gt;see also :&lt;BR /&gt;&lt;A href="http://www.hp-partners.com/fluent_public/" target="_blank"&gt;http://www.hp-partners.com/fluent_public/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I believed that Oracle was a boat which sailed in New Zealand (Louis Vuitton Cup), and not a memory hoover :-)&lt;BR /&gt;&lt;BR /&gt;Thank's for all.&lt;BR /&gt;&lt;BR /&gt;May the force be with you !&lt;BR /&gt;&lt;BR /&gt;Jean-Yves (little HP-UX padawan)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 11:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822356#M86814</guid>
      <dc:creator>jean-yves poch</dc:creator>
      <dc:date>2002-10-10T11:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822357#M86815</link>
      <description>Hi (again) Jean-Yves,&lt;BR /&gt;&lt;BR /&gt;Although it's certainly your call, but you should note this from the swapmem_on man page&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/TKP-90202/TKP-90202_top.html&amp;amp;con=/hpux/onlinedocs/TKP-90202/00/01/160-con.html&amp;amp;toc=/hpux/onlinedocs/TKP-90202/00/01/160-toc.html&amp;amp;searchterms=swapmem_on&amp;amp;queryid=20021010-113211" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/TKP-90202/TKP-90202_top.html&amp;amp;con=/hpux/onlinedocs/TKP-90202/00/01/160-con.html&amp;amp;toc=/hpux/onlinedocs/TKP-90202/00/01/160-toc.html&amp;amp;searchterms=swapmem_on&amp;amp;queryid=20021010-113211&lt;/A&gt;&lt;BR /&gt;\Quote&lt;BR /&gt;swapmem_on - allow physical memory size to exceed the available swap space &lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned On? &lt;BR /&gt;&lt;BR /&gt;If this tunable is set to 0 (off), and a fork() or exec() process is failing with an ENOMEM error message and has sufficient system memory but insufficient unreserved swap space, then setting this tunable to 1 (on) will allow these processes to use pseudo-swap space and execute.&lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable On? &lt;BR /&gt;&lt;BR /&gt;Some physical memory is set aside for pseudo-swap, but since the kernel can steal pages from this allocation if needed (for locked memory or kernel memory), and the rest of the pages will only be used when physical swap is completely filled anyway, this is quite harmless.&lt;BR /&gt;&lt;BR /&gt;When Should the Tunable Be Turned Off? &lt;BR /&gt;&lt;BR /&gt;This tunable can be turned off if there are sufficient physical swap devices or file systems such that the system workload never fails to reserve swap. However, turning this feature off really does not gain the system anything. &lt;BR /&gt;&lt;BR /&gt;What Are the Side Effects of Turning the Tunable Off? &lt;BR /&gt;&lt;BR /&gt;Processes will be limited to physical swap devices or file systems for reserving their swap on a fork() or an exec().&lt;BR /&gt;&lt;BR /&gt;What Other Tunables Should Be Changed at the Same Time? &lt;BR /&gt;&lt;BR /&gt;None.&lt;BR /&gt;\EndQuote&lt;BR /&gt;&lt;BR /&gt;So in my opinion there is really no reason why swapmem_on should be off on your system.&lt;BR /&gt;The strongest case FOR having this on for your system would be - You'd have to increase swap AGAIN if you ever increase RAM.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Oct 2002 16:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822357#M86815</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-10T16:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822358#M86816</link>
      <description>Hi Jean,&lt;BR /&gt;&lt;BR /&gt;Jeff is correct that enabling swapmem_on does not really make use of your memory. It is only for reservation purpose and no pages will be *physically* alloted for swapping purposes.&lt;BR /&gt;&lt;BR /&gt;But there is one issue that cannot be ignored while using this parameter. swapmem_on allows the system to spawn more processes than the device swap would allow. However, during the pageout situations, you may get into a situation where you would start paging and will not have enough device swap pages to hold the paged out pages which may result in a critical situation.&lt;BR /&gt;&lt;BR /&gt;Also remember, once the kernel starts locking the memory, you will not be able to get the 7/8th number.&lt;BR /&gt;&lt;BR /&gt;So, even if you turn on swapmem_on, it is suggested to add reasonable amount of device swap depending on your application behaviour. 10GB is not too much for a 64bit app.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 10 Oct 2002 18:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822358#M86816</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-10-10T18:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822359#M86817</link>
      <description>Good point Sridhar.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 10 Oct 2002 18:13:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822359#M86817</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-10T18:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822360#M86818</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I agree with you.&lt;BR /&gt;To add as many swap that of RAM is stupid.&lt;BR /&gt;&lt;BR /&gt;The choice was simple :&lt;BR /&gt;&lt;BR /&gt;1)We did not need to stop the server&lt;BR /&gt;&lt;BR /&gt;2)The software calculates between 3 and 5 days by job when all the data are in RAM.&lt;BR /&gt;There are only one and one job at the same time on the server.&lt;BR /&gt;The phase of calculation is an element in chains of design.&lt;BR /&gt;Calculations are used for saying if our engineers make bad technical choices.  And not for saying if the solution is good.&lt;BR /&gt;And thus the answer must be fast. &lt;BR /&gt;We prohibit ourselves the use of the swap.&lt;BR /&gt;The variable swapmem_on=1 is a temporary help which we must control.&lt;BR /&gt;We need really performance.&lt;BR /&gt;Thus not of use of the swap.&lt;BR /&gt;&lt;BR /&gt;I thank you for your vigilance.&lt;BR /&gt;That enabled us to look further into our reflexion on the operational limits of this server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jean-Yves&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Oct 2002 12:10:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822360#M86818</guid>
      <dc:creator>jean-yves poch</dc:creator>
      <dc:date>2002-10-11T12:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to allocate all the memory of the HP-UX OS ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822361#M86819</link>
      <description>Recherchons Jean-Yves Poch pour reconstitution P41 (20 ans aprÃ¨s).&lt;BR /&gt;&lt;BR /&gt;Si c'est toi, tu peux me rÃ©pondre par eMail&lt;BR /&gt;&lt;BR /&gt;bva35@free.fr&lt;BR /&gt;&lt;BR /&gt;A+, peut-Ãªtre ...&lt;BR /&gt;&lt;BR /&gt;Bruno.&lt;BR /&gt;&lt;BR /&gt;PS : si pas concernÃ© alors dÃ©solÃ© pour ce message.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Nov 2005 08:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-allocate-all-the-memory-of-the-hp-ux-os/m-p/2822361#M86819</guid>
      <dc:creator>bva</dc:creator>
      <dc:date>2005-11-07T08:07:44Z</dc:date>
    </item>
  </channel>
</rss>

