<?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: How memory can be allocated to users ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444666#M357883</link>
    <description>Lets look at a few things&lt;BR /&gt;&lt;BR /&gt;Total physical memory 8 GB&lt;BR /&gt;&lt;BR /&gt;Free Memory 1.1 Gb&lt;BR /&gt;&lt;BR /&gt;Swap space used (device swap) 0&lt;BR /&gt;&lt;BR /&gt;You have plenty of memory.  Part of your system memory is probably buffer cache (unified file cache).  &lt;BR /&gt;&lt;BR /&gt;You have 1.1 GB of free memory.. Be happy.  If you were low on memory you would be doing page outs and the amount of free memory would always be very small.&lt;BR /&gt;&lt;BR /&gt;Look at what is running and see what your system is spending most of its time doing. &lt;BR /&gt;&lt;BR /&gt;Whats your CPU utilization and load average look like.  Since you evidently have enough memory.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 23 Jun 2009 02:25:13 GMT</pubDate>
    <dc:creator>Emil Velez</dc:creator>
    <dc:date>2009-06-23T02:25:13Z</dc:date>
    <item>
      <title>How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444660#M357877</link>
      <description># uname -a ; model&lt;BR /&gt;HP-UX B.11.31 U ia64 hp server Integrity Virtual Machine&lt;BR /&gt;####################&lt;BR /&gt;Memory Information:&lt;BR /&gt;    physical page size = 4096 bytes, logical page size = 4096 bytes&lt;BR /&gt;    Physical: 8383248 Kbytes, lockable: 6683416 Kbytes, available: 6875484 Kbytes&lt;BR /&gt;####################&lt;BR /&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        8192       0    8192    0%       0       -    1  /dev/vg00/swap&lt;BR /&gt;dev       25024       0   25024    0%       0       -    0  /dev/vg00ext/swap2&lt;BR /&gt;reserve       -    3080   -3080&lt;BR /&gt;memory     7788    4850    2938   62%&lt;BR /&gt;total     41004    7930   33074   19%       -       0    -&lt;BR /&gt;####################&lt;BR /&gt;Question:&lt;BR /&gt;How much memory can we devote to users?&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to understand how much memory we can safety allocate to users. I suspect that all user processes should occupy less than&lt;BR /&gt;&lt;BR /&gt;Physical Memory - "Sys Mem"&lt;BR /&gt;&lt;BR /&gt;Is "Sys Mem" is reserved for use by the OS, is that correct? I realise that we can allocate more than this amount, and that we can spill out to vitual memory, but if our "active memory" exceeds this figure we are likely to degrade performance by causing page outs?&lt;BR /&gt;&lt;BR /&gt;So, for example on our server, we have 8G of physical memory with 3.9 "Sys Mem", so we should aim to fit the user processes inside 8gb - 3.9gb = 4.19gb?&lt;BR /&gt;&lt;BR /&gt;Does this make sense?&lt;BR /&gt;&lt;BR /&gt;##################&lt;BR /&gt;Glance memory info :&lt;BR /&gt;total vm=3.2gb&lt;BR /&gt;Active vm=1.2gb&lt;BR /&gt;phys mem=8gb&lt;BR /&gt;sys mem=3.9gb&lt;BR /&gt;user mem=2.7gb&lt;BR /&gt;free mem=1.1gb</description>
      <pubDate>Mon, 22 Jun 2009 19:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444660#M357877</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2009-06-22T19:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444661#M357878</link>
      <description>You have 41 Gb of VM and 8 Gb of RAM.  It seems you have "too" much swap.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I suspect that all user processes should occupy less than: Physical Memory - Sys Mem&lt;BR /&gt;&lt;BR /&gt;Something like that.  Unless you want to swap.  Or your processes allocate lots of VM but don't use it all.  Or you use it infrequently.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is "Sys Mem" is reserved for use by the OS?&lt;BR /&gt;&lt;BR /&gt;Yes, this is the current value.</description>
      <pubDate>Mon, 22 Jun 2009 20:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444661#M357878</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-22T20:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444662#M357879</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The old rule of swap being twice ram is outdated in this range of system.&lt;BR /&gt;&lt;BR /&gt;Swap being five times ram is outlandish.&lt;BR /&gt;&lt;BR /&gt;It will slow your system down.&lt;BR /&gt;&lt;BR /&gt;Remove or reduce swap to between 8 GB and 12 GB.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 22 Jun 2009 20:22:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444662#M357879</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-22T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444663#M357880</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; SEP: It will slow your system down.&lt;BR /&gt;&lt;BR /&gt;How?  No, if you don't use it then there's no penalty.  Nascent processes will reserve swap but that's kernel bookkeeping and not I/O until a page-out actually occurs.  Having over-configured device swap might mean you wasted some disk space that could be used for something else, but that's about all.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Jun 2009 20:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444663#M357880</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-22T20:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444664#M357881</link>
      <description>Thanks you all.</description>
      <pubDate>Mon, 22 Jun 2009 22:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444664#M357881</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2009-06-22T22:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444665#M357882</link>
      <description>I wouldn't worry much about trying to figure out memory allocation. It is simply too complicated. A user doesn't occupy memory -- the user's programs use some memory. But it isn't that simple. Every running program such as vi or glance or a shell shares a single copy of the text area or unchanging instructions. An additional space for local data is kept separate for each copy. Then to make things complicated, each user program that reads/writes files will use a portion of the kernel's buffer cache. And some specialized programs like fbackup or database programs create shared memory areas.&lt;BR /&gt; &lt;BR /&gt;There is no penalty for using a lot of virtual memory when programs are highly interactive because they can be moved into swap and brought back when the user wakes up. The best metric (rather than memory usage) is to monitor page outs, either Glance (memory display) or vmstat. Low numbers mean high performance. 0-99 (2 digits) is OK, hundreds or larger means degraded performance.</description>
      <pubDate>Tue, 23 Jun 2009 01:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444665#M357882</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-06-23T01:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444666#M357883</link>
      <description>Lets look at a few things&lt;BR /&gt;&lt;BR /&gt;Total physical memory 8 GB&lt;BR /&gt;&lt;BR /&gt;Free Memory 1.1 Gb&lt;BR /&gt;&lt;BR /&gt;Swap space used (device swap) 0&lt;BR /&gt;&lt;BR /&gt;You have plenty of memory.  Part of your system memory is probably buffer cache (unified file cache).  &lt;BR /&gt;&lt;BR /&gt;You have 1.1 GB of free memory.. Be happy.  If you were low on memory you would be doing page outs and the amount of free memory would always be very small.&lt;BR /&gt;&lt;BR /&gt;Look at what is running and see what your system is spending most of its time doing. &lt;BR /&gt;&lt;BR /&gt;Whats your CPU utilization and load average look like.  Since you evidently have enough memory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Jun 2009 02:25:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444666#M357883</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2009-06-23T02:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: How memory can be allocated to users ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444667#M357884</link>
      <description>cpu is fine. I was just curious about certain questions related to memory. Things I thought I was clear about, the more I viewed the subject of memory, the more I realized how little I knew. I need to read more.&lt;BR /&gt;&lt;BR /&gt;Thanks you all.</description>
      <pubDate>Tue, 23 Jun 2009 14:31:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-memory-can-be-allocated-to-users/m-p/4444667#M357884</guid>
      <dc:creator>Jerry_109</dc:creator>
      <dc:date>2009-06-23T14:31:26Z</dc:date>
    </item>
  </channel>
</rss>

