<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574599#M858147</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks like your system is swapping a lot. You may have a memory bottleneck or you really need more memory on your system.&lt;BR /&gt;&lt;BR /&gt;How much physical memory do you have on the system?&lt;BR /&gt;on 10.X&lt;BR /&gt; echo physmem/D | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;on 11.X &lt;BR /&gt;  echo phys_mem_pages/D | adb /stand/vmunix /dev/mem&lt;BR /&gt;(multiple the value you get by 4096 to get the physical memory in bytes)&lt;BR /&gt;&lt;BR /&gt;Also check the value of kernel parameter dbc_max_pct(normally you can start of with a value of 15-20, the default of 50 is very high)&lt;BR /&gt;&lt;BR /&gt;You may have to analyze your system, the following link is a good start for that.&lt;BR /&gt;&lt;A href="http://devresource.hp.com/devresource/Docs/TechPapers/UXPerfCookBook.pdf" target="_blank"&gt;http://devresource.hp.com/devresource/Docs/TechPapers/UXPerfCookBook.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh</description>
    <pubDate>Tue, 04 Sep 2001 12:32:12 GMT</pubDate>
    <dc:creator>linuxfan</dc:creator>
    <dc:date>2001-09-04T12:32:12Z</dc:date>
    <item>
      <title>Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574597#M858145</link>
      <description>Dear Friends,&lt;BR /&gt;&lt;BR /&gt;why is my system swapping but memory is still 52% available? Please look at my swapinfo below and advice...&lt;BR /&gt;&lt;BR /&gt;# swapinfo&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     8192000 2635456 5556544   32%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 4255624 -4255624&lt;BR /&gt;memory  6497808 3127736 3370072   48%</description>
      <pubDate>Tue, 04 Sep 2001 09:04:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574597#M858145</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-09-04T09:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574598#M858146</link>
      <description>&lt;BR /&gt;You do NOT have 52% memory available. The memory column from the swapinfo command shows how many processes in memory coul d be swapped to disk if required. See the manpage on swapinfo.&lt;BR /&gt;&lt;BR /&gt;If Device swap is &amp;gt; 0% then you are OUT of physical ram. In your case youre over 30% used, you are severely out of memory. You should look to try to reduce buffer cache and/or add more ram.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Sep 2001 09:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574598#M858146</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-09-04T09:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574599#M858147</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks like your system is swapping a lot. You may have a memory bottleneck or you really need more memory on your system.&lt;BR /&gt;&lt;BR /&gt;How much physical memory do you have on the system?&lt;BR /&gt;on 10.X&lt;BR /&gt; echo physmem/D | adb -k /stand/vmunix /dev/kmem&lt;BR /&gt;on 11.X &lt;BR /&gt;  echo phys_mem_pages/D | adb /stand/vmunix /dev/mem&lt;BR /&gt;(multiple the value you get by 4096 to get the physical memory in bytes)&lt;BR /&gt;&lt;BR /&gt;Also check the value of kernel parameter dbc_max_pct(normally you can start of with a value of 15-20, the default of 50 is very high)&lt;BR /&gt;&lt;BR /&gt;You may have to analyze your system, the following link is a good start for that.&lt;BR /&gt;&lt;A href="http://devresource.hp.com/devresource/Docs/TechPapers/UXPerfCookBook.pdf" target="_blank"&gt;http://devresource.hp.com/devresource/Docs/TechPapers/UXPerfCookBook.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-HTH&lt;BR /&gt;Ramesh</description>
      <pubDate>Tue, 04 Sep 2001 12:32:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574599#M858147</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-04T12:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574600#M858148</link>
      <description>Jamaluddin,&lt;BR /&gt;&lt;BR /&gt;The memory line in the output of your swapinfo indicates the swap that you are using on from the memory. This is a result of the kernel parameter swapmem_on. &lt;BR /&gt;&lt;BR /&gt;You don't have memory available and you need to consider adding more. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 04 Sep 2001 14:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574600#M858148</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-04T14:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574601#M858149</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;With all due respect to previous answers, the "memory" line in swapinfo output is more accurately the amount of pseudoswap used (read:  "reserved").  Here's the scoop from the swapinfo man page:&lt;BR /&gt;&lt;BR /&gt;memory     Memory paging area (also known as pseudo-swap).  This is the amount of system memory that can be used to hold pages in the event that all of the above paging areas are used up.  See "Paging Allocation" below.  This line appears only if memory paging is enabled.&lt;BR /&gt;&lt;BR /&gt;Now, please understand that the above explanation is a colossally stupid description of pseudoswap, and whoever wrote it needs to be kicked in the shins.  None of your physical RAM is being used (kernel data structs notwithstanding) for real swapping.  Pseudoswap is an imaginary number calculated as 75% of your physical RAM.  This make-believe swap space is used for swap reservations only.&lt;BR /&gt;&lt;BR /&gt;As others have mentioned, it appears that you need more RAM, or you need to better utilize the RAM that you have.  Check your dbc_max_pct kernel parm.  Out of the box, it's set at 50%.  (Another HP engineer needs to have his fingernails ripped off with pliers.)  Knock that down so that your buffer cache tops out at around 200MB.  Better yet, make it static with nbuf or bufpages.&lt;BR /&gt;&lt;BR /&gt;Fire up glance and go to the memory (m) report.  If you're getting consistent "VM Reads" and "VM writes", then you are paying a horrible performance price for your lack of RAM.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim</description>
      <pubDate>Tue, 04 Sep 2001 14:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574601#M858149</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2001-09-04T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574602#M858150</link>
      <description>Dear friends,&lt;BR /&gt;&lt;BR /&gt;Thvm on the reply, my dbc_max_pct is set to 50%. I plan to reduce it to 25% as recommended in on of the documentation. What is the impact if i reduce it by half?</description>
      <pubDate>Wed, 05 Sep 2001 01:47:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574602#M858150</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-09-05T01:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574603#M858151</link>
      <description>With all due respects to some of the above messages, the %mem shown in the swapinfo -t command is treated as the amount of swap consumed though it is the reserve area. So, in case your total swapinfo -t becomes 100%, though you have memory available, a new process will not start as the kernel doesn't find space to reserve for it's image which I think is a reasonable idea. This is the reason why it's treated as being part of swap, though it is not really a 'swap' as correctly pointed out by Jim. &lt;BR /&gt;&lt;BR /&gt;Regarding your buffer cache,  your kernel will die if you allot 50% of your total memory. Amount of buffer cache needed - is really dependent on what you have at the back end. If it is like XP or EMC, you don't need to go for this much buffer cache. I am running with 2% dbc_max_pct on a 12GB system and I am doing excellent.&lt;BR /&gt;&lt;BR /&gt;And it is really dependent on the application. So, you can start it from 5% (if you have a good disk subsystem). &lt;BR /&gt;&lt;BR /&gt;The thing that you need to look at is with sar -b that shows the buffer activity. %rcache above 90 annd %wcache above 80 is a good sign of buffer activity.&lt;BR /&gt;&lt;BR /&gt;Certainly you are misusing your memory by alloting 50% of it to buffer cache.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2001 02:07:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574603#M858151</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-09-05T02:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574604#M858152</link>
      <description>Hi Jamal,&lt;BR /&gt;&lt;BR /&gt;First of all how much physical memory do you have on your system ?&lt;BR /&gt;&lt;BR /&gt;Again you could start with as little as 5% and then check your buffer cache usage (sar -b) and if there is a necessity increase it.&lt;BR /&gt;&lt;BR /&gt;Another thing i noticed is your device swap is configured for almost 8GB (i always read that you never want one big swap device file, rather its better to have equal sized swap devices with the same priority on different disks and preferebly different I/O paths )&lt;BR /&gt;&lt;BR /&gt;-Regards&lt;BR /&gt;Ramesh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Sep 2001 03:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574604#M858152</guid>
      <dc:creator>linuxfan</dc:creator>
      <dc:date>2001-09-05T03:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574605#M858153</link>
      <description>My system currently having 8GB RAM and 8GB Swap space</description>
      <pubDate>Wed, 05 Sep 2001 04:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory/m-p/2574605#M858153</guid>
      <dc:creator>System Dude_1</dc:creator>
      <dc:date>2001-09-05T04:05:24Z</dc:date>
    </item>
  </channel>
</rss>

