<?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: adding swap space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597677#M855073</link>
    <description>Why are you looking to add 30 GB of swap?  You shouldn't need that much swap space...you're just begging for performance problems if you need that much swap.  In any case, in response to your questions, you should probably spread out the swap across as many spindles (disks) as possible to get the best performance.  Remember to set the priority of all these disks to the same number so that it doesn't constantly hit one disk.  As for maxswapchunks, the max value for this parameter is 16384.  Which means that the max swap you can have on a system is roughly 32 GB, i.e. 16384 * DEV_BSIZE (1024) * swchunk(2048) = 32 GB.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Thu, 18 Oct 2001 20:12:32 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-10-18T20:12:32Z</dc:date>
    <item>
      <title>adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597675#M855071</link>
      <description>I have a V class system with 16 gig of RAM and about 5 gig of SWAP SPACE.&lt;BR /&gt;&lt;BR /&gt;Here is my output of swapinfo&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        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        1024       0    1024    0%       0       -    0  /dev/vg00/lvol12&lt;BR /&gt;dev        4000       0    4000    0%       0       -    1  /dev/vg00/lvol10&lt;BR /&gt;reserve       -    3420   -3420&lt;BR /&gt;memory    13327     779   12548    6%&lt;BR /&gt;total     19375    4199   15176   22%       -       0    -&lt;BR /&gt;Iam planning to add another 30 gig of device space (EMC unmirrored disk) . Few questions . &lt;BR /&gt;&lt;BR /&gt;1. should i create a seperate vg and assign a 30 gig to swap space  or&lt;BR /&gt;&lt;BR /&gt;2. should i add a swap space to my existing volumes - let say 5 gig each to 6 volumes . To maintain the same size ?&lt;BR /&gt;&lt;BR /&gt;3. Should my maxswapchunks value = totalspace * 2 ?&lt;BR /&gt;&lt;BR /&gt;4. how should i define them in fstab - which level so they work best ?  &lt;BR /&gt;&lt;BR /&gt;Any help/suggestion appriciated. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 19:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597675#M855071</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2001-10-18T19:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597676#M855072</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I wouldn't add any more.  From what you show, you're not using any of your device swap now.  Why waste the disk?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 18 Oct 2001 20:08:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597676#M855072</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-18T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597677#M855073</link>
      <description>Why are you looking to add 30 GB of swap?  You shouldn't need that much swap space...you're just begging for performance problems if you need that much swap.  In any case, in response to your questions, you should probably spread out the swap across as many spindles (disks) as possible to get the best performance.  Remember to set the priority of all these disks to the same number so that it doesn't constantly hit one disk.  As for maxswapchunks, the max value for this parameter is 16384.  Which means that the max swap you can have on a system is roughly 32 GB, i.e. 16384 * DEV_BSIZE (1024) * swchunk(2048) = 32 GB.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 18 Oct 2001 20:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597677#M855073</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-18T20:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597678#M855074</link>
      <description>Hi Deepak:&lt;BR /&gt;&lt;BR /&gt;My first question is why? You are not using it. A few applications (SAP) do some really dumb things that require the swapspace but don't really use it. All you may need to do is enable pseudoswap and you should be fine.&lt;BR /&gt;&lt;BR /&gt;Plan B. If you feel you really must have the swap then use the terrible, dreaded filesystem swap at very low (hi number) priority. The value of this method is that the swapspace is there for application checks but unless it is really used, it doesn't consume diskspace. In your case, the disk doesn't appear to be used so it's far better to trick the system by using filesystem swap - since we're really not using it anyway.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 20:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597678#M855074</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-18T20:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597679#M855075</link>
      <description>I want to disable sudo swaping ie swapmem_on = 0 . In order to make use of sudo swapping i want to assign a huge swap space otherwise it is limited to just whatever it has now - which of 5-6 gig and i will also not be using my physical memory . What do u suggest . We use Baan ERP  .</description>
      <pubDate>Thu, 18 Oct 2001 20:26:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597679#M855075</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2001-10-18T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597680#M855076</link>
      <description>Pseudo swap doesn't actually take up any memory...its just a way to trick the OS into thinking that there is enough reserve space for processes to startup.  It does NOT rob the system of ANY memory.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 18 Oct 2001 20:29:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597680#M855076</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-18T20:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597681#M855077</link>
      <description>Deepak,&lt;BR /&gt; &lt;BR /&gt;   From your swapinfo output,&lt;BR /&gt;i don't see any need to add&lt;BR /&gt;additional swap to the&lt;BR /&gt;existing setup.  &lt;BR /&gt;  Please note that Psedo-Swap&lt;BR /&gt;is currently SET ON in your&lt;BR /&gt;system. That is allowing you&lt;BR /&gt;to use  75% of your Memory&lt;BR /&gt;for Pseudo-swap - which&lt;BR /&gt;comes to around 12 Gb.&lt;BR /&gt;Add that to your 5Gb device&lt;BR /&gt;swap and you have 17Gb of&lt;BR /&gt;swap on your box.  There is&lt;BR /&gt;no need to add further to it,&lt;BR /&gt;unless the usage is high.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;raj</description>
      <pubDate>Thu, 18 Oct 2001 20:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597681#M855077</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-10-18T20:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597682#M855078</link>
      <description>i do see little bit of pageout in the system - ocassionly and somehow find this 30 gig space of no use and therefore plan to use as a device space . &lt;BR /&gt;</description>
      <pubDate>Thu, 18 Oct 2001 20:37:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597682#M855078</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2001-10-18T20:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: adding swap space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597683#M855079</link>
      <description>Hi Deepak:&lt;BR /&gt;&lt;BR /&gt;If you are seeing a few pageouts that is probably memory mapped files being closed and is certainly no big deal.</description>
      <pubDate>Thu, 18 Oct 2001 22:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-swap-space/m-p/2597683#M855079</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-18T22:18:26Z</dc:date>
    </item>
  </channel>
</rss>

