<?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 memory swap area? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658812#M47711</link>
    <description>Hello All friends,&lt;BR /&gt;&lt;BR /&gt;In the output of swapinfo -tm:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tm&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        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        3072       0    3072    0%       0       -    1  /dev/vg00/lvol4&lt;BR /&gt;reserve       -     686    -686&lt;BR /&gt;memory     1518     317    1201   21%&lt;BR /&gt;total      5614    1003    4611   18%       -       0    -&lt;BR /&gt;&lt;BR /&gt;The 'memory' row stands for the 'memory swap area'.&lt;BR /&gt;&lt;BR /&gt;But I don't understand that clearly: what's the advantage of using this part of memory as a swap area? &lt;BR /&gt;&lt;BR /&gt;Can some experts tell me the theory?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;/discoverer</description>
    <pubDate>Tue, 05 Feb 2002 07:29:19 GMT</pubDate>
    <dc:creator>discoverer</dc:creator>
    <dc:date>2002-02-05T07:29:19Z</dc:date>
    <item>
      <title>memory swap area?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658812#M47711</link>
      <description>Hello All friends,&lt;BR /&gt;&lt;BR /&gt;In the output of swapinfo -tm:&lt;BR /&gt;&lt;BR /&gt;# swapinfo -tm&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        1024       0    1024    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;dev        3072       0    3072    0%       0       -    1  /dev/vg00/lvol4&lt;BR /&gt;reserve       -     686    -686&lt;BR /&gt;memory     1518     317    1201   21%&lt;BR /&gt;total      5614    1003    4611   18%       -       0    -&lt;BR /&gt;&lt;BR /&gt;The 'memory' row stands for the 'memory swap area'.&lt;BR /&gt;&lt;BR /&gt;But I don't understand that clearly: what's the advantage of using this part of memory as a swap area? &lt;BR /&gt;&lt;BR /&gt;Can some experts tell me the theory?&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;BR /&gt;/discoverer</description>
      <pubDate>Tue, 05 Feb 2002 07:29:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658812#M47711</guid>
      <dc:creator>discoverer</dc:creator>
      <dc:date>2002-02-05T07:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: memory swap area?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658813#M47712</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The pseudo-swap also known as the memory paging area is the amount of system memory that can be used to hold pages in the event that all of the device/filesystem paging areas are used up.&lt;BR /&gt;&lt;BR /&gt;I personally find no obvious advantages, apart from the faster speed of access via memory and the additional buffer. It is faster because it is performed in memory rather than on your device/filesystem. It provides an additional buffer area to hold your pages, especially when your device/filesystem swap space has been exhausted.&lt;BR /&gt;&lt;BR /&gt;You can disable it by setting the kernel parameter swapmem_on to the value 0 in your kernel.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;From the swapinfo man page, it is stated that:&lt;BR /&gt;========================================&lt;BR /&gt;When a process is created, or requests additional space, space is reserved for it by increasing the reserve swap. When paging activity actually occurs, space is used in one of the paging areas (the one with the lowest priority number that has free space available, already allocated).&lt;BR /&gt; &lt;BR /&gt;The sum of the space used in all of the paging areas, plus the amount of space reserved, can never exceed the total amount allocated in all of the paging areas. If a request for more memory occurs which would cause this to happen, the system tries several options:&lt;BR /&gt; &lt;BR /&gt;1.   The system tries to increase the total space available by allocating more space in file system paging areas.&lt;BR /&gt; &lt;BR /&gt;2.   If all file system paging areas are completely allocated and the request is still not satisfied, the system will try to use memory paging (Memory paging is ontrolled by the tunable arameter swapmem_on, which defaults to 1 (on).  If this parameter is turned off, the memory line will not appear.)&lt;BR /&gt; &lt;BR /&gt;3.   If memory paging also cannot satisfy the request, because it is full or turned off, the request is denied.&lt;BR /&gt;&lt;BR /&gt;Note that:&lt;BR /&gt;&lt;BR /&gt;When paging space is allocated to a file system paging area, that space becomes unavailable for user files, even if there is no paging activity to it.&lt;BR /&gt;========================================&lt;BR /&gt; &lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Tue, 05 Feb 2002 07:57:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658813#M47712</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-02-05T07:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: memory swap area?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658814#M47713</link>
      <description>Here's my 2 cent.&lt;BR /&gt;Pseudo swap is usefull if you have loads of RAM and less swap. Otherwise you would most likely not be able to utilize all for your memory. &lt;BR /&gt;If you have more swap that RAM set swapmem_on to 0.&lt;BR /&gt;In my view there is no point "swapping" to memory when you could have "freed" that memory (swapmem_on=0) and wouldn't have had "swap" at all.&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2002 08:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658814#M47713</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-02-05T08:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: memory swap area?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658815#M47714</link>
      <description>This memory swap area is just a pesudo swap. It is just a numerical number for calcutaing swap space and do not exist in reality.&lt;BR /&gt;&lt;BR /&gt;Imagine this scenario, where no pesudo swap is configured. All the processes in the physical memory are flush out to the swap and swap is now 100% full. Now the memory is now 0% used, and swap 100% used, but new process could not start because it could not reserve anymore swap space. This is pretty ineffective since memory is free but new process could not start.&lt;BR /&gt;&lt;BR /&gt;Now we add pesudo swap, there are now additional swap space and the new process could run. The %use for memory in swapinfo does not means anything, the more important figure is the total figure.&lt;BR /&gt;&lt;BR /&gt;No physical memory space is taken up for swap. Just run glance and you will see that under memory utilisation, there is no swap usage.</description>
      <pubDate>Tue, 05 Feb 2002 09:41:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/memory-swap-area/m-p/2658815#M47714</guid>
      <dc:creator>Hooi Siew Hoong_1</dc:creator>
      <dc:date>2002-02-05T09:41:51Z</dc:date>
    </item>
  </channel>
</rss>

