<?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: pseudo swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608835#M35645</link>
    <description>Here is a whitepaper on HPUX memory management (a good read).  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Wed, 07 Nov 2001 11:27:36 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-11-07T11:27:36Z</dc:date>
    <item>
      <title>pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608832#M35642</link>
      <description>Hi, All masters,&lt;BR /&gt;&lt;BR /&gt;  On my machine, when I issue "swapinfo -ta", I see that there is a line begins with 'memory', and the PCT USED value is greater than 0 while PCT USED for 'dev' is 0%.&lt;BR /&gt;I know that systems page out to swap space depends on priority. But from the output of 'swapinfo -ta', I can see the priority of dev is '1' but none for 'memory'. Why this happen? Doesn't system use 'memory' swap space after 'dev' swap space is full?&lt;BR /&gt;&lt;BR /&gt;  Thanks a lot</description>
      <pubDate>Wed, 07 Nov 2001 08:37:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608832#M35642</guid>
      <dc:creator>Lalo_Weng</dc:creator>
      <dc:date>2001-11-07T08:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608833#M35643</link>
      <description>Hi there.&lt;BR /&gt;The memory swap area will be used before the devices, because the disk swap space is a lot slower than the memory. If your system is going to swap on disk, you should do a performance analysis to avoid these bottlenecks.&lt;BR /&gt;Rgds&lt;BR /&gt;Alexander M. Ermes</description>
      <pubDate>Wed, 07 Nov 2001 08:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608833#M35643</guid>
      <dc:creator>Alexander M. Ermes</dc:creator>
      <dc:date>2001-11-07T08:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608834#M35644</link>
      <description>Actually, the memory item in the  swapinfo -ta output is what's called pseudoswap.  Every time a process starts up in HPUX, an amount of memory in set aside for the process.  An equivalent amount of swap area is also set aside.  This area is called the reserve.  For this reason, you should have as much swap and you have of physical memory.&lt;BR /&gt;&lt;BR /&gt;If you have psuedoswap enabled, this tricks the OS into thinking that 3/4 of memory is available for reserve area.  This memory really doesn't exist nor is memory really being used for swap.  With psuedoswap on, you no longer (strictly) have to have as much swap as you have memory since pseudoswap will give you 3/4 memory for reserve (memory is not really taken for reserve, but the OS's requirements are met).&lt;BR /&gt;&lt;BR /&gt;Hope this makes sense.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 07 Nov 2001 11:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608834#M35644</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-11-07T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608835#M35645</link>
      <description>Here is a whitepaper on HPUX memory management (a good read).  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 07 Nov 2001 11:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608835#M35645</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-11-07T11:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608836#M35646</link>
      <description>&amp;lt;&lt;ON my="" machine=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;   That is the pseudo-swap.  You have&lt;BR /&gt;pseudo-swap enabled on your system, which&lt;BR /&gt;allows part of memory to be used for swap.&lt;BR /&gt;(kernel parameter swapmem_on  is the&lt;BR /&gt;setting for this).&lt;BR /&gt;&lt;BR /&gt; &amp;lt;&lt;AND the="" pct="" used="" value="" is="" greater="" than="" 0="" while="" pct="" used="" for=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;   Yes, that is correct, because pseudo-swap&lt;BR /&gt;is used first  before the device swap is&lt;BR /&gt;used, since it is much faster to reserve&lt;BR /&gt;space within memory.  But, on heavily used&lt;BR /&gt;systems you will see even device swap being&lt;BR /&gt;used.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&lt;I know="" that="" systems="" page="" out="" to="" swap="" space="" depends="" on="" priority.="" but="" from="" the="" output="" of=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  The priority factor is for device &amp;amp; filesystem swap.   Pseudo-swap comes much&lt;BR /&gt;before that, since it is actually memory&lt;BR /&gt;doubling up as swap.&lt;BR /&gt;&lt;BR /&gt;&amp;lt;&lt;WHY this="" happen=""&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;  It is the reverse.   If you disable&lt;BR /&gt;pseudo_swap then the device swap will be&lt;BR /&gt;used first.&lt;BR /&gt;&lt;BR /&gt;-raj&lt;/WHY&gt;&lt;/I&gt;&lt;/AND&gt;&lt;/ON&gt;</description>
      <pubDate>Wed, 07 Nov 2001 12:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608836#M35646</guid>
      <dc:creator>Roger Baptiste</dc:creator>
      <dc:date>2001-11-07T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: pseudo swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608837#M35647</link>
      <description>Santosh is correct... pseudoswap is not a substitute for device swap. It is an enhancement to swap. pseudoswap is extremely useful on systems with large memory so that you don't need to match or double the amount of&lt;BR /&gt;actual/physical swap that has been recommended. In other words, it allows us to take advantage of systems with large amounts physical ram without configuring large swap areas. &lt;BR /&gt;&lt;BR /&gt;When the system boots, the amount of pseudo swap is calculated. This calculation is 75% of physical memory and this value is a non-tunable kernel parameter. But this does not mean that memory is taken by pseudoswap. On the contrary, pseudoswap doesn't exist. When processes are swapped, they always swap to physical swap.&lt;BR /&gt;&lt;BR /&gt;Tony&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Nov 2001 20:32:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pseudo-swap/m-p/2608837#M35647</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2001-11-07T20:32:07Z</dc:date>
    </item>
  </channel>
</rss>

