<?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 Device Swap usage question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377840#M196930</link>
    <description>Right now the memory (RAM) on our server is being 98% utilised.&lt;BR /&gt;&lt;BR /&gt;Glance and GPM both shows Swap Device “/dev/vg00/lvol2” used 30MB. &lt;BR /&gt;But vmstat doesn’t show any swap/paging out “PO” activities.&lt;BR /&gt;Also swapinfo –tma command show device swap is 30MB used but the “% used” column shows “0”.&lt;BR /&gt;&lt;BR /&gt;My questions:&lt;BR /&gt;&lt;BR /&gt;1) Is our system paging out or swapping out to disk?&lt;BR /&gt;2) Will server have performance issues? (Most probably yes)&lt;BR /&gt;3) Why vmstat is not showing any “po” activity.&lt;BR /&gt;&lt;BR /&gt;Our environment:&lt;BR /&gt;&lt;BR /&gt;HP-UX 11i Version 1, 4GB RAM, Oracle8i databases 64-Bit, RP7</description>
    <pubDate>Mon, 13 Sep 2004 09:16:03 GMT</pubDate>
    <dc:creator>Gulam Mohiuddin</dc:creator>
    <dc:date>2004-09-13T09:16:03Z</dc:date>
    <item>
      <title>Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377840#M196930</link>
      <description>Right now the memory (RAM) on our server is being 98% utilised.&lt;BR /&gt;&lt;BR /&gt;Glance and GPM both shows Swap Device “/dev/vg00/lvol2” used 30MB. &lt;BR /&gt;But vmstat doesn’t show any swap/paging out “PO” activities.&lt;BR /&gt;Also swapinfo –tma command show device swap is 30MB used but the “% used” column shows “0”.&lt;BR /&gt;&lt;BR /&gt;My questions:&lt;BR /&gt;&lt;BR /&gt;1) Is our system paging out or swapping out to disk?&lt;BR /&gt;2) Will server have performance issues? (Most probably yes)&lt;BR /&gt;3) Why vmstat is not showing any “po” activity.&lt;BR /&gt;&lt;BR /&gt;Our environment:&lt;BR /&gt;&lt;BR /&gt;HP-UX 11i Version 1, 4GB RAM, Oracle8i databases 64-Bit, RP7</description>
      <pubDate>Mon, 13 Sep 2004 09:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377840#M196930</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377841#M196931</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If your 'swapinfo -dft' is showing some usage in the "Kb Used" column, then definitely there are some pages sitting on the swap device. However, it could be due to memory mapped pages. &lt;BR /&gt;&lt;BR /&gt;If the RAM is at 98%, it is not necessarily a bad sign until you start seeing pageouts in vmstat. On a memory starving system, you should see the 'po' almost constantly in double digits along with the "Kb Used" column growing in swapinfo -dft.&lt;BR /&gt;&lt;BR /&gt;I assume you already trimmed your dbc_max_pct else system will try to make use of the memory until the parameter reaches 50% or when the memory usage nears 100%.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 13 Sep 2004 09:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377841#M196931</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-13T09:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377842#M196932</link>
      <description>Can you show us the results of:&lt;BR /&gt;&lt;BR /&gt;swapinfo -t&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;vmstat -dnS 5 5&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2004 09:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377842#M196932</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-13T09:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377843#M196933</link>
      <description>I think Shridhar have answered all your questions. Swapinfo gives infomration about swap space ussage and not about swp outs/ins.&lt;BR /&gt;&lt;BR /&gt;If vmstat is not reporting swap ins/outs and vhand process is not in play, you are not swapping. Every process that starts will reserve some memory, so that in case if it needs to swap out, it has space availabe.&lt;BR /&gt;&lt;BR /&gt;If alomost all of the swap space is used, you may get swapping outs, if more processes are started. It is time to increase RAM on your system. You can postpone that with some more swap space, but it will come with a performance hit.&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Mon, 13 Sep 2004 09:26:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377843#M196933</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-09-13T09:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377844#M196934</link>
      <description>rpludb03:/#swapinfo -t&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     4194304   13644 4180660    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;reserve       - 2688752 -2688752&lt;BR /&gt;memory  3154168 1044736 2109432   33%&lt;BR /&gt;total   7348472 3747132 3601340   51%       -       0    -</description>
      <pubDate>Mon, 13 Sep 2004 09:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377844#M196934</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377845#M196935</link>
      <description>rpludb03:/#swapinfo -dft&lt;BR /&gt;             Kb      Kb      Kb   PCT  START/      Kb&lt;BR /&gt;TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME&lt;BR /&gt;dev     4194304   13644 4180660    0%       0       -    1  /dev/vg00/lvol2&lt;BR /&gt;total   4194304   13644 4180660    0%       -       0    -</description>
      <pubDate>Mon, 13 Sep 2004 09:42:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377845#M196935</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377846#M196936</link>
      <description>You have very little swapping (13644) of all swap space available (4194304), that gives you 0.3% swap PCT used. The system shows you 0% because he rounds it!</description>
      <pubDate>Mon, 13 Sep 2004 09:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377846#M196936</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-13T09:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377847#M196937</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Post your 'vmstat 5 5' output. YOu have around 13.5 MB sitting on swap which is nothing. It could be due to memory mapped pages as well. Also your "kmtune -l -q dbc_max_pct".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 13 Sep 2004 09:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377847#M196937</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-13T09:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377848#M196938</link>
      <description>So, is it bad or good?&lt;BR /&gt;&lt;BR /&gt;May be nothing to worry about now but could be potential performance problem in future....&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 13 Sep 2004 09:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377848#M196938</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377849#M196939</link>
      <description>rpludb03:/#vmstat 5 5&lt;BR /&gt;         procs           memory                   page                              faults       cpu&lt;BR /&gt;    r     b     w      avm    free   re   at    pi   po    fr   de    sr     in     sy    cs  us sy id&lt;BR /&gt;    4     1     0   203530   46689    6    3     0    0     0    0     0   1695   5952   486  11  2 87&lt;BR /&gt;    2     1     0   250995   46518   65    0     1    0     0    0     0   1429  49984   396  34  4 62&lt;BR /&gt;    2     1     0   250995   45941   20    0     0    0     0    0     0   1255  33129   287  31  1 69&lt;BR /&gt;    1     3     0   257835   46713   40   44     0    0     0    0     0   1503  21064   377  26  3 71&lt;BR /&gt;    1     3     0   257835   46713   13   13     0    0     0    0     0   1665  13001   415  16  3 82</description>
      <pubDate>Mon, 13 Sep 2004 09:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377849#M196939</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377850#M196940</link>
      <description>rpludb03:/#kmtune -lq dbc_max_pct&lt;BR /&gt;Parameter:      dbc_max_pct&lt;BR /&gt;Current:        15&lt;BR /&gt;Planned:        15&lt;BR /&gt;Default:        50&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No&lt;BR /&gt;rpludb03:/#kmtune -lq dbc_min_pct&lt;BR /&gt;Parameter:      dbc_min_pct&lt;BR /&gt;Current:        5&lt;BR /&gt;Planned:        5&lt;BR /&gt;Default:        5&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        No</description>
      <pubDate>Mon, 13 Sep 2004 09:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377850#M196940</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377851#M196941</link>
      <description>kmtune -l -q dbc_max_pct?.&lt;BR /&gt;&lt;BR /&gt;The freemem is around 160MB. If your dbc_max_pct is at 50%, then it explains everything.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 13 Sep 2004 09:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377851#M196941</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-13T09:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377852#M196942</link>
      <description>I would like to re-confirm that:&lt;BR /&gt;&lt;BR /&gt;Right now the dbc_max_pct is 15% and not at 50% as you mentioned in the last reply.&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 13 Sep 2004 09:57:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377852#M196942</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T09:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377853#M196943</link>
      <description>Humm,&lt;BR /&gt;&lt;BR /&gt;You have too many processes blocked for resources!&lt;BR /&gt;&lt;BR /&gt;Besides Sri request and since you're using Oracle, can you post you r init&lt;SID&gt;.ora and shmmax kernel parameter?&lt;/SID&gt;</description>
      <pubDate>Mon, 13 Sep 2004 09:57:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377853#M196943</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-13T09:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377854#M196944</link>
      <description>rpludb03:/#kmtune -lq shmmax&lt;BR /&gt;Parameter:      shmmax&lt;BR /&gt;Current:        1073741824&lt;BR /&gt;Planned:        1073741824&lt;BR /&gt;Default:        0X4000000&lt;BR /&gt;Minimum:        -&lt;BR /&gt;Module:         -&lt;BR /&gt;Version:        -&lt;BR /&gt;Dynamic:        Yes&lt;BR /&gt;&lt;BR /&gt;For init.ora, we have several Oracle instances on this box, at lease six production databases.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 13 Sep 2004 10:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377854#M196944</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T10:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377855#M196945</link>
      <description>Hi Gulam,&lt;BR /&gt;&lt;BR /&gt;I posted my last message almost at the same time as of you.&lt;BR /&gt;&lt;BR /&gt;600 MB is set aside for buffer cache, which isn't bad. 11i's kernel does quite a bit of dynamic allocation (more for JFS inode cache) so you will see the 'system memory' much more than that of 11.0. How is the contribution of memory in glance?. I mean Sys Mem: User Mem: and Free Mem: in glance. You can also get the memory usage using /usr/contrib/Q4/bin/kmeminfo. &lt;BR /&gt;&lt;BR /&gt;I believe the system is almost at the edge though the system is doing fine at this instance.&lt;BR /&gt;&lt;BR /&gt;I would keep a close look on it (particularly the po column in vmstat). Particularly when there are six databases running, I would keep some memory in hand to add it in case needed.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 13 Sep 2004 10:15:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377855#M196945</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-13T10:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377856#M196946</link>
      <description>You are using the same value as me but I've only 1.5Gb of memmory and you have 4G, so I think you should triplicate this value to 3221225472!</description>
      <pubDate>Mon, 13 Sep 2004 10:25:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377856#M196946</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-13T10:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377857#M196947</link>
      <description>Thanks for your response.&lt;BR /&gt;&lt;BR /&gt;But I am really confused about swapping.&lt;BR /&gt;&lt;BR /&gt;How I will determine that my server is paging out or swapping out, which command will provide this information to me.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Gulam.</description>
      <pubDate>Mon, 13 Sep 2004 10:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377857#M196947</guid>
      <dc:creator>Gulam Mohiuddin</dc:creator>
      <dc:date>2004-09-13T10:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377858#M196948</link>
      <description>Sorry, I meant duplicate to 2147483648. And check your nfile if it has something like 12000.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Antunes</description>
      <pubDate>Mon, 13 Sep 2004 10:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377858#M196948</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-09-13T10:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Device Swap usage question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377859#M196949</link>
      <description>To see if swapping (paging) is occurring, use vmstst and look at the column po )page out). Ignore page in (pi) as it counts programs starts as well as page in. You'll need to monitor this over time (vmstat 30 30) which will report every 30 seconds for the next 15 minutes. A non-zero po value means a page-out. Single digits (0-9) can be ignored. Double digits (more than 10 for long periods) are a concern that RAM is too small, triple digits means that a *lot* of swapping is taking place.&lt;BR /&gt; &lt;BR /&gt;One other note: mamory mapped files may be in use on your system and this will consume some swap area. That is normal and not a performance issue.</description>
      <pubDate>Mon, 13 Sep 2004 10:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-swap-usage-question/m-p/3377859#M196949</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-09-13T10:52:20Z</dc:date>
    </item>
  </channel>
</rss>

