<?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: swapinfo output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582542#M230146</link>
    <description>Sagar, a quote here from the HP-UX 11i internals book (pick a copy):&lt;BR /&gt;&lt;BR /&gt;p. 195 "you have maximized your physical&lt;BR /&gt;memory, but your processes simply want more!&lt;BR /&gt;It's easy: configure the amount of swap your processes need.  In this scenario, we recommend that you leave pseudo-swap DISABLED, as you would really prefer to have device swap fulfill the system's pagain requirements.  &lt;BR /&gt;&lt;BR /&gt;also, please start Assigning Points the your responses (high or low).  Please !!&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 15 Jul 2005 12:53:56 GMT</pubDate>
    <dc:creator>D Block 2</dc:creator>
    <dc:date>2005-07-15T12:53:56Z</dc:date>
    <item>
      <title>swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582531#M230135</link>
      <description>Hi All,&lt;BR /&gt;I get very Confused whenever I see the output of swapinfo command&lt;BR /&gt;&lt;BR /&gt;Till now what I understand about Memory Allocation is when I have swapmem_on =1 .&lt;BR /&gt;Then .75 RAM + swap device will be my swap space.&lt;BR /&gt;&lt;BR /&gt;But when I execute swapinfo command.. Isee my swap space from disk is not used anfd RAM is about 93 % full ..&lt;BR /&gt;&lt;BR /&gt;Server:/root &amp;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;dev        1536       0    1536    0%       0       -    1  /dev/vg01/lvol28&lt;BR /&gt;reserve       -    5632   -5632&lt;BR /&gt;memory    19407   18070    1337   93%&lt;BR /&gt;total     25039   23702    1337   95%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Also what does the Reserve Line Tell us ..I am Unable to understand this.&lt;BR /&gt;Please suggest&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Thu, 14 Jul 2005 04:30:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582531#M230135</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-14T04:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582532#M230136</link>
      <description>Before HP-UX spawns a process, it reserves suffient swap space for that process - that is what the reserve line is showing you.  The reason you're seeing 93% memory utilization and no swap activity is because you've turned on pseudo-swap with your swapmem_on=1.  This means that HP-UX will use memory instead of swap space when possible.  This is quite common in today's large memory systems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 14 Jul 2005 04:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582532#M230136</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-07-14T04:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582533#M230137</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;Please correct me if I am wrong.&lt;BR /&gt;What I understand is Whenever HP-UX spwans a process it does not reserve swap space but checks whether it has ecnough space to swap this process in case it is required .&lt;BR /&gt;This check done using a counter ..&lt;BR /&gt;And it decrements this swap counter by the amount of size of process to be started .So if we have 5 Gb of swap defined on the disk .and if swapmem_on is not enabled Then I can run only 5Gb of processes in the RAM even though I have more RAM installed on the system &lt;BR /&gt;&lt;BR /&gt;Correct me if I am sounding confused</description>
      <pubDate>Thu, 14 Jul 2005 04:45:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582533#M230137</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-14T04:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582534#M230138</link>
      <description>Swapinfo fully explained:&lt;BR /&gt;ftp://eh:spear9@hprc.external.hp.com/memory.htm&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 04:56:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582534#M230138</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-07-14T04:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582535#M230139</link>
      <description>Hi Guys,&lt;BR /&gt;After Reading the comments.&lt;BR /&gt;&lt;BR /&gt;I have a few queries&lt;BR /&gt;For the swapinfo output whihc i have posted this tells us that ..My entire swap space from the disk is reserved but it is not used till now i.e no process have swaped to it.&lt;BR /&gt;&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;dev 1536 0 1536 0% 0 - 1 /dev/vg01/lvol28&lt;BR /&gt;reserve - 5632 -5632&lt;BR /&gt;memory 19407 18070 1337 93%&lt;BR /&gt;total 25039 23702 1337 95% - 0 -&lt;BR /&gt;&lt;BR /&gt;Then when will the processes be swapped ???&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Thu, 14 Jul 2005 05:44:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582535#M230139</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-14T05:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582536#M230140</link>
      <description>Sagar;&lt;BR /&gt;&lt;BR /&gt;Please have a look of my attachment.&lt;BR /&gt;&lt;BR /&gt;good luck,</description>
      <pubDate>Thu, 14 Jul 2005 06:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582536#M230140</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2005-07-14T06:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582537#M230141</link>
      <description>Processes are paged out to disk when you run out of RAM.&lt;BR /&gt;&lt;BR /&gt;You currently have about 5.5GB of device swap space, none of which is being actively used.&lt;BR /&gt;&lt;BR /&gt;You have about 19GB of pseudo-swap space due to swapmem_on being set to 1.  Of that 19GB, about 18GB has been reserved by processes. &lt;BR /&gt;&lt;BR /&gt;This looks like a pretty good configuration to me.</description>
      <pubDate>Thu, 14 Jul 2005 06:07:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582537#M230141</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-07-14T06:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582538#M230142</link>
      <description>Essentially, ALL of your disk swap space has been reserved and is unusable.&lt;BR /&gt;&lt;BR /&gt;I would question whether or not you have enough disk swap space for this configuration.&lt;BR /&gt;&lt;BR /&gt;In general, you should have 2 x RAM in swap space for most system configurations.&lt;BR /&gt;&lt;BR /&gt;However, if your system is running fine under it's current configuration then you, obviously, are set for the current time.  The only issue would be if you anticipate a load increase of any type.  If so, you may wish to increase your disk swap space.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 06:21:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582538#M230142</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-07-14T06:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582539#M230143</link>
      <description>Sagar,&lt;BR /&gt;&lt;BR /&gt;might I suggest further Readings on this difficult-subject in book:  HP-UX 11i Internals, by Chris Cooper &amp;amp; Chris Moore. Prentice Hall ISBN 0-13-032861-8.&lt;BR /&gt;&lt;BR /&gt;Goes into examples of why hp-ux is configured with Pseudo-Swap turned-on, and performance gains.&lt;BR /&gt;&lt;BR /&gt;Tom</description>
      <pubDate>Thu, 14 Jul 2005 06:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582539#M230143</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-07-14T06:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582540#M230144</link>
      <description>Hi All.&lt;BR /&gt;CEM: After Reading your Document it says for 3/4th of the memory there will be noswap reservation..&lt;BR /&gt;But actually for a system it can only use 3/4th of the memory since rest is used by Kernel for its purpose.......&lt;BR /&gt;&lt;BR /&gt;Also consider I have 4GB of disk swap and 4GB of RAM ...Then as per the document 3/4th of RAM(4GB) is 3GB there will be no swap reservation. SO this means only 1 GB of my swdisk swap will be used .....&lt;BR /&gt;&lt;BR /&gt;GUYS : Below is output swapifo -tam in one my rpp3440 .&lt;BR /&gt;Here as you see my swap disk not being entirely used even though the memory is completely used. I was expecting the system to swap processes to swap device and used it entirely ..But here even though disk swap is free space. my memory is 100 % utilised..&lt;BR /&gt;&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     495    3601   12%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       -    3601   -3601&lt;BR /&gt;memory     2480    2477       3  100%&lt;BR /&gt;total      6576    6573       3  100%       -       0    -&lt;BR /&gt;&lt;BR /&gt;Please suggest ..&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Thu, 14 Jul 2005 21:34:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582540#M230144</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-14T21:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582541#M230145</link>
      <description>Hi Guys&lt;BR /&gt;Sorry for asking so many queries.&lt;BR /&gt;But I cant Help it as I have so many HP-UX Servers. Every MAchine is giving me this errors..&lt;BR /&gt;&lt;BR /&gt;If I refer the document sent by CEM..&lt;BR /&gt;Which says for 3/4ths of my memory there will be no swap reservation..&lt;BR /&gt;&lt;BR /&gt;Then a process should never fail with the error "out of swap".Since the process will never be reserved with swap space..&lt;BR /&gt;&lt;BR /&gt;Also Adding to my previous posted message wherein I showed the swapinfo -tam command output ..&lt;BR /&gt;&lt;BR /&gt;Even though my swap space i reserved completely It is only used 10 % ..&lt;BR /&gt;&lt;BR /&gt;So when memory is apporaching 100 % usage. Why is the process with reserved swap space not paged out  to the swap device where it has reserved space allocated...&lt;BR /&gt;&lt;BR /&gt;Please help</description>
      <pubDate>Thu, 14 Jul 2005 23:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582541#M230145</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-14T23:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582542#M230146</link>
      <description>Sagar, a quote here from the HP-UX 11i internals book (pick a copy):&lt;BR /&gt;&lt;BR /&gt;p. 195 "you have maximized your physical&lt;BR /&gt;memory, but your processes simply want more!&lt;BR /&gt;It's easy: configure the amount of swap your processes need.  In this scenario, we recommend that you leave pseudo-swap DISABLED, as you would really prefer to have device swap fulfill the system's pagain requirements.  &lt;BR /&gt;&lt;BR /&gt;also, please start Assigning Points the your responses (high or low).  Please !!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 12:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582542#M230146</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2005-07-15T12:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582543#M230147</link>
      <description>I think you misunderstand exactly how swap space is used.&lt;BR /&gt;&lt;BR /&gt;Say you have a machine with 4GB of RAM.  You start enough programs to use that 4GB of RAM so you have no room to start new processes.  Now you start 1 more process that needs 50MB of RAM.  HP-UX will page-out just enough processes to give the new process the amount of RAM it needs (50 MB).&lt;BR /&gt;&lt;BR /&gt;So at this point, if you did a 'swapinfo -tam' you would likely see that you device swap has 50 MB used.  That's all.&lt;BR /&gt;&lt;BR /&gt;HP-UX does *NOT* page-out the ENTIRE contents of RAM.  You will only ever see the device swap used if HP-UX actually *HAS* to page some processes out to disk.&lt;BR /&gt;&lt;BR /&gt;Hopefully you will never see your device swap 100% used. That would not be good.</description>
      <pubDate>Fri, 15 Jul 2005 13:21:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582543#M230147</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-07-15T13:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: swapinfo output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582544#M230148</link>
      <description>Hi Patrick..&lt;BR /&gt;So This MEans&lt;BR /&gt;Out of Memory and Out Of Swap Error both Occur when main memory (RAM) is completely used..&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Sagar</description>
      <pubDate>Tue, 19 Jul 2005 04:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapinfo-output/m-p/3582544#M230148</guid>
      <dc:creator>Sagar Sirdesai</dc:creator>
      <dc:date>2005-07-19T04:46:44Z</dc:date>
    </item>
  </channel>
</rss>

