<?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 parameters in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480753#M798979</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, the value of 'swchunk' should be a power of two.  'swchunk' defines the "chunk" size, or minimum unit involved in swap activity.  Thus, 'swchunk' is the smallest unit of allocation of device or filesystem swap. 'swchunk's are divided into DEV_BSIZE bytes.  Since DEV_BSIZE is a fixed constant of 1024 bytes which cannot be changed, 'swchunk' must be a multiple of 1024 -- a power-of-two.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Tue, 09 Jan 2001 14:11:41 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-01-09T14:11:41Z</dc:date>
    <item>
      <title>Swap parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480750#M798976</link>
      <description>I tried to add a new swap area in my system by means of "swapon" and it reported an error message about "swchunk" and "swapchunks" kernel parameters.&lt;BR /&gt;&lt;BR /&gt;Then I checked those parameters... I found that the swchunk value is 6144 but the help tells it would be an integer power of two, i.e., the possible values would be 2048,4096,8192,16384,...&lt;BR /&gt;&lt;BR /&gt;I find nothing in "HP-UX Memory Management White Paper (Part II)" about this issue.&lt;BR /&gt;&lt;BR /&gt;Is that true ? Is my swchunck value wrong ?&lt;BR /&gt;&lt;BR /&gt;If it is wrong and needs an integer power of 2, what value is used now on my system ?&lt;BR /&gt;Does it impact my system performance ?&lt;BR /&gt;&lt;BR /&gt;Thanx in advance</description>
      <pubDate>Tue, 09 Jan 2001 08:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480750#M798976</guid>
      <dc:creator>Jdamian</dc:creator>
      <dc:date>2001-01-09T08:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Swap parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480751#M798977</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;swchunk defaults to 2048 and can be adjusted to 16384.&lt;BR /&gt;The value you're using now seems a bit weird...&lt;BR /&gt;You should probably adjust it to 8192.&lt;BR /&gt;&lt;BR /&gt;Total swap space is defined by:&lt;BR /&gt;swchunk * maxswapchunks * DEV_BSIZE &lt;BR /&gt;where DEV_BSIZE is 1024 bytes.&lt;BR /&gt;&lt;BR /&gt;Here is a document that may help you in adjusting all kernel parameters:&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan</description>
      <pubDate>Tue, 09 Jan 2001 10:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480751#M798977</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-09T10:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Swap parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480752#M798978</link>
      <description>&lt;A href="http://www.docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html" target="_blank"&gt;http://www.docs.hp.com//hpux/onlinedocs/os/KCparams.OverviewAll.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com//hpux/onlinedocs/os/KCparam.SwChunk.html" target="_blank"&gt;http://www.docs.hp.com//hpux/onlinedocs/os/KCparam.SwChunk.html&lt;/A&gt;&lt;BR /&gt;Minimum : 2048 &lt;BR /&gt;Maximum : 16384 &lt;BR /&gt;Default : 2048 &lt;BR /&gt;&lt;BR /&gt;Check the url above for further info.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jan 2001 10:40:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480752#M798978</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2001-01-09T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Swap parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480753#M798979</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, the value of 'swchunk' should be a power of two.  'swchunk' defines the "chunk" size, or minimum unit involved in swap activity.  Thus, 'swchunk' is the smallest unit of allocation of device or filesystem swap. 'swchunk's are divided into DEV_BSIZE bytes.  Since DEV_BSIZE is a fixed constant of 1024 bytes which cannot be changed, 'swchunk' must be a multiple of 1024 -- a power-of-two.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 09 Jan 2001 14:11:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480753#M798979</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-09T14:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Swap parameters</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480754#M798980</link>
      <description>Never change the swchuck parameter (which does have to be a power of 2).&lt;BR /&gt;&lt;BR /&gt;Only change maxswapchunks, which is what the message really suggests doing.</description>
      <pubDate>Wed, 17 Jan 2001 08:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-parameters/m-p/2480754#M798980</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2001-01-17T08:52:18Z</dc:date>
    </item>
  </channel>
</rss>

