<?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 swap #2 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584677#M32189</link>
    <description>Is there a way to monitor swap?  We have to boxes, one has 1.5 gig of swap and the other box is being configured for production has 500 meg of swap.  I only read in someones notes that the machine should have at least a gig of swap.  The machine has 4 gig of memory.  Is there away to monitor memory usage?</description>
    <pubDate>Tue, 25 Sep 2001 15:15:29 GMT</pubDate>
    <dc:creator>Jeff Hagstrom</dc:creator>
    <dc:date>2001-09-25T15:15:29Z</dc:date>
    <item>
      <title>swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584677#M32189</link>
      <description>Is there a way to monitor swap?  We have to boxes, one has 1.5 gig of swap and the other box is being configured for production has 500 meg of swap.  I only read in someones notes that the machine should have at least a gig of swap.  The machine has 4 gig of memory.  Is there away to monitor memory usage?</description>
      <pubDate>Tue, 25 Sep 2001 15:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584677#M32189</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2001-09-25T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584678#M32190</link>
      <description>Hi Jeff:&lt;BR /&gt;&lt;BR /&gt;The standard is with 'swapinfo', 'sar -w' and 'glance'.  Take a look at the man pages for 'swapinfo' and 'sar'.&lt;BR /&gt;&lt;BR /&gt;# swapinfo -ta&lt;BR /&gt;&lt;BR /&gt;# sar -w 10 20 #...sample every 10-seconds for 20-samples...&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 25 Sep 2001 15:22:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584678#M32190</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-09-25T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584679#M32191</link>
      <description>swapinfo is the most useful when using the megabyte option:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tam&lt;BR /&gt;&lt;BR /&gt;(kbytes are just too small these days)</description>
      <pubDate>Tue, 25 Sep 2001 15:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584679#M32191</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-09-25T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584680#M32192</link>
      <description>The posts above are the methods for monitoring swap.  Also, HP recommends having swap space 1.5-2 times the physical memory.  Pseudo swap will try to reserve swap space for each process so unless you turn pseudo swap off, 1.5 GB of swap on a system with 4GB physical memory isn't a good idea.</description>
      <pubDate>Tue, 25 Sep 2001 16:17:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584680#M32192</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-09-25T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584681#M32193</link>
      <description>I forgot to attach this, here is a simple script that we use on systems where we are using other monitoring methods.  It simply logs the occurence and emails when swap usage is above 90%.</description>
      <pubDate>Tue, 25 Sep 2001 16:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584681#M32193</guid>
      <dc:creator>Bernie Vande Griend</dc:creator>
      <dc:date>2001-09-25T16:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584682#M32194</link>
      <description>HI&lt;BR /&gt;swapinfo -tm or glance will be able help you finding out swap utilization on system.&lt;BR /&gt;Check output on your system and if system is doing much swaping you can add additional swap in system to improve performance.&lt;BR /&gt;&lt;BR /&gt;In our N4000 machine with 4GB RAM, 1GB swap is working fine.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant .</description>
      <pubDate>Tue, 25 Sep 2001 17:03:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584682#M32194</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-09-25T17:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584683#M32195</link>
      <description>Actually, the reverse is true about pseudo swap. 1.5Gb of swap is fine in a 4Gb RAM system. Pseudo swap (aka, swapmem_on=1 in the kernel) means that about 3Gb out of the 4Gb will not need swap mapping so the total virtual memory area is 3+1.5 or 4.5Gb of process area.&lt;BR /&gt;&lt;BR /&gt;With pseudo swap disabled, the minimum swap space must be large enough to handle all processes in RAM, or RAM will not be fully utilized.  Also, the recommendation of 1.5x to 2x RAM for swap area is quite obsolete.  Swap is an overflow area only and ideally should not need to be very large since all processes should fit into RAM at the same time.&lt;BR /&gt;&lt;BR /&gt;Now there are circumstances suh as an interactive information server where users request data infrequently, perhaps once every 5-10 minutes.  In this case, you could  run a very small RAM size, perhaps 256 megs, and allow 2000 users to login at the same time.  When a user needs a sende a request, the process is activated and pages returned back from swap as needed.  The time is fast relative to the user's interactive speed so overall performance will be satisfactory even with the small RAM size.&lt;BR /&gt;&lt;BR /&gt;On the other hand, if each process takes 10 minutes to run and need 10 megs of RAM, the 2000 users will cause severe swap thrashing and performance will be unacceptable. As always, it all depends.  &lt;BR /&gt;&lt;BR /&gt;But generally speaking, if you have enough RAM, you don't need much swap space at all.</description>
      <pubDate>Tue, 25 Sep 2001 17:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584683#M32195</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-09-25T17:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584684#M32196</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;For production server and better performance,&lt;BR /&gt;swap space MUST be from three to four times the amount of physical memory.&lt;BR /&gt;&lt;BR /&gt;So you are really very short to this rule.&lt;BR /&gt;&lt;BR /&gt;Have a look to this book :&lt;BR /&gt;&lt;BR /&gt;O'Reilly&lt;BR /&gt;Essential System Administration&lt;BR /&gt;2nd esition&lt;BR /&gt;Page 315&lt;BR /&gt;by Aeleen Frisch&lt;BR /&gt;&lt;BR /&gt;Magdi</description>
      <pubDate>Thu, 27 Sep 2001 13:17:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584684#M32196</guid>
      <dc:creator>Magdi KAMAL</dc:creator>
      <dc:date>2001-09-27T13:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: swap #2</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584685#M32197</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;Have a look at the threads below.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f3e84e7e17e3970ec0/screen=ckiDisplayDocument?docId=200000024626599" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f3e84e7e17e3970ec0/screen=ckiDisplayDocument?docId=200000024626599&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f3e84e7e17e3970ec0/screen=ckiDisplayDocument?docId=200000056493259" target="_blank"&gt;http://us-support2.external.hp.com/cki/bin/doc.pl/sid=f3e84e7e17e3970ec0/screen=ckiDisplayDocument?docId=200000056493259&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope these help.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2001 13:43:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swap-2/m-p/2584685#M32197</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-09-27T13:43:23Z</dc:date>
    </item>
  </channel>
</rss>

