<?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: %sys is high in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042740#M303301</link>
    <description>I totally agree with you ;)&lt;BR /&gt;&lt;BR /&gt;But the problem is -like always- that I have to prove that the system is behaving as expected. To prove that the system is ok, I have to solve the issue even if it is the application (if you know what I mean ;)</description>
    <pubDate>Tue, 24 Jul 2007 11:25:20 GMT</pubDate>
    <dc:creator>Stijn V</dc:creator>
    <dc:date>2007-07-24T11:25:20Z</dc:date>
    <item>
      <title>%sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042738#M303299</link>
      <description>&lt;!--!*#--&gt;I do have an HP Integrity VM (HP-UX 11.31). We do have an Oracle 10g database running on it and DB admins are complaining that the IO is slow...&lt;BR /&gt;&lt;BR /&gt;The %sys is quite high in sar 5 10&lt;BR /&gt;&lt;BR /&gt;tbe1css3# sar 5 10&lt;BR /&gt;&lt;BR /&gt;HP-UX tbe1css3 B.11.31 U ia64    07/24/07&lt;BR /&gt;&lt;BR /&gt;17:21:18    %usr    %sys    %wio   %idle&lt;BR /&gt;17:21:23       7      54       5      34&lt;BR /&gt;17:21:28       7      28       2      64&lt;BR /&gt;17:21:33      11      27       2      61&lt;BR /&gt;17:21:38      11      39       2      48&lt;BR /&gt;17:21:43      17      15       1      67&lt;BR /&gt;17:21:48       3       7      16      73&lt;BR /&gt;17:21:53      12      24       3      61&lt;BR /&gt;17:21:58       2      12       1      84&lt;BR /&gt;17:22:03       3       7       2      88&lt;BR /&gt;17:22:08       7      13       3      78&lt;BR /&gt;&lt;BR /&gt;Average        8      22       4      66&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 10:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042738#M303299</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-24T10:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042739#M303300</link>
      <description>You have really gathered metrics over too short a period to be very meaningful and in any event the i/o wait's dominate in almost all the samples. I have found over many years that when database performance is poor, blame the OS tuning when in the vast majority of cases the problem lies in inefficient code. I suspect that you are doing many logical i/o's vs. physical i/o's (check that with sar -b) and while that is normally a good thing, it may indicate inefficient SQL code as the same data are being reread many times which in turn means that the code is often rereading data that it already "knows".&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 10:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042739#M303300</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-24T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042740#M303301</link>
      <description>I totally agree with you ;)&lt;BR /&gt;&lt;BR /&gt;But the problem is -like always- that I have to prove that the system is behaving as expected. To prove that the system is ok, I have to solve the issue even if it is the application (if you know what I mean ;)</description>
      <pubDate>Tue, 24 Jul 2007 11:25:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042740#M303301</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-24T11:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042741#M303302</link>
      <description>What is your backing store for the disks in your VM? Have you read the best practices whitepaper?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/9983/BestPractices2.2.pdf" target="_blank"&gt;http://docs.hp.com/en/9983/BestPractices2.2.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;IO in a VM is always less efficient than in a normal host, but if you follow best practices for performance it should be less so.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 24 Jul 2007 11:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042741#M303302</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2007-07-24T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042742#M303303</link>
      <description>&lt;!--!*#--&gt;Sar -b doesn't work&lt;BR /&gt;&lt;BR /&gt;tbe1css3# sar -b&lt;BR /&gt;sar: Can't open /var/adm/sa/sa24&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The VM itself is created on a LUN, the Oracle database files and archives are stored on another LUN? You can see 2 LUNs with hpvmstatus on Host level.&lt;BR /&gt;&lt;BR /&gt;Device  Adaptor    Bus Dev Ftn Tgt Lun Storage   Device&lt;BR /&gt;======= ========== === === === === === ========= =========================&lt;BR /&gt;disk    scsi         0   0   0   0   0 disk      /hpap/rdsk/hpap0&lt;BR /&gt;disk    scsi         0   0   0   2   0 disk      /hpap/rdsk/hpap2&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 11:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042742#M303303</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-24T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042743#M303304</link>
      <description>&lt;!--!*#--&gt;I can execute sar -d, please note that there is currently almost no usage of the system (out of business hours):&lt;BR /&gt;tbe1css3# sar -d 2 5&lt;BR /&gt;&lt;BR /&gt;HP-UX tbe1css3 B.11.31 U ia64    07/24/07&lt;BR /&gt;&lt;BR /&gt;19:12:35   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;19:12:37   c0t2d0    1.99    0.50      10     167    0.00    2.15&lt;BR /&gt;            disk3   40.30    0.56     406    3084    0.08    2.79&lt;BR /&gt;            disk5    1.99    0.50      10     167    0.00    2.15&lt;BR /&gt;19:12:39   c0t2d0    1.99    0.50       6      72    0.00    2.45&lt;BR /&gt;            disk3   10.45    0.51     140    1126    0.00    2.13&lt;BR /&gt;            disk5    1.99    0.50       6      72    0.00    2.45&lt;BR /&gt;19:12:55   c0t2d0    2.65    0.50      10     233    0.00    2.69&lt;BR /&gt;            disk3    4.11    0.84      43     647    0.78    1.93&lt;BR /&gt;            disk5    2.65    0.50      10     233    0.00    2.69&lt;BR /&gt;           c0t2d0    1.11    0.50      14     400    0.00    1.36&lt;BR /&gt;            disk3   37.78    0.51     262    3304    0.01    2.75&lt;BR /&gt;            disk5    1.11    0.50      14     400    0.00    1.36&lt;BR /&gt;19:12:57   c0t2d0    1.50    0.50      10     154    0.00    1.03&lt;BR /&gt;            disk3   16.50    0.57     176    1440    0.30    2.73&lt;BR /&gt;            disk5    1.50    0.50      10     154    0.00    1.03&lt;BR /&gt;&lt;BR /&gt;Average    c0t2d0    2.36    0.50      10     212    0.00    2.39&lt;BR /&gt;Average     disk3   10.50    0.63     106    1094    0.29    2.46&lt;BR /&gt;Average     disk5    2.36    0.50      10     212    0.00    2.39&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tbe1css3# sar 5 100&lt;BR /&gt;HP-UX tbe1css3 B.11.31 U ia64    07/24/07&lt;BR /&gt;Average        4      14       3      79&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 12:15:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042743#M303304</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-24T12:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042744#M303305</link>
      <description>You have to supply sample_period and count arguments to sar -b just as you did to s [-s] 5 10.&lt;BR /&gt;&lt;BR /&gt;If you are going to use sar, you really need to run it in data collector mode so that it samples data every 20 minutes and stores it. That way you can see good and bad periods on the box. Man sadc for details.&lt;BR /&gt;&lt;BR /&gt;You really need to use Glance to analyze your performance problems as it allows much more precision than the decades old sar. If you do not have Glance installed, a 60-day Trial version can be found on any Applications CD set.</description>
      <pubDate>Tue, 24 Jul 2007 16:09:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042744#M303305</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-24T16:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042745#M303306</link>
      <description>&lt;!--!*#--&gt;Ok thanks.&lt;BR /&gt;&lt;BR /&gt;In the mean time I know thet the %sys mode depends on the application code an can be normal (in our case oracle).&lt;BR /&gt;&lt;BR /&gt;tbe1css3# sar -d 10 10&lt;BR /&gt;&lt;BR /&gt;HP-UX tbe1css3 B.11.31 U ia64    07/24/07&lt;BR /&gt;&lt;BR /&gt;23:10:48   device   %busy   avque   r+w/s  blks/s  avwait  avserv&lt;BR /&gt;&lt;BR /&gt;Average    c0t2d0    4.53    0.50       8     286    0.00    6.01&lt;BR /&gt;Average     disk3    2.56    5.02      22     294    0.62    2.06&lt;BR /&gt;Average     disk5    4.53    0.50       8     286    0.00    6.01&lt;BR /&gt;tbe1css3#&lt;BR /&gt;&lt;BR /&gt;I guess that 5ms is not that abnormal, although the oracle 10g enterprise monitoring tool sais (User IO is high)?? The DBA sais that the system IO is slow ... but -up to me- it is ok??&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Jul 2007 16:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042745#M303306</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-24T16:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042746#M303307</link>
      <description>I Clay&lt;BR /&gt;&lt;BR /&gt;What do you mean with &lt;BR /&gt;"you are doing many logical i/o's vs. physical i/o's (check that with sar -b)"&lt;BR /&gt;The output of sar -b is about reads and writes from/to cache and reads and writes from/to physical disks.&lt;BR /&gt;I am interessed in this problem and didn't understood your explanation, I am hoping you could clarify me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;STP</description>
      <pubDate>Wed, 25 Jul 2007 09:27:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042746#M303307</guid>
      <dc:creator>Ramones</dc:creator>
      <dc:date>2007-07-25T09:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042747#M303308</link>
      <description>I think that logical IO is reading/writing from cache. And physical IO is reading/writing from disk.&lt;BR /&gt;&lt;BR /&gt;And up to me, Claw is correct in his findings about my issue. There are indeed a lot of logical IOs and almost no physical IOs. Still investigating why (probably bad SQL code)?</description>
      <pubDate>Wed, 25 Jul 2007 09:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042747#M303308</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-25T09:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042748#M303309</link>
      <description>Sorry I mean A. Clay Stephenson instead of Claw...</description>
      <pubDate>Wed, 25 Jul 2007 09:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042748#M303309</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-25T09:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042749#M303310</link>
      <description>Hi Stijn &lt;BR /&gt;&lt;BR /&gt;If that definition of logical/physical IOs is as you say I have the idea that what is happening there is perfectly normal.&lt;BR /&gt;Since access to memory is must faster then access to disk , buffer cache minimizes acesses to disk by keeping in memory the most recently used blocks so...&lt;BR /&gt;in reading: if there's a copy of the block in cache it is used, otherwise it will read from disk&lt;BR /&gt;in writting: it is kept a copy of the block on cache. Not always that block is immediately written on disk.&lt;BR /&gt;I think about physical/logical IOs has a disk on a machine may be composed by many disks in an external storage ...but that has nothing to do with this issue...so...I am still confused with Clays statement....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;STP</description>
      <pubDate>Wed, 25 Jul 2007 10:04:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042749#M303310</guid>
      <dc:creator>Ramones</dc:creator>
      <dc:date>2007-07-25T10:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042750#M303311</link>
      <description>Your understanding of logical and physical i/o is correct and as I said, normally a high ratio of logical to physical i/o IS a good thing as buffer cache is much faster than disk BUT suppose that you really didn't need that many reads (logical or physical) in the first place. For example, if you are creating some sort of tuple (e.g a join) that has a parent/child relationship you could do this by reading the parent entry each time you read the child entry or you could read the parent only once, store those data in variables and then read each child entry. You might reduce the parent accesses by a factor 50 or so. Another example is a heavily accessed table small enough to fit within cache but is not indexed in a manner which avoids a sequential search. This will trigger tons of logical i/o's when the presence of a single additional index would&lt;BR /&gt;allow an efficient search.&lt;BR /&gt;&lt;BR /&gt;Of course, I'm shooting in the dark but I have seen exactly these symptoms and when combined with the keyword "database" I tend to look at the application first.</description>
      <pubDate>Wed, 25 Jul 2007 11:08:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042750#M303311</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-07-25T11:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042751#M303312</link>
      <description>Hi Clay &lt;BR /&gt;&lt;BR /&gt;I got it, I was confused with the term logical IO I guess ...I would call it buffer IO but I see the point now.&lt;BR /&gt;So, do you know about some kind of normal relation between physical and logical IOs? I guess one couldn't never know for sure hein...&lt;BR /&gt;Thanks, I've appreciated it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;STP</description>
      <pubDate>Wed, 25 Jul 2007 11:41:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042751#M303312</guid>
      <dc:creator>Ramones</dc:creator>
      <dc:date>2007-07-25T11:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042752#M303313</link>
      <description>FYI,&lt;BR /&gt;&lt;BR /&gt;We migrated the Oracle DB to another setup and everything is again ok (the %sys mode is normal as well). I guess that there is somewhere a bug and therefore the logical reads (memory) were just not performing as they should ...&lt;BR /&gt;&lt;BR /&gt;Bug is somwhere in ;)&lt;BR /&gt;&lt;BR /&gt;Whe changed the bad performing setup (was just migrated from another setup) to the following:&lt;BR /&gt;&lt;BR /&gt;- changed From Unix Itanium Integrity Virtual Machine 11.31 (2 X dual core and 7,5GB) towards PA-RISC 11.11 (rp3440 2 CPU and 8GB)&lt;BR /&gt;- Oracle 10g binaries from IA to PA&lt;BR /&gt;- The HP-UX Virtual Machine Host layer is gone &lt;BR /&gt;&lt;BR /&gt;I will update this thread once we found the root cause (only in case we still want to put the DB again on the Integrity Virtual Machine).&lt;BR /&gt;&lt;BR /&gt;Tanks for your help.</description>
      <pubDate>Fri, 27 Jul 2007 09:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042752#M303313</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-27T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042753#M303314</link>
      <description>FYI,&lt;BR /&gt;&lt;BR /&gt;We migrated the Oracle DB to another setup and everything is again ok (the %sys mode is normal as well). I guess that there is somewhere a bug and therefore the logical reads (memory) were just not performing as they should ...&lt;BR /&gt;&lt;BR /&gt;Bug is somwhere in ;)&lt;BR /&gt;&lt;BR /&gt;Whe changed the bad performing setup (was just migrated from another setup) to the following:&lt;BR /&gt;&lt;BR /&gt;- changed From Unix Itanium Integrity Virtual Machine 11.31 (2 X dual core and 7,5GB) towards PA-RISC 11.11 (rp3440 2 CPU and 8GB)&lt;BR /&gt;- Oracle 10g binaries from IA to PA&lt;BR /&gt;- The HP-UX Virtual Machine Host layer is gone &lt;BR /&gt;&lt;BR /&gt;I will update this thread once we found the root cause (only in case we still want to put the DB again on the Integrity Virtual Machine).&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Fri, 27 Jul 2007 09:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042753#M303314</guid>
      <dc:creator>Stijn V</dc:creator>
      <dc:date>2007-07-27T09:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: %sys is high</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042754#M303315</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I haven't had good experiences with Integrity Virtual Machine myself...please update if you discover something.&lt;BR /&gt;Do you still have the sar -b outputs from before and after the change? I would like to see that...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;STP</description>
      <pubDate>Fri, 27 Jul 2007 10:33:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sys-is-high/m-p/4042754#M303315</guid>
      <dc:creator>Ramones</dc:creator>
      <dc:date>2007-07-27T10:33:41Z</dc:date>
    </item>
  </channel>
</rss>

