<?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: Swap space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612585#M36598</link>
    <description>For one thing, change dbc_max_pct from the default setting of 50% to something much lower, like 20 or lower.  This is memory that is being set aside for disk buffers and the 50% default is way too high in almost all cases.  Besides, with only 512MB of ram, you don't want to dedicate half of that to disk buffer.  Keep in mind that this is a kernel parameter change and as such will require a reboot.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 13 Nov 2001 10:18:38 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-11-13T10:18:38Z</dc:date>
    <item>
      <title>Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612583#M36596</link>
      <description>Hi Friends,&lt;BR /&gt;&lt;BR /&gt;One of my hpux box a180c model having 10.20 HPux OS, is showing 90% swap space usage.&lt;BR /&gt;&lt;BR /&gt;The buffer space allocation is static, will making it dynamic help in reducing the swap space usage?Any other suggestions?&lt;BR /&gt;&lt;BR /&gt;The glance report is attached with this message.&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;Thanxs&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 06:36:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612583#M36596</guid>
      <dc:creator>ricky_1</dc:creator>
      <dc:date>2001-11-13T06:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612584#M36597</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Looks like lot of swapping occurs in your system, was there any changes made to the system or DB recently or in the environment atleast. get the outputs of #sar -d 5 5 to have a look on the disk queue length. Which has to be either equivalent or less then 0.50 otherwise there is potential IO choke also..&lt;BR /&gt;&lt;BR /&gt;Check out the kernel parameter dbc_max_pct and verify that the value is between "8" and "12".(there is an exception to this if you have any large storage disk array like EMC). the value of dbc_min_pct can be kept "5".&lt;BR /&gt;&lt;BR /&gt;It can be also due to heavy usage of system which in turn causes the system run short of Memory and start using the swap space.&lt;BR /&gt; &lt;BR /&gt;Check out the output of sar -w 5 5 and verify the amount of swapping which occurs in the system. #swapinfo -t also gives a clear picture of how much of swapping is happening in the system..&lt;BR /&gt;&lt;BR /&gt;Come back with more details:&lt;BR /&gt;&lt;BR /&gt;Cheers !!!&lt;BR /&gt;Mathew&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 08:11:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612584#M36597</guid>
      <dc:creator>Varghese Mathew</dc:creator>
      <dc:date>2001-11-13T08:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612585#M36598</link>
      <description>For one thing, change dbc_max_pct from the default setting of 50% to something much lower, like 20 or lower.  This is memory that is being set aside for disk buffers and the 50% default is way too high in almost all cases.  Besides, with only 512MB of ram, you don't want to dedicate half of that to disk buffer.  Keep in mind that this is a kernel parameter change and as such will require a reboot.&lt;BR /&gt;&lt;BR /&gt;-Santosh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 10:18:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612585#M36598</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-11-13T10:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612586#M36599</link>
      <description>Changing filesystem buffer cache to dynamic (DBC) instead of static will not change swap space *usage*. However making it dynamic *and* smaller (as others have also suggested) may decrease the memory pressure and decrease swapping (paging and swapping) *activity*.&lt;BR /&gt;&lt;BR /&gt;The memory utilization ("Mem Util") is 97%, which is too high. Try to get it at around 95%. Getting it below 95% is not neccessary and is even 'bad' (see some of my responses in other, 'old', threads).&lt;BR /&gt;&lt;BR /&gt;Swap space usage ("Swap Util") is rather high (92%), so you risk that processes will abort when they need to grow and that you can not start (m)any new processes.     &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 13:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612586#M36599</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2001-11-13T13:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612587#M36600</link>
      <description>&amp;lt; Phys Mem: 512.0mb&lt;BR /&gt; Buf Cache: 256.0mb   &lt;BR /&gt; Free Mem:  13.6mb  &amp;gt;&lt;BR /&gt;&lt;BR /&gt;    Firstly, as shown in your glance output your current buffer cache setting is way too high.   Get into dynamic cache setting and also reduce the dbc max and min to 10 and 5% respectively.  That will ease up the pressure on memory.   Next is your swap setting,&lt;BR /&gt;what is your current swap configuration?  Can you post the output of swapinfo -mt?&lt;BR /&gt;&lt;BR /&gt;-raj        &lt;BR /&gt;</description>
      <pubDate>Tue, 13 Nov 2001 13:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612587#M36600</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-13T13:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612588#M36601</link>
      <description>You need to change your dbc_min_pct to 5 and your dbc_mac_pct to 10. The 50% is the LAME HP default (god knows why!).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 13 Nov 2001 13:27:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612588#M36601</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-13T13:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612589#M36602</link>
      <description>Hi Ricky:&lt;BR /&gt;&lt;BR /&gt;You probably should reduce the 'dbc_max_pct' downward.  If you are running something like Oracle which manages its own file buffers, you are wasting resources and actually double-buffering.&lt;BR /&gt;&lt;BR /&gt;You can add more device swap without having to reboot (assuming that you have a sufficient value for 'maxswapchunks' already defined for your kernel.  If you don't, you will need to regenerate your kernel to change it, but since you're going to change the 'dbc_max_pct' anyway... &lt;BR /&gt;&lt;BR /&gt;In addition to the kernel tuning, you can use SAM to add more swap space. Ideally, construct a secondary device swap that is the same size as your primary, but on a different disk, and set its priority to the same as the primary's. In this way, you will achieve interleaving and improve performance. &lt;BR /&gt;&lt;BR /&gt;A good way to monitor swap utilization is simply to use:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 13 Nov 2001 13:38:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-space/m-p/2612589#M36602</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-13T13:38:11Z</dc:date>
    </item>
  </channel>
</rss>

