<?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: Swapping!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778749#M76728</link>
    <description>One thing to check that I didn't think of earlier is how your buffer cache is set up.  What are dbc_min_pct and dbc_max_pct set to?  If dbc_max_pct is still at the default of 50% then you can probably reduce that and free up a bunch of memory.  With 1.75GB RAM, I'd probably reduce it to something like 20% (350MB) and see how that works for you.</description>
    <pubDate>Fri, 02 Aug 2002 17:41:55 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2002-08-02T17:41:55Z</dc:date>
    <item>
      <title>Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778742#M76721</link>
      <description>OS HP-UX 10.20&lt;BR /&gt;Server K460&lt;BR /&gt;Phy Mem 1.75 GB&lt;BR /&gt;Swap 1 Gb &amp;amp; 500 MB&lt;BR /&gt;&lt;BR /&gt;In the Glance display I could see the Memory Utilisation as 90%, but when I am looking for Swapinfo it is showing that it is swapping on the device.&lt;BR /&gt;&lt;BR /&gt;swapinfo -tm&lt;BR /&gt;             Mb      Mb      Mb   PCT  START/      Mb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev         512       0     512    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        1024      18    1006    2%       0       -    0  /dev/vg01/lvol9&lt;BR /&gt;reserve       -    1246   -1246&lt;BR /&gt;memory     1330     397     933   30%&lt;BR /&gt;total      2866    1661    1205   58%       -       0    -&lt;BR /&gt;&lt;BR /&gt;I am not sure how it will come on the display.&lt;BR /&gt;&lt;BR /&gt;Total VM : 680.3mb   Sys Mem  : 161.0mb   User Mem:  1.15gb   Phys Mem:  1.75gb&lt;BR /&gt;Active VM: 160.5mb   Buf Cache: 268.8mb   Free Mem: 183.1mb&lt;BR /&gt;&lt;BR /&gt;Now my question is if it is showing memory as free how it is swapping on the device.&lt;BR /&gt;&lt;BR /&gt;Any look out is highly appreciated.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 02 Aug 2002 17:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778742#M76721</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-02T17:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778743#M76722</link>
      <description>At this point, with just 2% used, I don't know that I 'd worry too much.  You may have just ahd a process that needed a bit more memory than was available.  But I don't think 2% is too bad at this point.&lt;BR /&gt;&lt;BR /&gt;If it continues to grow, then I'd start checking.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Aug 2002 17:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778743#M76722</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-08-02T17:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778744#M76723</link>
      <description>Well your question is simply why it swapped to disk...&lt;BR /&gt;&lt;BR /&gt;Because at some point the processing exceeded what could be run in memory and it had to page out to disk....then the processing slowed down and you continued to run your jobs within memory.&lt;BR /&gt;&lt;BR /&gt;Overall you average use of memory is 58%, where you seem to have hit disk at 2% of time.  &lt;BR /&gt;Monitor what's going on..vmstat is good for watching when it's paging out.  Then see if you can tweek your kernel to improve things or do you need to add some more memory.&lt;BR /&gt;&lt;BR /&gt;Just my thoughts,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Aug 2002 17:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778744#M76723</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-08-02T17:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778745#M76724</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I am not too worried for this, but curious about why it is happening like that.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 02 Aug 2002 17:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778745#M76724</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-02T17:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778746#M76725</link>
      <description>....I agree w/Patrick.  2% is not much of something to worry about.  Probably just a little more going on at that time than usual..&lt;BR /&gt;&lt;BR /&gt;No points here,&lt;BR /&gt;Rita</description>
      <pubDate>Fri, 02 Aug 2002 17:38:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778746#M76725</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2002-08-02T17:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778747#M76726</link>
      <description>Hard to tell excatly what you want to hear, but I'll try. (pretty basic example)&lt;BR /&gt;&lt;BR /&gt;Q:  Why is swap being used when memory is available?&lt;BR /&gt;A:  Active applications may have enough memory occupied where the memory manager needs to keep space free.&lt;BR /&gt;I.E.  application1 allocates .5Gb RAM.  application2 allocates 256M, application3 allocates 400M.  This should leave space within 1.7Gb to not swap anything.  However, application2 allocates another 256M, performs it's task, then releases it.  The memory manager has exceeded memory, and expects this may happen again.  application3(our make believe inactive application) now gets pages put to device swap, and will stay there until the memory manager thinks it's safe to use real memory again.  &lt;BR /&gt;&lt;BR /&gt;HP will have to let you know the algorythm's they use, but memory management is very intelligent.</description>
      <pubDate>Fri, 02 Aug 2002 17:40:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778747#M76726</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2002-08-02T17:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778748#M76727</link>
      <description>Thanks Rita. I could find that this 2% is a continuous thing. Whenever you do a swapinfo it gives this 2% utilisation.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 02 Aug 2002 17:40:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778748#M76727</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-02T17:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778749#M76728</link>
      <description>One thing to check that I didn't think of earlier is how your buffer cache is set up.  What are dbc_min_pct and dbc_max_pct set to?  If dbc_max_pct is still at the default of 50% then you can probably reduce that and free up a bunch of memory.  With 1.75GB RAM, I'd probably reduce it to something like 20% (350MB) and see how that works for you.</description>
      <pubDate>Fri, 02 Aug 2002 17:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778749#M76728</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-08-02T17:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778750#M76729</link>
      <description>Patrick, dbc_max_pct has been set to 15%. It is showing in the Buf cache of the Glance display as 268 MB.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 02 Aug 2002 17:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778750#M76729</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-02T17:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778751#M76730</link>
      <description>Sandip,&lt;BR /&gt;&lt;BR /&gt;A process may not be swapped out but for every single process spawn, the OS needs to reserve as much swap space for the process as RAM required to run it.  Your glance indicates that your "User Mem" is 1.15gb and your swapinfo indicates that your "reserve" is 1246Mb.  They are pretty much the same.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Hai</description>
      <pubDate>Fri, 02 Aug 2002 17:48:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778751#M76730</guid>
      <dc:creator>Hai Nguyen_1</dc:creator>
      <dc:date>2002-08-02T17:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778752#M76731</link>
      <description>One other use of swap space is for memory mapped files. Some applications will use this feature and these files will use some swap space, but with little effect on the system.</description>
      <pubDate>Fri, 02 Aug 2002 17:53:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778752#M76731</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-08-02T17:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778753#M76732</link>
      <description>Can it be possible  if we increase the SGA size of Oracle? We have increased the size of the SGA recently.&lt;BR /&gt;&lt;BR /&gt;Sandip</description>
      <pubDate>Fri, 02 Aug 2002 18:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778753#M76732</guid>
      <dc:creator>Sandip Ghosh</dc:creator>
      <dc:date>2002-08-02T18:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Swapping!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778754#M76733</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I don't think increase in the SGA will swap out. You can defenitely check for any new patches and may need to install that. Another option is to oberve the swap usage from Glance and see which process is doing this or the Kernel mapping ?&lt;BR /&gt;&lt;BR /&gt;rgds,</description>
      <pubDate>Fri, 02 Aug 2002 18:04:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping/m-p/2778754#M76733</guid>
      <dc:creator>Sajid_1</dc:creator>
      <dc:date>2002-08-02T18:04:57Z</dc:date>
    </item>
  </channel>
</rss>

