<?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: question about swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703813#M249840</link>
    <description>YES!!!! You absolutely need to mirror ALL swap devices / lvols.&lt;BR /&gt;&lt;BR /&gt;If you lose a disk that has a swap lvol on it, you run a VERY HIGH risk of having your system crash.</description>
    <pubDate>Thu, 05 Jan 2006 16:51:28 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2006-01-05T16:51:28Z</dc:date>
    <item>
      <title>question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703812#M249839</link>
      <description>Hi &lt;BR /&gt;if the disk with secondary swap (not lvol2) crash while the system is running,  does it impact system.&lt;BR /&gt;do we need make mirror for seconday swap .&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 05 Jan 2006 16:47:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703812#M249839</guid>
      <dc:creator>dongming</dc:creator>
      <dc:date>2006-01-05T16:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703813#M249840</link>
      <description>YES!!!! You absolutely need to mirror ALL swap devices / lvols.&lt;BR /&gt;&lt;BR /&gt;If you lose a disk that has a swap lvol on it, you run a VERY HIGH risk of having your system crash.</description>
      <pubDate>Thu, 05 Jan 2006 16:51:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703813#M249840</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-01-05T16:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703814#M249841</link>
      <description>It may not crash immediately but all swap should be mirrored. Mirroring will allow you to replace the swap disk "on the fly" without having to shutdown. Once the machine is up, all swap areas are essentially equally important.</description>
      <pubDate>Thu, 05 Jan 2006 16:52:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703814#M249841</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-05T16:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703815#M249842</link>
      <description>thanks&lt;BR /&gt;but sometime , the secondary swap is huge ,&lt;BR /&gt;for example, sap require 25-20G swap space, but the space of  internal disk is not enough,how to resolve this problem?&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 17:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703815#M249842</guid>
      <dc:creator>dongming</dc:creator>
      <dc:date>2006-01-05T17:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703816#M249843</link>
      <description>Swap does not have to be on an internal disk. Only primary swap has to be on the boot disk and it can be quite small.&lt;BR /&gt;&lt;BR /&gt;Assuming that you have a machine with enough memory so that swapping does not actually occur, you can set swapmem_on=1 and run just fine with as total swap space as small as ~25% of memory. SAP only requires that huge amount of swap during installation. The installation check for it and then proceeds. You don't need it after that so a good solution is to configure as much swap as you really need to operate and then add the terrible, dreaded filesystem swap to get you up to the 3X memory that SAP install requires. You can then delete the filesystem swap entry in /etc/fstab and reboot and you will be back to normal.</description>
      <pubDate>Thu, 05 Jan 2006 17:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703816#M249843</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-05T17:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703817#M249844</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Since the secondary swap will not be available to the system, you may get a degraded performance or a system hang depending  on the status of the swap space being used.&lt;BR /&gt;&lt;BR /&gt;If your secondary swap is device swap then it is better that you have it mirrored. &lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Ajit</description>
      <pubDate>Thu, 05 Jan 2006 17:27:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703817#M249844</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2006-01-05T17:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703818#M249845</link>
      <description>hi clay, thanks very much, the following output is from out production server.&lt;BR /&gt;&lt;BR /&gt;# swapinfo&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     4161536       0 4161536    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev     12582912       0 12582912    0%       0       -    1  /dev/vg00/lvswap1&lt;BR /&gt;dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvswap2&lt;BR /&gt;dev     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvswap3&lt;BR /&gt;reserve       - 10486412 -10486412&lt;BR /&gt;memory  14244872 2559716 11685156   18%&lt;BR /&gt;&lt;BR /&gt;the usage on phyical swap is 0, do you mean i can remove some on the next down time, is any way to disable swap online.</description>
      <pubDate>Thu, 05 Jan 2006 17:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703818#M249845</guid>
      <dc:creator>dongming</dc:creator>
      <dc:date>2006-01-05T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703819#M249846</link>
      <description>The whole secondary swap need not be on a single disk, you can spread it on different disks and possibly on different controllers, this way you get a better performance. But the swap lvol size should remain unifrom on all the disks.&lt;BR /&gt;&lt;BR /&gt;thanks &lt;BR /&gt;&lt;BR /&gt;Ajit</description>
      <pubDate>Thu, 05 Jan 2006 17:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703819#M249846</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2006-01-05T17:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703820#M249847</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You asked if you can disable your device swap "online".  No, you can't.  Delete the secondary device swap entries that you don't want from '/etc/fstab' and reboot.  When done, you can remove the useless logical volume that supported them.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 05 Jan 2006 17:52:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703820#M249847</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-05T17:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703821#M249848</link>
      <description>It's essentially a waste of time these days to talk about swap layout and performance for the simple reason that when you begin to swap to any significant degree, your performance is terrible. I always say that worrying about swap layout is akin to rearranging the deck chairs on the Titanic.&lt;BR /&gt;&lt;BR /&gt;You don't mention how much physical memory you have have but leave at least 25% of RAM configured as swap space and monitor the situation using swapinfo until you are confident that you have enough swap. You cannot disable swap once the machine has allocated it BUT you can remove the /etc/fstab entries while the machine is up. In any event every dab of your swap should still be mirrored and my other configuration rule is that swap space has absolutely nothing to do with dump space and dump space should never be mirrored.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 17:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703821#M249848</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-01-05T17:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703822#M249849</link>
      <description>Hi dongming,&lt;BR /&gt; If the disk with secondary swap fails while system is running, system won't go down if the swap space from that lvol is not used. But if it is being used, then it may crash.&lt;BR /&gt;&lt;BR /&gt;It is better to create the secondary swap on the external storage box, which normally will be an AUTORAID box. Then you don't need to mirror it - because storage box will have redundancy depending up on the configuration you have done.&lt;BR /&gt;&lt;BR /&gt;It is adviced to configure secondary swap on lvols which is on different disks with same priority. &amp;amp; lvols which is on same disk on different priority.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Shameer&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jan 2006 22:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703822#M249849</guid>
      <dc:creator>Shameer.V.A</dc:creator>
      <dc:date>2006-01-05T22:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703823#M249850</link>
      <description>Here are some of the Thumb rules for creating secondary swap:&lt;BR /&gt;&lt;BR /&gt;a) Avoid file system swap altogether if possible.&lt;BR /&gt;b) Avoid using busy file systems such as the root file system.&lt;BR /&gt;c) Avoid using file systems already near capacity.&lt;BR /&gt;d) Avoid using file systems on disks that already have swap configured.&lt;BR /&gt;e) Set priorities appropriately.&lt;BR /&gt;f) Choose faster devices over slower devices.&lt;BR /&gt;g) Choose infrequently-used file systems over busier file systems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Amit</description>
      <pubDate>Fri, 06 Jan 2006 05:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703823#M249850</guid>
      <dc:creator>Chauhan Amit</dc:creator>
      <dc:date>2006-01-06T05:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: question about swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703824#M249851</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;would be nice to have a look at the attachment...&lt;BR /&gt;&lt;BR /&gt;Good Luck,</description>
      <pubDate>Fri, 06 Jan 2006 06:04:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-about-swap/m-p/3703824#M249851</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-01-06T06:04:41Z</dc:date>
    </item>
  </channel>
</rss>

