<?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: swapper constantly at 4-5 % usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555082#M225640</link>
    <description>I would advise not to worry about it. Every processes that starts will reserve some swap space. This is required because, in case it needs to swap out, it will have required swap space.&lt;BR /&gt;&lt;BR /&gt;Do you get any swap outs (a number that you need to worry about. e.g. say 10 or so)??&lt;BR /&gt;&lt;BR /&gt;What does swapinfo -tam looks like??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
    <pubDate>Tue, 31 May 2005 11:48:28 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-05-31T11:48:28Z</dc:date>
    <item>
      <title>swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555081#M225639</link>
      <description>This seems a bit strange.   The server has 16 gb or memory, and currently has over 8gb free.   There are 2 Oracle databases, but this is a test server and there is very little if any user activity.  &lt;BR /&gt;Swap space is at 5% useage, with 30 gb available.   vmstat is showing no paging occurring.  &lt;BR /&gt;&lt;BR /&gt;kmtune|grep dbc                             &lt;BR /&gt;dbc_max_pct                20  -  20                         &lt;BR /&gt;dbc_min_pct                 5  -  5                          &lt;BR /&gt;&lt;BR /&gt;Load averages: 0.15, 0.14, 0.13&lt;BR /&gt;190 processes: 166 sleeping, 23 running, 1 zombie&lt;BR /&gt;Cpu states:&lt;BR /&gt;CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS&lt;BR /&gt;&lt;BR /&gt;avg   0.15   0.0%   0.0%   1.0%  99.0%   0.0%   0.0%   0.0%   0.0%&lt;BR /&gt;&lt;BR /&gt;Memory: 1603148K (951272K) real, 2215960K (1495452K) virtual, 8995956K free  Page# 1/15&lt;BR /&gt;&lt;BR /&gt;CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND&lt;BR /&gt; 2   ?        0 root     127 20    32K     0K sleep 2660:20  4.25  4.24 swapper&lt;BR /&gt; 1   ?        3 root     128 20    32K    32K sleep 5075:17  3.83  3.82 statdaemon&lt;BR /&gt;&lt;BR /&gt;I have another server with half the resources and 11 oracle databases installed.  Swapper is around 1%, with swap space at 42% used on this server.&lt;BR /&gt;Is this strange?</description>
      <pubDate>Tue, 31 May 2005 11:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555081#M225639</guid>
      <dc:creator>Youlette Etienne_2</dc:creator>
      <dc:date>2005-05-31T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555082#M225640</link>
      <description>I would advise not to worry about it. Every processes that starts will reserve some swap space. This is required because, in case it needs to swap out, it will have required swap space.&lt;BR /&gt;&lt;BR /&gt;Do you get any swap outs (a number that you need to worry about. e.g. say 10 or so)??&lt;BR /&gt;&lt;BR /&gt;What does swapinfo -tam looks like??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 31 May 2005 11:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555082#M225640</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-05-31T11:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555083#M225641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is it possible that these Oracle instances - or any other applications on the system - are using MRGs (Memory Resource Groups)?&lt;BR /&gt;If so they have their own physmem_pages and subsequent minfree/desfree/lotsfree values &amp;amp; the sched() (known as swapper) process would have to handle it's memory management just as if it was it's own system.&lt;BR /&gt;See the Memory Management Whitepaper for a detailed explanation - here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/1218/mem_mgt.html" target="_blank"&gt;http://docs.hp.com/en/1218/mem_mgt.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 31 May 2005 11:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555083#M225641</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-05-31T11:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555084#M225642</link>
      <description>You might be able to get that swap use down with one bold stroke.&lt;BR /&gt;&lt;BR /&gt;dbc_max_pct 20 - 20 &lt;BR /&gt;&lt;BR /&gt;Change it to 10 or even 7 or 8.&lt;BR /&gt;&lt;BR /&gt;That will drop memory use and reduce the amount  of double buffering with oracle's cache.&lt;BR /&gt;&lt;BR /&gt;It will also reduce the size and serverity  of changes in the cpu expensive process of changing the size of this cache.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 31 May 2005 12:02:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555084#M225642</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-31T12:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555085#M225643</link>
      <description>Everyone so far has misunderstood the post, I think.&lt;BR /&gt;&lt;BR /&gt;The complaint is that the swapper process is using 4% t0 5% CPU on this machine constantly.&lt;BR /&gt;&lt;BR /&gt;That does seem high to me.  You might check for any applicable patches for the swapper process.</description>
      <pubDate>Tue, 31 May 2005 12:14:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555085#M225643</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-05-31T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555086#M225644</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;I understood the question. &lt;BR /&gt;If the user had processes (or groups of processes) like a specific Oracle SID or even another application on this server set up to use MRGs then swapper would have to handle it just as it handles a "normal" system. &lt;BR /&gt;And quotung from the whitepaper&lt;BR /&gt;&lt;BR /&gt;With Memory Resource Groups, vhand and sched behave almost as if each MRG were completely separate, with its own individual pager and swapper. (The actual implementation is a bit more complex, as it must account for processes and memory moving between MRGs, the ability for one MRG to borrow memory from another, memory use that can't be assigned to any single process (or any MRG), and the need to maintain global memory availability as well as individual MRG memory availability.) &lt;BR /&gt;&lt;BR /&gt;\Endquote&lt;BR /&gt;&lt;BR /&gt;Well then old swapper could be a very busy beaver. And that could certainly explain why he is w/o any "actual" paging out. Although you'll note that swap usage is at 5% so one has to assume that there is at least *some* paging going on.&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 31 May 2005 12:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555086#M225644</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2005-05-31T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: swapper constantly at 4-5 % usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555087#M225645</link>
      <description>I will check for relevant patches.  I do not see how this can be an Oracle memory management issue that can affect the swapper process as suggested.  The 2 databases are up, but they are not being accessed at this point in time because there is currently no data migrated to it yet.  I would find it very strange that a database is extremely busy doing nothing.   If it is, then I need to consult witht the DBAs.&lt;BR /&gt;&lt;BR /&gt;There are no other applications installed on the server.  &lt;BR /&gt;&lt;BR /&gt;Swap space is not the problem.  5% usage seems quite reasonable for a system that is not doing anything but running the Oracle processes.  Most of the answers have misunderstood the question.&lt;BR /&gt;</description>
      <pubDate>Tue, 31 May 2005 13:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapper-constantly-at-4-5-usage/m-p/3555087#M225645</guid>
      <dc:creator>Youlette Etienne_2</dc:creator>
      <dc:date>2005-05-31T13:57:31Z</dc:date>
    </item>
  </channel>
</rss>

