<?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: SAR vs Glance in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431667#M477170</link>
    <description>I don't believe you have the correct information on sar, Andy.  My understanding is that avwait refers to the time a request waits in queue before gaining access to the disk.  Avserv refers to the time it takes to service each request once it reaches the disk controller (seek, rotation, data transfer).&lt;BR /&gt;&lt;BR /&gt;So . . . sar may still be misreporting, but it is not possible to determine that just from those two lines.  Can you post the glance data and sar data side-by-side for the LUNs in question?</description>
    <pubDate>Wed, 19 Jul 2000 18:17:13 GMT</pubDate>
    <dc:creator>Alan Riggs</dc:creator>
    <dc:date>2000-07-19T18:17:13Z</dc:date>
    <item>
      <title>SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431658#M477161</link>
      <description>I am running sar as well as glance ( both 5 sec  interval)against some XP256 LUNS , and see a drastic difference in the outputs.&lt;BR /&gt;&lt;BR /&gt;sar shows the 'aserv' ( avg servtime) in the range of  40-50&lt;BR /&gt;whereas glance shows it at 3-4 range. Which one to beleive ?&lt;BR /&gt;&lt;BR /&gt;I have heard some people saying that Glance takes some proprietary HP stuff into account. Should that make such a huge difference?  Please let me know if anyone has encountered with this issue before or anyone knows the answer.&lt;BR /&gt;&lt;BR /&gt;thanks in advance.</description>
      <pubDate>Wed, 19 Jul 2000 17:31:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431658#M477161</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T17:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431659#M477162</link>
      <description>Typically, I'd always believe glance. It's had some special hooks written into the kernel , whereas sar uses the pstat() system call. At the end of the day, they 'should' both get the same information and from previous experience looking where they do get the info, they are usually pretty close. However, I do believe that the averages maybe worked out differently.&lt;BR /&gt;&lt;BR /&gt;The other thing might be what one is using as the start time over the other one. Using an array averages 30-40 seem a bit high unless it's being hammered. Could you post some of the sar and glance data so I can have a look?b</description>
      <pubDate>Wed, 19 Jul 2000 17:37:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431659#M477162</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T17:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431660#M477163</link>
      <description>the array was hammered until yesterday. we made some changes to the array config ( created a LUSE out of 6 luns and  FS/LVM on top of that )  and now glance shows the huge difference in  'avserv'. &lt;BR /&gt;&lt;BR /&gt;But somehow sar (so far)  is not able to capture it. The following is the output of sar -d 5 5 ( the avg)&lt;BR /&gt;14:39:57   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;&lt;BR /&gt;c7t9d4  100.00    1.40     229    3818    7.12   39.93&lt;BR /&gt;          c9t10d2  100.00    1.20     260    4272    9.54   52.68  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks for your help&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 17:42:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431660#M477163</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T17:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431661#M477164</link>
      <description>I also would tend to favor glance, but I would also check to make sure that you  have the latest glance pathces applied to your system.  It would be helpful to look at some side-by-side data comparisons.  Are your users experiencing any noticeable delays in I/O response?</description>
      <pubDate>Wed, 19 Jul 2000 17:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431661#M477164</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-19T17:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431662#M477165</link>
      <description>Looks like sar needs to go back to school :-&lt;BR /&gt;&lt;BR /&gt;c7t9d4 100.00      1.40 229 3818 7.12 39.93 &lt;BR /&gt;c9t10d2 100.00    1.20 260 4272 9.54 52.68 &lt;BR /&gt;&lt;BR /&gt;the avserv is meant to be avwait / avq, which isn't 39.93 or 52.68. It should be 5 and 7.95.&lt;BR /&gt;&lt;BR /&gt;Either that, or they have changed the formula since I last looked at the source code.&lt;BR /&gt;&lt;BR /&gt;Therefore believe GLANCE :-)  and look for sar patches</description>
      <pubDate>Wed, 19 Jul 2000 17:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431662#M477165</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T17:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431663#M477166</link>
      <description>User response time is normal like before , but most of the night jobs did not finish. This is where we had the problem earlier too.&lt;BR /&gt;And to us this is boolean , finished or not finished. we have no way of telling which stage they are in. &lt;BR /&gt;&lt;BR /&gt;the aservtime shown by 'sar' is same as before. even when the users were hammered online users did not notice , only many2 of the batch jobs could not complete.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 17:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431663#M477166</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T17:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431664#M477167</link>
      <description>what would have been the difference which only glance could see not sar? does any sar patch address this issue ? I checked the definition of sar ( man patches) as well as glance ( help pages). it is same. &lt;BR /&gt;&lt;BR /&gt;thanks for your help</description>
      <pubDate>Wed, 19 Jul 2000 17:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431664#M477167</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T17:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431665#M477168</link>
      <description>While getting a beer from the fridge, I suddenly realized I divided when I should have multipled.&lt;BR /&gt;&lt;BR /&gt;avserv = avq * avwait. Still, sar is way out!</description>
      <pubDate>Wed, 19 Jul 2000 18:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431665#M477168</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T18:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431666#M477169</link>
      <description>This information may not be of help to you but I have just compared the disk services times of several disks on my system and the values are almost equal for both sar and glance.  We are using:&lt;BR /&gt;&lt;BR /&gt;Glance/Plus B3692A version C.02.15.00 &lt;BR /&gt;&lt;BR /&gt;sar:&lt;BR /&gt;/usr/bin/sar:&lt;BR /&gt;         $Revision: 76.3.1.7 $&lt;BR /&gt;         PATCH_10_20: sar.o 98/04/23&lt;BR /&gt;&lt;BR /&gt;What versions are you using?&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 18:09:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431666#M477169</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-07-19T18:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431667#M477170</link>
      <description>I don't believe you have the correct information on sar, Andy.  My understanding is that avwait refers to the time a request waits in queue before gaining access to the disk.  Avserv refers to the time it takes to service each request once it reaches the disk controller (seek, rotation, data transfer).&lt;BR /&gt;&lt;BR /&gt;So . . . sar may still be misreporting, but it is not possible to determine that just from those two lines.  Can you post the glance data and sar data side-by-side for the LUNs in question?</description>
      <pubDate>Wed, 19 Jul 2000 18:17:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431667#M477170</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-19T18:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431668#M477171</link>
      <description>I definitaly hadn't looked at the source for a while.&lt;BR /&gt;&lt;BR /&gt;Alan is right. avserv is completely different and can't be calcuated as I did.&lt;BR /&gt;&lt;BR /&gt;So, it's likely it that it's related to the different ways they obtain their data.</description>
      <pubDate>Wed, 19 Jul 2000 18:25:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431668#M477171</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T18:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431669#M477172</link>
      <description>Actually, now that I think of it what are you looking at in glance to determine the average serv time?  I do not recall that metric being available in glance.</description>
      <pubDate>Wed, 19 Jul 2000 18:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431669#M477172</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-19T18:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431670#M477173</link>
      <description>There is a metric avaibale called 'dsk avg svctime'  the help page of which describes it in the same way as 'sar -d's '. However this metric wasn't enabled by default. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the following sone number from glance and sar &lt;BR /&gt;&lt;BR /&gt;device name   dsk_avg_svctime util% phys/i/o&lt;BR /&gt;&lt;BR /&gt;0/2/0/0 ...    4.64        100%   215.4  19.2&lt;BR /&gt;1/0  .....     4.15        100%   220.2  16.2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sar -d&lt;BR /&gt;&lt;BR /&gt;c7t9d4  100.00    3.68     247    4062   20.82   63.24&lt;BR /&gt;c9t10d2   99.20    3.50     202    3372   11.13   30.45 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;these devices files will map to the HW address above ( in glance) &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 18:34:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431670#M477173</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T18:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431671#M477174</link>
      <description>Glance  C.02.30.000    HP GlancePlus/UX &lt;BR /&gt;sar: &lt;BR /&gt;&lt;BR /&gt;-r-xr-xr-x 1 bin   bin 36864 May 12  1998 sar&lt;BR /&gt;ftwhpn3:/usr/sbin# what sar&lt;BR /&gt;sar:&lt;BR /&gt;         $Revision: 82.1.1.3 $&lt;BR /&gt;         PATCH_11_00: sar.o 98/05/12 &lt;BR /&gt;&lt;BR /&gt;thanks for your help</description>
      <pubDate>Wed, 19 Jul 2000 19:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431671#M477174</guid>
      <dc:creator>Bhaskar Luitel</dc:creator>
      <dc:date>2000-07-19T19:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAR vs Glance</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431672#M477175</link>
      <description>Ah, thanks for the info.  I have never investigated non-default glance monitors before.  From a quick look, I think that the metrics might actually be measuring different things.  Glance uses teh midaemon, which pulls information from the KI trace buffers.  Sar uses pstat which queries kernel counters.  The glance help page for BYDSK_AVG_SERVICE_TIME states: "service time is measured from the perspective of the kernel, not the disk device itself.  For example, if a disk device can find the requested data in its cache, the average service time could be quicker than the speed of the physical disk hardware."  Sar, I believe, reports only physical disk queries in the sar -d  output.  If my understanding is correct, then what you are seeing represents the difference between service time for all requests, including those that hit cache, and service time for requests that go to disk.&lt;BR /&gt;&lt;BR /&gt;Which raises the question: how are your cache hit rates, especially for the period of your large nightly batch jobs?</description>
      <pubDate>Wed, 19 Jul 2000 19:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sar-vs-glance/m-p/2431672#M477175</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-07-19T19:29:16Z</dc:date>
    </item>
  </channel>
</rss>

