<?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 Memory Issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197789#M324342</link>
    <description>Hi Tim&lt;BR /&gt;&lt;BR /&gt;Can you be more clear on your your last statement "system is no where near swapping anything out to disk"&lt;BR /&gt;&lt;BR /&gt;And also is there way i can reach you to discuss on this.&lt;BR /&gt;&lt;BR /&gt;Tia&lt;BR /&gt;Sri</description>
    <pubDate>Wed, 14 May 2008 18:31:14 GMT</pubDate>
    <dc:creator>Muthyala</dc:creator>
    <dc:date>2008-05-14T18:31:14Z</dc:date>
    <item>
      <title>Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197782#M324335</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;This is the output of my swap&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&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        4096       0    4096    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        4096     174    3922    4%       0       -    0  /dev/vg00/lvol9&lt;BR /&gt;dev        4096     175    3921    4%       0       -    0  /dev/vg00/lvol10&lt;BR /&gt;dev        4096     174    3922    4%       0       -    0  /dev/vg00/lvol11&lt;BR /&gt;dev        4096     169    3927    4%       0       -    0  /dev/vg00/lvol12&lt;BR /&gt;dev        4096     177    3919    4%       0       -    0  /dev/vg00/lvol13&lt;BR /&gt;dev        4096     174    3922    4%       0       -    0  /dev/vg00/lvol14&lt;BR /&gt;dev        4096     175    3921    4%       0       -    0  /dev/vg00/lvol15&lt;BR /&gt;dev        4096     170    3926    4%       0       -    0  /dev/vg00/lvol16&lt;BR /&gt;dev        4096     176    3920    4%       0       -    0  /dev/vg00/lvol17&lt;BR /&gt;dev        4096     171    3925    4%       0       -    0  /dev/vg00/lvol18&lt;BR /&gt;dev        4096     172    3924    4%       0       -    0  /dev/vg00/lvol19&lt;BR /&gt;reserve       -   44658  -44658&lt;BR /&gt;memory    39362   27063   12299   69%&lt;BR /&gt;total     88514   73628   14886   83%&lt;BR /&gt;&lt;BR /&gt;I have 48GB of system memory and 48GB of Device swap. Swap is always above 90% most of the time.&lt;BR /&gt;&lt;BR /&gt;1. Can I increase more swap size on different volume?&lt;BR /&gt;2. If yes, can i increase more than 4GB of device swap or I need to maintain 4GB of device space only.&lt;BR /&gt;3. Will it create any performance issues on system if I increase more device swaps, since I have already 12 swap devices?&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Sri</description>
      <pubDate>Wed, 14 May 2008 15:55:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197782#M324335</guid>
      <dc:creator>Muthyala</dc:creator>
      <dc:date>2008-05-14T15:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197783#M324336</link>
      <description>I'm not sure why you created a bunch of 4GB swap deives all in vg00.&lt;BR /&gt;&lt;BR /&gt;The only restriction on 4GB was /dev/vg00/lvol2 and that went away with the newer version of HPUX.&lt;BR /&gt;&lt;BR /&gt;You can create big swap devices and any disks or in any volume groups you want. &lt;BR /&gt;&lt;BR /&gt;The only restriction to the size might be a kernel paramter and those can be changed.&lt;BR /&gt;&lt;BR /&gt;maxswapchunks - Max Number of Swap Chunks&lt;BR /&gt;nswapdev - Max Devices That Can be Enabled for Swap &lt;BR /&gt;swchunk - Swap Chunk Size (1K Blocks)</description>
      <pubDate>Wed, 14 May 2008 16:25:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197783#M324336</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2008-05-14T16:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197784#M324337</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Uhh, unless you have multiple phyical volumes&lt;BR /&gt;in vg00, you are creating a dangerous&lt;BR /&gt;environment from the performance perspective.&lt;BR /&gt;&lt;BR /&gt;Yes, you can add as many other swap devices&lt;BR /&gt;as you want, but be careful (see below):&lt;BR /&gt;&lt;BR /&gt;Your 4GB per swap space design is good&lt;BR /&gt;but you should spread them across different&lt;BR /&gt;physical devices. For example, if you have&lt;BR /&gt;SAN, let all other swap devices reside on&lt;BR /&gt;different LUNs (or VDISKs).&lt;BR /&gt;&lt;BR /&gt;It is best to leave swap devices at 4GB.&lt;BR /&gt;Do not use different sizes for swap devices.&lt;BR /&gt;&lt;BR /&gt;Then, have all swap devices set at same&lt;BR /&gt;priority. In other words, your swap devices&lt;BR /&gt;will be interleaved in perfect way.&lt;BR /&gt;&lt;BR /&gt;At the moment, if your server starts&lt;BR /&gt;swapping, your performance will probably suffer a lot. The disks in vg00 will work&lt;BR /&gt;very hard to serve swap and other regular&lt;BR /&gt;O/S operations...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Wed, 14 May 2008 16:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197784#M324337</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-05-14T16:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197785#M324338</link>
      <description>HI&lt;BR /&gt;&lt;BR /&gt;My maxswapchunks is set to 16384 currently and swchunk to 65536.&lt;BR /&gt;&lt;BR /&gt;So do you think i need to increase them more.&lt;BR /&gt;&lt;BR /&gt;Tia&lt;BR /&gt;Sri</description>
      <pubDate>Wed, 14 May 2008 16:45:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197785#M324338</guid>
      <dc:creator>Muthyala</dc:creator>
      <dc:date>2008-05-14T16:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197786#M324339</link>
      <description>Dear Muthaya&lt;BR /&gt;&lt;BR /&gt;if u want to create a new swap device u have to create in another volume group not in the same volume group.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 16:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197786#M324339</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2008-05-14T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197787#M324340</link>
      <description>If my math's correct - I think that is 1TB of swap space.  So you should be more than OK.</description>
      <pubDate>Wed, 14 May 2008 17:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197787#M324340</guid>
      <dc:creator>Bill Costigan</dc:creator>
      <dc:date>2008-05-14T17:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197788#M324341</link>
      <description>While you are at it.  Why not fix it so it is something more supportable that will not lead you into danger zone.&lt;BR /&gt;&lt;BR /&gt;1) leave primary swap at /dev/vg00/lvol2 alone&lt;BR /&gt;&lt;BR /&gt;2) delete all those other goofy ones and create a 48GB or so secondary.&lt;BR /&gt;&lt;BR /&gt;3)  change your swchunk size to 8192&lt;BR /&gt;&lt;BR /&gt;BTW,  according to the swapinfo you posted the system is no where near swapping anything out to disk.  You could just leave this configuration the way that it is and not worry about it. ( but it will come back to get you later ).&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 17:09:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197788#M324341</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-05-14T17:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197789#M324342</link>
      <description>Hi Tim&lt;BR /&gt;&lt;BR /&gt;Can you be more clear on your your last statement "system is no where near swapping anything out to disk"&lt;BR /&gt;&lt;BR /&gt;And also is there way i can reach you to discuss on this.&lt;BR /&gt;&lt;BR /&gt;Tia&lt;BR /&gt;Sri</description>
      <pubDate>Wed, 14 May 2008 18:31:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197789#M324342</guid>
      <dc:creator>Muthyala</dc:creator>
      <dc:date>2008-05-14T18:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197790#M324343</link>
      <description>Your swapinfo is indicating minor 4% allocations on a number of your swap devices that have probably been there for awhile. (depends on the last system boot ?) &lt;BR /&gt;&lt;BR /&gt;To be sure run vmstat over a period of time or use glance to monitor.  We are looking for page deactivations ( po ).&lt;BR /&gt;&lt;BR /&gt;The memory line in your swapinfo output is for psuedo swap.  Tricked in memory swapping that does not really count for anything.&lt;BR /&gt;&lt;BR /&gt;If your system was swapping/deactivating memory pages I would expect a higher percentage after some or all of your swap devices.&lt;BR /&gt;&lt;BR /&gt;Remember, swap usage and swapping ( now called deactivations ) are two different things.  HPUX  reserves swap space up front when a process starts.  It does not mean that the system is swapping/deactivating, need to review with utilities as I mentioned above.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 May 2008 18:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197790#M324343</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-05-14T18:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Swap Memory Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197791#M324344</link>
      <description>Hi Sri:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Sajjad: if u want to create a new swap device u have to create in another volume group not in the same volume gro&lt;BR /&gt;&lt;BR /&gt;This is simply not true.  However, I agree with Tim --- condense down your secondary swap devices into one large one for a cleaner configuration.  Unfortunately to deactivate and eliminate a secondary swap you must remove it from '/etc/fstab' and reboot. &lt;BR /&gt;&lt;BR /&gt;My preference is to have a small primary swap on vg00 and a large(r) secondary device swap on another volume group.  I like to make the secondary swap a higher priority (lower value) so it is used preferentially if/when swap I/O ever occurs.&lt;BR /&gt;&lt;BR /&gt;Of course, should you ever actaully swap your performance is degrading anyway, so other than having sufficient swap space for process reservation, this is all moot.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 14 May 2008 18:53:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-memory-issue/m-p/4197791#M324344</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-05-14T18:53:10Z</dc:date>
    </item>
  </channel>
</rss>

