<?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: maxswapchunks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432106#M3462</link>
    <description>The MAXSWAPCHUNKS parameter has nothing to do with system performance. It is okay as you have set it, it contributes to swchunk. It only helps increase the limite of allowable swap space. to add to Andy's contribution.&lt;BR /&gt;Use this values for you kernel to resolve the is at hand:&lt;BR /&gt;allocate_fs_swapmap=0&lt;BR /&gt;dbc_max_pct=25&lt;BR /&gt;dbc_min_pct=5&lt;BR /&gt;bufpages=0&lt;BR /&gt;nbuf=0&lt;BR /&gt;maxdsiz=1gb&lt;BR /&gt;maxtsiz=1gb&lt;BR /&gt;shmmax=1gb&lt;BR /&gt;swapmem_on=1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
    <pubDate>Fri, 21 Jul 2000 07:53:48 GMT</pubDate>
    <dc:creator>CHRIS_ANORUO</dc:creator>
    <dc:date>2000-07-21T07:53:48Z</dc:date>
    <item>
      <title>maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432103#M3459</link>
      <description>HP9000 K250 OS11.00, with 1Gb phy memory&lt;BR /&gt;&lt;BR /&gt;I have 512mb of swap space on my server, but the server was running slow.  I was advised to increase the kernel parameter 'maxswapchunks' from 385 to 1000.  Although afterwards the machines performance got worse and started to report the error "Insufficient Memory or swap space, or stack size exceeded massiz".  We are going to purchase more memory for the server, but in the short term I'm going to increase the swap space to 1Gb, but what should I make the 'maxswapchunks' value?&lt;BR /&gt;Plus if I increased it to 2Gb what should the value be?</description>
      <pubDate>Fri, 21 Jul 2000 04:57:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432103#M3459</guid>
      <dc:creator>Andrew Brain or Yong Ji</dc:creator>
      <dc:date>2000-07-21T04:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432104#M3460</link>
      <description>maxswapchunks is in units of swchunk (which is 2MB). Therefore with it set to 1000 like you have, you can have upto 2GB of swap.&lt;BR /&gt;&lt;BR /&gt;If your getting stack size errors, you probably want to look at the parameter maxssiz.&lt;BR /&gt;&lt;BR /&gt;Also, worth looking at mazdsiz too.&lt;BR /&gt;&lt;BR /&gt;Changing the maxssiz,mazdsiz won't have any performance effects (it just raises/decreaes limits).&lt;BR /&gt;&lt;BR /&gt;To be honest I'm surprised adding more swap space had an effect.&lt;BR /&gt;&lt;BR /&gt;Can you post the output from 'swapinfo -tm' ?</description>
      <pubDate>Fri, 21 Jul 2000 06:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432104#M3460</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-21T06:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432105#M3461</link>
      <description>You might be able to get some more usable memory by changing the kernel parameter dbc_max_pct (default=50 percent) to something lower like 20 percent.  If you have never changed this parameter then it should be set at using 50% of the system memory as a dynamic buffer cache.  On your system that equates to 256MB.</description>
      <pubDate>Fri, 21 Jul 2000 06:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432105#M3461</guid>
      <dc:creator>Jim Mulshine</dc:creator>
      <dc:date>2000-07-21T06:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432106#M3462</link>
      <description>The MAXSWAPCHUNKS parameter has nothing to do with system performance. It is okay as you have set it, it contributes to swchunk. It only helps increase the limite of allowable swap space. to add to Andy's contribution.&lt;BR /&gt;Use this values for you kernel to resolve the is at hand:&lt;BR /&gt;allocate_fs_swapmap=0&lt;BR /&gt;dbc_max_pct=25&lt;BR /&gt;dbc_min_pct=5&lt;BR /&gt;bufpages=0&lt;BR /&gt;nbuf=0&lt;BR /&gt;maxdsiz=1gb&lt;BR /&gt;maxtsiz=1gb&lt;BR /&gt;shmmax=1gb&lt;BR /&gt;swapmem_on=1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Jul 2000 07:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432106#M3462</guid>
      <dc:creator>CHRIS_ANORUO</dc:creator>
      <dc:date>2000-07-21T07:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432107#M3463</link>
      <description>I believe that in order to figure this out you will need to know 2 parameters, maxswapchunk and swchunk.  Swap space is figured as (maxswapchunk x swchunk x DEV_BSIZE[1]) = swap space.  swchunk will read in KB's.  1024KB=1MB...&lt;BR /&gt;Defaults are maxswapchunk=256&lt;BR /&gt;                  swchunk=2048 (2 MB)&lt;BR /&gt;                  DEV_BSIZE=1&lt;BR /&gt;In this case, if swchunk is still set at 2048, setting maxswapchunk to 512 would be 1GB and maxswapchunk=1024 would be 2GB.</description>
      <pubDate>Fri, 21 Jul 2000 14:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432107#M3463</guid>
      <dc:creator>Matt Griffin</dc:creator>
      <dc:date>2000-07-21T14:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: maxswapchunks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432108#M3464</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;MAXSWAPCHUNKS defines the upper limit of swap you can have. Multiplying MAXSWAPCHUNKS with the size of a swapchunk (SWCHUNK) results in the maximum amount of swap possible.&lt;BR /&gt;&lt;BR /&gt;This means that, even when you have configured your system with more swapspace, the system won't use more than MAXSWAPCHUNKS*SWCHUNK.&lt;BR /&gt;&lt;BR /&gt;So, to be able to use more swap, you have to&lt;BR /&gt;1) increase MAXSWAPCHUNKS&lt;BR /&gt;2) create additional swap devices or increase existing swap devices.&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Jul 2000 10:16:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxswapchunks/m-p/2432108#M3464</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-07-22T10:16:28Z</dc:date>
    </item>
  </channel>
</rss>

