<?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: What do these SAR and VMSTAT Stats Tell ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329228#M873763</link>
    <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;Well they tell me one of two things:&lt;BR /&gt;&lt;BR /&gt;1) You could use a faster disk subsystem - including having the LUNS laid out better.&lt;BR /&gt;&lt;BR /&gt;2) Clumsy, inefficient SQL code's causing a lot of disk access &amp;amp; the CPU's waiting on it's completion.&lt;BR /&gt;&lt;BR /&gt;My next step would be to use array performance software to pinpoint one or the other. If the drives are slow the SW will see access times &amp;amp; bottlenecks everywhere. If the disk space is laid out poorly it will consistently show *hot* LUNs. If the code is inefficient it may show both of the above.&lt;BR /&gt;&lt;BR /&gt;Ny 2 cents,&lt;BR /&gt;Jeff</description>
    <pubDate>Mon, 12 Jul 2004 14:08:25 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2004-07-12T14:08:25Z</dc:date>
    <item>
      <title>What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329227#M873762</link>
      <description>20-CPU SD32000 nPar, 60GB Memory, 4x2 (total 8) FC-HBA's to an EVA5K, SecurePath, LVM, OJFS/VxFS 3.3 .. Oracle DB Server (11i/9i)... This nPar has been consistently averaging near 50% CPU WaitIO's. VMSTAT reports consistently greater than 10 on Run queue and processes blocked for resources.&lt;BR /&gt;&lt;BR /&gt;What do these stats tell?&lt;BR /&gt;&lt;BR /&gt;SAR:&lt;BR /&gt; %usr    %sys    %wio   %idle&lt;BR /&gt;06:17:00      12       3      51      34&lt;BR /&gt;06:18:00      15       4      53      28&lt;BR /&gt;06:19:00      17       4      56      23&lt;BR /&gt;06:20:00      19       5      51      25&lt;BR /&gt;06:21:00      21       7      45      28&lt;BR /&gt;06:22:00      15       4      46      35&lt;BR /&gt;06:23:00      17       4      50      29&lt;BR /&gt;06:24:00      13       3      44      39&lt;BR /&gt;06:25:00      14       4      48      34&lt;BR /&gt;06:26:00      15       5      45      35&lt;BR /&gt;06:27:00      14       5      52      30&lt;BR /&gt;06:28:00      14       4      46      36&lt;BR /&gt;06:29:00      16       4      46      34&lt;BR /&gt;06:30:00      16       4      53      27&lt;BR /&gt;06:31:00      19       6      46      29&lt;BR /&gt;&lt;BR /&gt;VMSTAT:&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;    6    16     0  10503581  3771919  184   36     1    0     0    0    12   8628  37326  3047  11  2 87&lt;BR /&gt;   14    13     0  10344219  3776626 1043  100     0    0     0    0     0  13986  93984  7469  35  6 59&lt;BR /&gt;   14    13     0  10344219  3774923  567   74     0    0     0    0     0  13326  73862  6725  25  4 71&lt;BR /&gt;   16    18     0  10589222  3769612  310   58     0    0     0    0     0  13133  78457  8066  27 14 59&lt;BR /&gt;   17    18     0  10589222  3771224  188   39     0    0     0    0     0  13372  72626  7318  25  7 67&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2004 14:00:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329227#M873762</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-07-12T14:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329228#M873763</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;Well they tell me one of two things:&lt;BR /&gt;&lt;BR /&gt;1) You could use a faster disk subsystem - including having the LUNS laid out better.&lt;BR /&gt;&lt;BR /&gt;2) Clumsy, inefficient SQL code's causing a lot of disk access &amp;amp; the CPU's waiting on it's completion.&lt;BR /&gt;&lt;BR /&gt;My next step would be to use array performance software to pinpoint one or the other. If the drives are slow the SW will see access times &amp;amp; bottlenecks everywhere. If the disk space is laid out poorly it will consistently show *hot* LUNs. If the code is inefficient it may show both of the above.&lt;BR /&gt;&lt;BR /&gt;Ny 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 12 Jul 2004 14:08:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329228#M873763</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-07-12T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329229#M873764</link>
      <description>Thanks Jeff. Same initial analyses as I had. But what is striking is even if Glance, sar and vmstat seem to agree -- "sar -d" does not seem to agree as no individual EVA LUN is considered "hot" by sar -- as evidenced by sub 10ms average access and wait times. Is'nt "sar -d" the most authoritative metric in ascertaining if certain LUNs/disks are hot?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The EVA in question is a shared one by other IO heavy servers (HP-UX as well)..</description>
      <pubDate>Mon, 12 Jul 2004 14:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329229#M873764</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-07-12T14:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329230#M873765</link>
      <description>Yes - but you almost have to ignore the "snapshot" sar lines. I always focus on the "Averages" section at the end of sar reports. &lt;BR /&gt;So *always* run sar reports for quite a few iterations and at diff times of the day to get a good feeling for "overall" average disk performance. sar can be misleading - kind of like top - in those "moment in time" values.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 12 Jul 2004 14:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329230#M873765</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-07-12T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329231#M873766</link>
      <description>Jeff, these stats are what we have as "average" for this server's 0800 to 2000 grind.&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jul 2004 14:50:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329231#M873766</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-07-12T14:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: What do these SAR and VMSTAT Stats Tell ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329232#M873767</link>
      <description>Oh - OK, very good.&lt;BR /&gt;And re-reading your 2nd post I just noticed that the array is shared with other big-hitters.&lt;BR /&gt;That's another reason why you need to be looking at the array as a whole picture.&lt;BR /&gt;You may not have "hot LUNs" but may be bottle-necking at an FCA board or even a switch port. Those kind of bottlenecks can appear to be "slow LUNs" when in actuality the LUN performance is above average. It's just the round trip takes a while - kinda like commuting  on the Eisenhower or Kennedy in Chicago. You can get there &amp;amp; back just takes a while.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 12 Jul 2004 15:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-do-these-sar-and-vmstat-stats-tell/m-p/3329232#M873767</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-07-12T15:23:08Z</dc:date>
    </item>
  </channel>
</rss>

