<?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: Decision to pseudo swap or not on HP-UX 11.23 Itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069375#M438483</link>
    <description>Shalom Bryan,&lt;BR /&gt;&lt;BR /&gt;It would be nice to see some swapinfo -tam output to help you more.&lt;BR /&gt;&lt;BR /&gt;Quick fix: What is dbc_pct_max ? It defaults to 50 and reducing it to say 10 can get you a lot of memory back cheap and easy.&lt;BR /&gt;&lt;BR /&gt;To determine the calculations on swap needs, you may want to take a look at data on swap over time.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This script measures various performance parameters including swap. I'm trying to shoehorn a vmstat command into the thing because people like that better than the one I'm currently using (HP wrote and I later enhanced the script).&lt;BR /&gt;&lt;BR /&gt;Once you have some data you can make some caluclations no swap needs.&lt;BR /&gt;&lt;BR /&gt;Doc:&lt;BR /&gt;&lt;A href="http://h41156.www4.hp.com/education/upload/th/en/h4262sb.pdf" target="_blank"&gt;http://h41156.www4.hp.com/education/upload/th/en/h4262sb.pdf&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90203/TKP-90203.pdf" target="_blank"&gt;http://docs.hp.com/en/TKP-90203/TKP-90203.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 19 Sep 2007 11:33:12 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2007-09-19T11:33:12Z</dc:date>
    <item>
      <title>Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069368#M438476</link>
      <description>Swapinfo not looking very good on the HP-UX 11.23 Itanium server running Oracle 10g R2.&lt;BR /&gt;Memory = 29647 MB (28.952148 GB)&lt;BR /&gt;Number of CPUs = 8&lt;BR /&gt;ia64 hp server rx8640&lt;BR /&gt;&lt;BR /&gt;# swapinfo -ta&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     4194304       0 4194304    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 1533284 -1533284&lt;BR /&gt;memory  30358576 25510316 4848260   84%&lt;BR /&gt;total   34552880 27043600 7509280   78%       -       0    -&lt;BR /&gt;&lt;BR /&gt;I've read the forum articles about decreasing the SGA, increasing physical RAM, and/or increasing physical disk swap space. &lt;BR /&gt;My question is if I allocate enough physical disk swap to cover my process creation needs then can I turn off pseudo swap with no ill affects?  Am I missing some of the benfits that spseudo swap has to offer, beyond the swap reservation offering?  HP memory white paper seems to indicate that the kernel competes with pseudo swap for system RAM such that memory allocated for psuedo swap is not available for the kernel to use.  I'd rather I have some unusable disk space verses unusable RAM.&lt;BR /&gt;&lt;BR /&gt;Additional info:&lt;BR /&gt;# ipcs -ma&lt;BR /&gt;IPC status from /dev/kmem as of Tue Sep 18 21:03:58 2007&lt;BR /&gt;T         ID     KEY        MODE        OWNER     GROUP   CREATOR    CGROUP NATTCH      SEGSZ  CPID  LPID   ATIME    DTIME    CTIME&lt;BR /&gt;Shared Memory:&lt;BR /&gt;m          0 0x411c018a --rw-rw-rw-      root      root      root      root      0        348   871   871 17:40:34 17:40:34 17:40:28&lt;BR /&gt;m          1 0x4e0c0002 --rw-rw-rw-      root      root      root      root      1      61760   871   871 17:40:30 17:40:34 17:40:28&lt;BR /&gt;m          2 0x4120928c --rw-rw-rw-      root      root      root      root      1       8192   871   883 17:40:30 17:40:28 17:40:28&lt;BR /&gt;m     196611 0x0c6629c9 --rw-r-----      root      root      root      root      2   17842600  2152  1413 15:47:07 15:53:31 17:41:49&lt;BR /&gt;m          4 0x06347849 --rw-rw-rw-      root      root      root      root      2      65544  2103  2158 17:41:51 17:41:49 17:41:48&lt;BR /&gt;m      32773 0x491808f0 --rw-r--r--      root      root      root      root      0      22908  2108  2158 21:03:00 21:03:00 17:41:50&lt;BR /&gt;m   10584070 0xa35fe53c --rw-r-----    oracle  oinstall    oracle  oinstall     22  421486592  6869 24557 21:00:01 21:00:01 17:47:05&lt;BR /&gt;m          7 0xae1eacc8 --rw-r-----    oracle  oinstall    oracle  oinstall     52 21491658752  7604 24553 21:00:25 21:01:01 17:47:44&lt;BR /&gt;&lt;BR /&gt;Slightly different form:&lt;BR /&gt;  ID       KEY    NATTACH    SIZE     ATIME       DTIME       CTIME&lt;BR /&gt;      0 0x411c018a    0        348 09-11|17:40 09-11|17:40 09-11|17:40&lt;BR /&gt;      1 0x4e0c0002    1      61760 09-11|17:40 09-11|17:40 09-11|17:40&lt;BR /&gt;      2 0x4120928c    1       8192 09-11|17:40 09-11|17:40 09-11|17:40&lt;BR /&gt; 196611 0x0c6629c9    2   17842600 09-18|15:47 09-18|15:53 09-11|17:41&lt;BR /&gt;      4 0x06347849    2      65544 09-11|17:41 09-11|17:41 09-11|17:41&lt;BR /&gt;  32773 0x491808f0    0      22908 09-18|21:03 09-18|21:03 09-11|17:41&lt;BR /&gt;10584070 0xffffffffa35fe53c   22  421486592 09-18|21:00 09-18|21:00 09-11|17:47&lt;BR /&gt;      7 0xffffffffae1eacc8   52 21491658752 09-18|21:00 09-18|21:01 09-11|17:47&lt;BR /&gt;&lt;BR /&gt;How can I determine the proper amount of additional physical disk swap space to cover completely my process creation needs such that I have the possibility of turning off the pseudo swap?&lt;BR /&gt;I read that not enough is bad (my current situation) and that to much is bad as well.&lt;BR /&gt;Anyone know how to find the sweet spot?&lt;BR /&gt;Is there an easy calculation that can be made from the swapinfo output?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bryan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Sep 2007 16:18:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069368#M438476</guid>
      <dc:creator>Bryan Rooney</dc:creator>
      <dc:date>2007-09-18T16:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069369#M438477</link>
      <description>First, you have to understand that pseudoswap (swapmem_on=1) is not swap; it doesn't compete with anything. It's nothing more and nothing less than a bit a kernel math hand-waving to allow 75% of physical memory to count as process reservation space. That's it!&lt;BR /&gt;&lt;BR /&gt;Consider a system with 32GiB of physical memory (RAM) and 8GiB of actual (device or filesystem) swap space. If pseudoswap is not enabled (swapmem_on=0) then no more than 8GiB's worth of process space can be used eventhough you still have ~24GiB's of memory left. If you try to run more processes then you will get "Can't fork" errors. Now on that same system is pseudoswap is enabled, you can count 0.75 x 32GiB (RAM) + 8GiB actual swap space = 32GiB as process reservation space and you can fully utilize all of your physical memory. Pseudoswap is really intended for those systems which have less swap space than physical memory; if you have swap space &amp;gt;= RAM then pseudoswap serves no purpose and should be turned off as the system will actually run a little safer.&lt;BR /&gt;&lt;BR /&gt;There really is no "sweet spot" for swap; it has no performance impact (other than limiting the number and sizes of processes which can be run). What you should really do is configure about 25% of RAM as primary swap (or a small 1GiB or primary swap space and enough additional swap to bring you up to 25% of RAM) and enable pseudoswap. You then monitor swap usage and add additional swap until you are satisfied. Your goal should be to never swap to any significant degree at all because the performance impact of swapping is so large.</description>
      <pubDate>Tue, 18 Sep 2007 16:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069369#M438477</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-18T16:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069370#M438478</link>
      <description>Bryan,&lt;BR /&gt;&lt;BR /&gt;I believe this to be a very complex and controversial subject.&lt;BR /&gt;We are primarily a Sybase shop, so we have followed their recommendations in regards to Pseudoswap.&lt;BR /&gt;&lt;BR /&gt;An old quote I have from a Sybase document:&lt;BR /&gt;  "Pseudoswap is not a wise thing to use with the SQL Server and is&lt;BR /&gt;  not something that Sybase recommends.  Reader's digest&lt;BR /&gt;  version is with psuedoswap enabled you may not have enough lockable&lt;BR /&gt;  memory available for async IO and/or shared memory of the server&lt;BR /&gt;  The SWAPMEM_ON parameter  should be set to 0.  There have been &lt;BR /&gt;  cases where the system appears to have sufficient memory but the server&lt;BR /&gt;  boots using standard UNIX I/O instead of asynchronous I/O,&lt;BR /&gt;  due to the SWAPMEM_ON parameter having been set to 1.&lt;BR /&gt;  &lt;BR /&gt;  Under HP-UX lockable shared memory defaults to 75% of physical memory.&lt;BR /&gt;  This percentage may be adjusted via the kernel parameter UNLOCKABLE_MEM.&lt;BR /&gt;  Its default value is 0, signifying that 25% of physical memory is&lt;BR /&gt;  unlockable."&lt;BR /&gt;&lt;BR /&gt;Also, see Don Morris's comment in this thread.&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1156937" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1156937&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I have set my swap to 1-1/2 times ram.&lt;BR /&gt;We have 16 GB RAM and 24 GB of swap.&lt;BR /&gt;&lt;BR /&gt;Don't know if this helps in your situation, but thought I would throw it out there.&lt;BR /&gt;&lt;BR /&gt;Ted</description>
      <pubDate>Wed, 19 Sep 2007 10:20:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069370#M438478</guid>
      <dc:creator>Theodore Pardike</dc:creator>
      <dc:date>2007-09-19T10:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069371#M438479</link>
      <description>With 28GB of RAM I would configure at least 30-36GB of device swap.  Your 4GB allocation does no good.  HPUX allocates/reserves swap space up front so in order to use all 28GB of RAM you must have at a minumum 28GB of device swap.&lt;BR /&gt;&lt;BR /&gt;Only 28GB of device swap is needed BUT if you approach the 28GB mark of used phyical you will experience "cannot fork" errors.  Having a handfull of extra device swap will allow you to function without error until you can either make application adjustments or purchase more memory. &lt;BR /&gt;&lt;BR /&gt;No need to turn off psuedo swap.  As the system needs memory for the applications the psuedo allocations are reduced until none remain.  Psuedo swap is the magic math that is currently allowing you to run more than 4GB of processes.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2007 10:57:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069371#M438479</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-09-19T10:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069372#M438480</link>
      <description>Hi Bryan,&lt;BR /&gt;&lt;BR /&gt;Extracted from the whitepaper&lt;BR /&gt;&lt;BR /&gt;Pseudo swap is used to increase the amount of reservable virtual memory. This is useful&lt;BR /&gt;when you can't configure as much device swap as you need. For example, say you have&lt;BR /&gt;more physical memory installed than you have disks available to use as swap: in this case, if pseudo swap is not turned on, youâ  ll never be able to allocate all the physical memory you have. &lt;BR /&gt;Legend had it that if you had plenty of disk swap reservable (way more than&lt;BR /&gt;physmem), then also enabling pseudo swap could slow performance. &lt;BR /&gt;&lt;BR /&gt;Doug - The author, spent a good few days trying to confirm this with benchmarks on some test systems and could not find any effect of pseudo swap on performance, unless your system is trying to reserve more&lt;BR /&gt;swap than you have device swap available to cover. So: pseudo swap can slow down&lt;BR /&gt;performance only when it "kicks in". &lt;BR /&gt;When your total reserved swap space increases beyond the amount available for device swap, if you do not have pseudo swap enabled, programs will fail ("out of memory"). If your total swap reservation exceeds available device swap and you do have pseudo swap enabled, then programs will not fail, but the kernel will start locking their pages into physical memory. If this happens, the number for "Used" memory swap shown in glance will go up quickly. We realize this is a real&lt;BR /&gt;head-spinner. &lt;BR /&gt;&lt;BR /&gt;Rule of thumb: if you have enough device swap available to cover the amount you will reserve, then you don't need to worry about how this parameter is set. If&lt;BR /&gt;you need to set it because you're short on device swap, then beware that it could affect performance. &lt;BR /&gt;&lt;BR /&gt;Bottom line is to try and configure enough swap disk to cover your expected workload.&lt;BR /&gt;&lt;BR /&gt;WK&lt;BR /&gt;please assign points</description>
      <pubDate>Wed, 19 Sep 2007 11:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069372#M438480</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-09-19T11:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069373#M438481</link>
      <description>Thanks everyone for your replies:&lt;BR /&gt;&lt;BR /&gt;As quoted from WK:&lt;BR /&gt;"If your total swap reservation exceeds available device swap and you do have pseudo swap enabled, then programs will not fail, but the kernel will start locking their pages into physical memory. If this happens, the number for "Used" memory swap shown in glance will go up quickly."&lt;BR /&gt;&lt;BR /&gt;This to me means that the kernel and swap can complete for RAM under certain situations.  Am I understanding ths incorrectly?  I don't have any issue with keeping pseudo swap on if it will cover me in situation where more reservation occurs that I excpet.</description>
      <pubDate>Wed, 19 Sep 2007 11:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069373#M438481</guid>
      <dc:creator>Bryan Rooney</dc:creator>
      <dc:date>2007-09-19T11:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069374#M438482</link>
      <description>Bryan,&lt;BR /&gt;&lt;BR /&gt;Oh yea...&lt;BR /&gt;&lt;BR /&gt;If you plan to test this out, run "dmesg" before and after enabling/disabling&lt;BR /&gt;pseudoswap.&lt;BR /&gt;&lt;BR /&gt;Here are the results of an old system we used to have:&lt;BR /&gt;&lt;BR /&gt;swapmem_on from 1 to 0&lt;BR /&gt;&lt;BR /&gt;Before:&lt;BR /&gt;&lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 1179648 Kbytes, lockable: 842660 Kbytes, available: 977624 Kbytes&lt;BR /&gt;    &lt;BR /&gt;After:&lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 1179648 Kbytes, lockable: 943012 Kbytes, available: 977624 Kbytes  &lt;BR /&gt;&lt;BR /&gt;You will see that lockable memory does increase after disabling pseudoswap.&lt;BR /&gt;&lt;BR /&gt;Ted</description>
      <pubDate>Wed, 19 Sep 2007 11:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069374#M438482</guid>
      <dc:creator>Theodore Pardike</dc:creator>
      <dc:date>2007-09-19T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069375#M438483</link>
      <description>Shalom Bryan,&lt;BR /&gt;&lt;BR /&gt;It would be nice to see some swapinfo -tam output to help you more.&lt;BR /&gt;&lt;BR /&gt;Quick fix: What is dbc_pct_max ? It defaults to 50 and reducing it to say 10 can get you a lot of memory back cheap and easy.&lt;BR /&gt;&lt;BR /&gt;To determine the calculations on swap needs, you may want to take a look at data on swap over time.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/system.perf.sh" target="_blank"&gt;http://www.hpux.ws/system.perf.sh&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This script measures various performance parameters including swap. I'm trying to shoehorn a vmstat command into the thing because people like that better than the one I'm currently using (HP wrote and I later enhanced the script).&lt;BR /&gt;&lt;BR /&gt;Once you have some data you can make some caluclations no swap needs.&lt;BR /&gt;&lt;BR /&gt;Doc:&lt;BR /&gt;&lt;A href="http://h41156.www4.hp.com/education/upload/th/en/h4262sb.pdf" target="_blank"&gt;http://h41156.www4.hp.com/education/upload/th/en/h4262sb.pdf&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/TKP-90203/TKP-90203.pdf" target="_blank"&gt;http://docs.hp.com/en/TKP-90203/TKP-90203.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 19 Sep 2007 11:33:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069375#M438483</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-19T11:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069376#M438484</link>
      <description>Steven -&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;I included the swapinfo output in the original message.  If you specifically want the MB version:&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;reserve       -    1510   -1510&lt;BR /&gt;memory    29647   24945    4702   84%&lt;BR /&gt;total     33743   26455    7288   78%       -       0    -&lt;BR /&gt;&lt;BR /&gt;# kctune dbc_max_pct&lt;BR /&gt;Tunable      Value  Expression  Changes&lt;BR /&gt;dbc_max_pct      5  5           Immed&lt;BR /&gt;&lt;BR /&gt;We're using Oracle ASM against raw disk via Async I/O so can afford to set it low.&lt;BR /&gt;&lt;BR /&gt;Top shows:&lt;BR /&gt;Memory: 8547408K (7390236K) real, 9050592K (7832500K) virtual, 7285684K free&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2007 13:31:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069376#M438484</guid>
      <dc:creator>Bryan Rooney</dc:creator>
      <dc:date>2007-09-19T13:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069377#M438485</link>
      <description>Top is about as useless as a bucket of spit for displaying memory usage. It only knows about memory used by processes and nothing about kernel data structures such as buffer cache. In your particular case, you are not yet at 25% of RAM for actual device/filesystem swap space so at a minimum, you should add enough secondary swap to get you there. The absolute bottom line is that if you are concerned about running out of virtual memory then forget about pseudoswap and add enough actual swap space to at least equal memory. Again, pseudoswap is only intended for those systems which have LESS swap than memory --- just as you currently do. I have many systems with much less swap than memory and they run just fine --- and never swap. I bought all that memory so that I would never have to swap.&lt;BR /&gt;&lt;BR /&gt;If you do add swap, make certain that every dab of it is mirrored.</description>
      <pubDate>Wed, 19 Sep 2007 17:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069377#M438485</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-09-19T17:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069378#M438486</link>
      <description>Clay -&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;Thanks for your comment on the mirroring.&lt;BR /&gt;I came from AIX land where the swap was not mirrored by its mirrirong command, at least on the versions I worked on.  I checked the native swap and it is mirrored.  I'll make sure the secondary swap space is mirrored as well.  Thanks again for the heads up on that.&lt;BR /&gt;Here's a snip of what I saw for primary swap:&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/vg00/lvol2 |more&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg00/lvol2&lt;BR /&gt;VG Name                     /dev/vg00&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            4096&lt;BR /&gt;Current LE                  128&lt;BR /&gt;Allocated PE                256&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   off&lt;BR /&gt;Allocation                  strict/contiguous&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name                 LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c0t6d0s2       128       128&lt;BR /&gt;   /dev/dsk/c4t6d0s2       128       128&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                     PE1   Status 1 PV2                     PE2   Status 2&lt;BR /&gt;   00000 /dev/dsk/c0t6d0s2       00010 current  /dev/dsk/c4t6d0s2       00010 current&lt;BR /&gt;   00001 /dev/dsk/c0t6d0s2       00011 current  /dev/dsk/c4t6d0s2       00011 current&lt;BR /&gt;   00002 /dev/dsk/c0t6d0s2       00012 current  /dev/dsk/c4t6d0s2       00012 current&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069378#M438486</guid>
      <dc:creator>Bryan Rooney</dc:creator>
      <dc:date>2007-09-24T09:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Decision to pseudo swap or not on HP-UX 11.23 Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069379#M438487</link>
      <description>In my case the solution is to increase disk swap to match my physical RAM as I have enough disk space, at a minimum, to match the RAM.&lt;BR /&gt;As was noted in one of the replies, in the case of a mirrored system, the swap needs to be mirrored as well.</description>
      <pubDate>Mon, 24 Sep 2007 12:15:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/decision-to-pseudo-swap-or-not-on-hp-ux-11-23-itanium/m-p/5069379#M438487</guid>
      <dc:creator>Bryan Rooney</dc:creator>
      <dc:date>2007-09-24T12:15:13Z</dc:date>
    </item>
  </channel>
</rss>

