<?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 size and maxswapchunks not consistent??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024498#M909671</link>
    <description>Ok - checked through the logs and found a message pertaining to this.  &lt;BR /&gt;&lt;BR /&gt;Unable to add all swap for device: Primary Swap&lt;BR /&gt;. Increase the tunable parameter maxswapchunks by 1792 and re-configure your system.&lt;BR /&gt;&lt;BR /&gt;It seems that I need to increase maxswapchunks(which I already knew) but it looks like swapinfo is showing what would be allocated instead of what actually is.  Which still seems a little strange to me.&lt;BR /&gt;&lt;BR /&gt;Oh well - I will make the change and reboot and just fix it instead of wondering why.&lt;BR /&gt;&lt;BR /&gt;Thanks for the info.  Points are on the way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 15 Jul 2003 17:05:08 GMT</pubDate>
    <dc:creator>Ray Humpage</dc:creator>
    <dc:date>2003-07-15T17:05:08Z</dc:date>
    <item>
      <title>Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024493#M909666</link>
      <description>I just took over a system and was checking the swap size when I discovered the following:&lt;BR /&gt;&lt;BR /&gt;There is a 4GB device swap area on this machine - yet maxswapchunks is set at 256 and swchunk is set at 2.  This should allow a max swap size of 512MB.  Yet swapinfo -ta shows a swap device of 4GB.  Didn't think this was possible.  Any ideas?&lt;BR /&gt;&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     4194304       0  524288    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -  524288 -524288&lt;BR /&gt;memory  6627864 6224628  403236   94%&lt;BR /&gt;total   10822168 6748916  403236   62%       -       0    -&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2003 16:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024493#M909666</guid>
      <dc:creator>Ray Humpage</dc:creator>
      <dc:date>2003-07-15T16:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024494#M909667</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;'maxswpchunks' specifies the number of 'swchunk' blocks that can be allocated.  The 'swchunck' size, however is in 1K blocks.  Hence (maxswapchunks* swchunk*1024) is the maxiumum amount of swap you can configure.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 15 Jul 2003 16:42:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024494#M909667</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-15T16:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024495#M909668</link>
      <description>Ray,&lt;BR /&gt;&lt;BR /&gt;The only thing that comes to mind is that there's one more piece to the formula.  From SAM's help on configurable kernel paramters:&lt;BR /&gt;&lt;BR /&gt;" Total swap space is defined by: &lt;BR /&gt;&lt;BR /&gt;            swchunk xmaxswapchunks xDEV_BSIZE&lt;BR /&gt;&lt;BR /&gt; where DEV_BSIZE is 1024 bytes. "&lt;BR /&gt;&lt;BR /&gt;So, if DEV_BSIZE was larger than 1024 bytes, this would account for it, but I'm not sure how DEV_BSIZE would even be changed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2003 16:43:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024495#M909668</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-15T16:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024496#M909669</link>
      <description>Ray,&lt;BR /&gt;&lt;BR /&gt;I guess you are not using all the swap ( 4GB) configured on your system. Run dmesg to see any warning about this. &lt;BR /&gt;&lt;BR /&gt;Currently you have:&lt;BR /&gt;max swap configured = 256 x 1024 x 2048 (Bytes)= 512 MB&lt;BR /&gt;In order to be able to use 4000 MB you need to increase maxswapchunks accordingly.</description>
      <pubDate>Tue, 15 Jul 2003 16:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024496#M909669</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-07-15T16:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024497#M909670</link>
      <description>Once again from SAM's help on configurable parameters:&lt;BR /&gt;&lt;BR /&gt;"&lt;BR /&gt;     maxswapchunks xswchunk xDEV_BSIZE&lt;BR /&gt;&lt;BR /&gt;     For example, using default values for swchunk (2048) and &lt;BR /&gt;     maxswapchunks (256), and assuming DEV_BSIZE is 1024&lt;BR /&gt;     bytes, the total configurable swap space equals 537 Mbytes. "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I can't make these numbers coincide with what Ray is seeing - nor with what James is saying.  Would anyone care to clarify?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete "Where's My Slide Rule" Randall&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2003 16:56:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024497#M909670</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-07-15T16:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024498#M909671</link>
      <description>Ok - checked through the logs and found a message pertaining to this.  &lt;BR /&gt;&lt;BR /&gt;Unable to add all swap for device: Primary Swap&lt;BR /&gt;. Increase the tunable parameter maxswapchunks by 1792 and re-configure your system.&lt;BR /&gt;&lt;BR /&gt;It seems that I need to increase maxswapchunks(which I already knew) but it looks like swapinfo is showing what would be allocated instead of what actually is.  Which still seems a little strange to me.&lt;BR /&gt;&lt;BR /&gt;Oh well - I will make the change and reboot and just fix it instead of wondering why.&lt;BR /&gt;&lt;BR /&gt;Thanks for the info.  Points are on the way.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jul 2003 17:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024498#M909671</guid>
      <dc:creator>Ray Humpage</dc:creator>
      <dc:date>2003-07-15T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024499#M909672</link>
      <description>Hi (again) Ray:&lt;BR /&gt;&lt;BR /&gt;Your 'swapinfo' only shows a device swap with 512K.  THe 'memory' portion is reported because you have pseudoswap enabled.  Don't count this as part of your calculation.  It's a fudge factor for the kernel's use only in allowing new processes to spawn.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 15 Jul 2003 17:19:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024499#M909672</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-07-15T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Swap size and maxswapchunks not consistent???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024500#M909673</link>
      <description>Ray, &lt;BR /&gt;&lt;BR /&gt;This is correct: &lt;BR /&gt;&lt;BR /&gt;maxswapchunks will be 256 + 1792 = 2048;&lt;BR /&gt;max swap space = 2048 x 1024 x 2048 = 4294967296 Bytes = 4194304 Kbytes = 4096 MB.&lt;BR /&gt;&lt;BR /&gt;Elena.</description>
      <pubDate>Tue, 15 Jul 2003 17:25:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-size-and-maxswapchunks-not-consistent/m-p/3024500#M909673</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2003-07-15T17:25:19Z</dc:date>
    </item>
  </channel>
</rss>

