<?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: Additional swap space migration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464198#M210619</link>
    <description>There will be virtually no performance change no matter how fast or slow your swap devices might by (well, floppies might be an issue...). Swapping, even to a RAM disk will be slow. It requires that processes be deactivated and then  selected pages of the these processes be rolled out to the swap area, while pages for the higher priority process be moved into memory. Swapping at high rates (dozens of pages per second) inidcates a severe shortage of RAM and faster swap areas won't fix the problem.&lt;BR /&gt; &lt;BR /&gt;Now it's true that filesystem swap is slower than a raw swap area and it's certainly a good idea to use a raw lvol as secondary swap space rather than sharing it with a filesystem. But check to see whether the swap space is actually being used (swapinfo -tm). The secondary swap area should a higher priority number (less important) than your primary swap. If they are equal then swap space is allocated in a round-robin method.&lt;BR /&gt;But if you look at vmstat's statistic: po (which is page outs), single digit numbers are fine, double and triple digits for long periods will need more RAM to significantly improve performance.</description>
    <pubDate>Mon, 17 Jan 2005 08:33:42 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2005-01-17T08:33:42Z</dc:date>
    <item>
      <title>Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464190#M210611</link>
      <description>Experts&lt;BR /&gt;I have a swap space  i(File system swap ) configured in external disk array (SAN) in addition to the primary swap of the machine .I am planning to shift that swap to on eof the internal disks .Please suggest if it would be a wise option to proceed.&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Jan 2005 00:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464190#M210611</guid>
      <dc:creator>manu_9</dc:creator>
      <dc:date>2005-01-17T00:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464191#M210612</link>
      <description>Hi MANU&lt;BR /&gt;&lt;BR /&gt;Deactivate the file system swap and configuring again using spcae available in internal disk.&lt;BR /&gt;&lt;BR /&gt;using SAM it is very easy, ofcourse the system will reboot twice</description>
      <pubDate>Mon, 17 Jan 2005 00:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464191#M210612</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2005-01-17T00:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464192#M210613</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can use SAM to check to deactivate your primary swap and it will do it when you reboot the server. You can check swap information by #swapinfo -ta or lvlnboot -v&lt;BR /&gt;To add a swap at the end of filesystem by&lt;BR /&gt;#swapon -p priority_number -e /dev/dsk/cxtydz (with end of whole disk device)&lt;BR /&gt;&lt;BR /&gt;HMT</description>
      <pubDate>Mon, 17 Jan 2005 01:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464192#M210613</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2005-01-17T01:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464193#M210614</link>
      <description>Hi, &lt;BR /&gt;My question is , Id it a good idea to do this migration from the performance point of view .</description>
      <pubDate>Mon, 17 Jan 2005 01:23:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464193#M210614</guid>
      <dc:creator>manu_9</dc:creator>
      <dc:date>2005-01-17T01:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464194#M210615</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Ofcourse performnace will improve, because for additional swap system no need to look into network (SAN), which is slightly time consuming process than making an I/O to the disk</description>
      <pubDate>Mon, 17 Jan 2005 01:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464194#M210615</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2005-01-17T01:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464195#M210616</link>
      <description>Sorry for misunderstanding yours.&lt;BR /&gt;From the performance's point of view. You should check your performance utilization, indicated by page out by sar -w, vmstat, how your Physical memory is and how local space disk. If it's not take much memory , you should take it by default (it mean that lvol2 as primary swap)&lt;BR /&gt;&lt;BR /&gt;HMT</description>
      <pubDate>Mon, 17 Jan 2005 01:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464195#M210616</guid>
      <dc:creator>Hoang Minh Tuan</dc:creator>
      <dc:date>2005-01-17T01:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464196#M210617</link>
      <description>You should check with 'swapinfo -tam' to see if swapspace is actually being used on SAN.&lt;BR /&gt;If nothing is used you will not gain any performance.&lt;BR /&gt;If swapspace is used on SAN you will get better performance by moving it to local disk. You will get better performance because:&lt;BR /&gt;1. It is local (vs SAN).&lt;BR /&gt;2. it is device swap (vs filesystem swap).&lt;BR /&gt;If posible you should put it on another disk than the promary swap and give it the same priority (given the speed of accessing the disks are the same).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Mon, 17 Jan 2005 06:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464196#M210617</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2005-01-17T06:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464197#M210618</link>
      <description>Performance should increase as long as Your local disks aren't too slow, also deviceswap is considered much faster than filesystem-based swapfiles.&lt;BR /&gt;Furthermore, when swap usage is high, it might steal performance from the data-filesystems on the SAN.&lt;BR /&gt;&lt;BR /&gt;If Your local reserve to 'eof' in vg00 is really large, You will have to check the kernel parameter max_swap_chunks, or the system possibly won't able to use it to full.&lt;BR /&gt;&lt;BR /&gt;Also... are You sure You don't want to keep any reserve in vg00 for emergencies?&lt;BR /&gt;&lt;BR /&gt;Personally, I'd add the swapspace right now and update fstab so that the next scheduled reboot cleans up the things.&lt;BR /&gt;&lt;BR /&gt;lvcreate -l 1 vg00&lt;BR /&gt;lvextend -m 1 /dev/vg00/&lt;NEWLVOL&gt;&lt;BR /&gt;lvchange -m y /dev/vg00/&lt;NEWLVOL&gt; #one might argue that one, decide Yourself, don't just use it.&lt;BR /&gt;lvextend -l &lt;NUMOFFREEPE&gt; /dev/vg00/&lt;NEWLVOL&gt;&lt;BR /&gt;&lt;BR /&gt;# enter swapspace to fstab&lt;BR /&gt;# please use a lower priority than the already-existing swapspace in vg00, or the disks get hammered without gain&lt;BR /&gt;/dev/vg00/&lt;NEWLVOL&gt; ... swap pri=2 0 0 &lt;BR /&gt;swapon -a&lt;BR /&gt;&lt;BR /&gt;# then remove the filesystem swap from /etc/fstab&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;good luck :)&lt;/NEWLVOL&gt;&lt;/NEWLVOL&gt;&lt;/NUMOFFREEPE&gt;&lt;/NEWLVOL&gt;&lt;/NEWLVOL&gt;</description>
      <pubDate>Mon, 17 Jan 2005 06:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464197#M210618</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-01-17T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Additional swap space migration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464198#M210619</link>
      <description>There will be virtually no performance change no matter how fast or slow your swap devices might by (well, floppies might be an issue...). Swapping, even to a RAM disk will be slow. It requires that processes be deactivated and then  selected pages of the these processes be rolled out to the swap area, while pages for the higher priority process be moved into memory. Swapping at high rates (dozens of pages per second) inidcates a severe shortage of RAM and faster swap areas won't fix the problem.&lt;BR /&gt; &lt;BR /&gt;Now it's true that filesystem swap is slower than a raw swap area and it's certainly a good idea to use a raw lvol as secondary swap space rather than sharing it with a filesystem. But check to see whether the swap space is actually being used (swapinfo -tm). The secondary swap area should a higher priority number (less important) than your primary swap. If they are equal then swap space is allocated in a round-robin method.&lt;BR /&gt;But if you look at vmstat's statistic: po (which is page outs), single digit numbers are fine, double and triple digits for long periods will need more RAM to significantly improve performance.</description>
      <pubDate>Mon, 17 Jan 2005 08:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/additional-swap-space-migration/m-p/3464198#M210619</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-01-17T08:33:42Z</dc:date>
    </item>
  </channel>
</rss>

