<?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 confused on swap &amp;amp; virtual memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907658#M405504</link>
    <description>What's the difference between swap &amp;amp; virtual memory?&lt;BR /&gt;&lt;BR /&gt;When I do a "swapinfo -at", I can still see the "total PCT USED" to be around 74% but when I do a "vmstat 1 1", the "memory  free" column is so low ( memory free * 4 ) / 1024?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f. halili&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Jun 2005 07:51:53 GMT</pubDate>
    <dc:creator>f. halili</dc:creator>
    <dc:date>2005-06-16T07:51:53Z</dc:date>
    <item>
      <title>confused on swap &amp; virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907658#M405504</link>
      <description>What's the difference between swap &amp;amp; virtual memory?&lt;BR /&gt;&lt;BR /&gt;When I do a "swapinfo -at", I can still see the "total PCT USED" to be around 74% but when I do a "vmstat 1 1", the "memory  free" column is so low ( memory free * 4 ) / 1024?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f. halili&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jun 2005 07:51:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907658#M405504</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2005-06-16T07:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: confused on swap &amp; virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907659#M405505</link>
      <description>Halili,&lt;BR /&gt;&lt;BR /&gt;What is Swap: KBRC00015720.&lt;BR /&gt;&lt;BR /&gt;If you do not have support, see the attached text.&lt;BR /&gt;Hope it helps&lt;BR /&gt;Basheer</description>
      <pubDate>Thu, 16 Jun 2005 08:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907659#M405505</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2005-06-16T08:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: confused on swap &amp; virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907660#M405506</link>
      <description>swap - swap space that you configured. (note that if you have set kernel tunable "pseudo_swap to 1", then swapinfo will also add one as memeory)&lt;BR /&gt;virtual meme - swap space configured + physical RAM on the system.&lt;BR /&gt;&lt;BR /&gt;The free mem count that you get in vmstat is free "virtual memory" It is in pages. (1 page is 4096k) So you need to "free_page * 4096" to get the value in bytes.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 16 Jun 2005 08:01:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907660#M405506</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-06-16T08:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: confused on swap &amp; virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907661#M405507</link>
      <description>Here's a real good paper that explains many things as well as swap and virtual memory in an easy to understand, yet technical, style.  It has been a great guide for me. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf" target="_blank"&gt;http://h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's a small excerpt:&lt;BR /&gt;&lt;BR /&gt;Memory Setup&lt;BR /&gt;Hey, memory is cheap so buy lots (a hardware vendor's point of view). Application&lt;BR /&gt;providers will usually supply some guidelines for you to use for how much memory&lt;BR /&gt;you'll need, though in practice it can be tough to predict memory utilization. You do not want to get into a memory bottleneck situation, so you want enough memory to hold the&lt;BR /&gt;resident memory sets for all the applications you'll be running, plus the memory needed&lt;BR /&gt;for the kernel, plus dynamic system memory such as the filesystem buffer cache.&lt;BR /&gt;If you're going to be hosting a database, or something else that benefits from a large inmemory&lt;BR /&gt;cache, then its even more essential to have enough memory. Oracle installations,&lt;BR /&gt;for example, can benefit from "huge" SGA configurations (gigabyte range) for buffer&lt;BR /&gt;pools and shared table caches.&lt;BR /&gt;Resident memory and virtual memory can be tricky. Operating systems pretend to the&lt;BR /&gt;applications that there is more memory on your system than there really is. This is called&lt;BR /&gt;Virtual Memory, and is essentially the amount of memory allocated by programs for all&lt;BR /&gt;their data, including shared memory, heap space, program text, shared libraries, and&lt;BR /&gt;memory-mapped files. The total amount of virtual memory allocated to all processes on&lt;BR /&gt;your system roughly translates to the amount of swap space that is reserved (with the&lt;BR /&gt;exception of program text). Virtual memory actually has little to do with how much&lt;BR /&gt;actual physical memory is allocated because not all data mapped into virtual memory will&lt;BR /&gt;be active ("Resident") in physical memory. Confused yet? Hey, memory is cheap so buy&lt;BR /&gt;lots.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Jun 2005 09:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907661#M405507</guid>
      <dc:creator>Robert Bennett_3</dc:creator>
      <dc:date>2005-06-16T09:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: confused on swap &amp; virtual memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907662#M405508</link>
      <description>thanks!!!</description>
      <pubDate>Thu, 16 Jun 2005 10:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/confused-on-swap-amp-virtual-memory/m-p/4907662#M405508</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2005-06-16T10:12:32Z</dc:date>
    </item>
  </channel>
</rss>

