- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- %sys is high
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 03:22 AM
07-24-2007 03:22 AM
The %sys is quite high in sar 5 10
tbe1css3# sar 5 10
HP-UX tbe1css3 B.11.31 U ia64 07/24/07
17:21:18 %usr %sys %wio %idle
17:21:23 7 54 5 34
17:21:28 7 28 2 64
17:21:33 11 27 2 61
17:21:38 11 39 2 48
17:21:43 17 15 1 67
17:21:48 3 7 16 73
17:21:53 12 24 3 61
17:21:58 2 12 1 84
17:22:03 3 7 2 88
17:22:08 7 13 3 78
Average 8 22 4 66
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 03:45 AM
07-24-2007 03:45 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 04:25 AM
07-24-2007 04:25 AM
Re: %sys is high
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 ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 04:27 AM
07-24-2007 04:27 AM
Re: %sys is high
http://docs.hp.com/en/9983/BestPractices2.2.pdf
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.
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 04:37 AM
07-24-2007 04:37 AM
Re: %sys is high
tbe1css3# sar -b
sar: Can't open /var/adm/sa/sa24
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.
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk scsi 0 0 0 0 0 disk /hpap/rdsk/hpap0
disk scsi 0 0 0 2 0 disk /hpap/rdsk/hpap2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 05:15 AM
07-24-2007 05:15 AM
Re: %sys is high
tbe1css3# sar -d 2 5
HP-UX tbe1css3 B.11.31 U ia64 07/24/07
19:12:35 device %busy avque r+w/s blks/s avwait avserv
19:12:37 c0t2d0 1.99 0.50 10 167 0.00 2.15
disk3 40.30 0.56 406 3084 0.08 2.79
disk5 1.99 0.50 10 167 0.00 2.15
19:12:39 c0t2d0 1.99 0.50 6 72 0.00 2.45
disk3 10.45 0.51 140 1126 0.00 2.13
disk5 1.99 0.50 6 72 0.00 2.45
19:12:55 c0t2d0 2.65 0.50 10 233 0.00 2.69
disk3 4.11 0.84 43 647 0.78 1.93
disk5 2.65 0.50 10 233 0.00 2.69
c0t2d0 1.11 0.50 14 400 0.00 1.36
disk3 37.78 0.51 262 3304 0.01 2.75
disk5 1.11 0.50 14 400 0.00 1.36
19:12:57 c0t2d0 1.50 0.50 10 154 0.00 1.03
disk3 16.50 0.57 176 1440 0.30 2.73
disk5 1.50 0.50 10 154 0.00 1.03
Average c0t2d0 2.36 0.50 10 212 0.00 2.39
Average disk3 10.50 0.63 106 1094 0.29 2.46
Average disk5 2.36 0.50 10 212 0.00 2.39
tbe1css3# sar 5 100
HP-UX tbe1css3 B.11.31 U ia64 07/24/07
Average 4 14 3 79
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 09:09 AM
07-24-2007 09:09 AM
Re: %sys is high
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 09:18 AM
07-24-2007 09:18 AM
Re: %sys is high
In the mean time I know thet the %sys mode depends on the application code an can be normal (in our case oracle).
tbe1css3# sar -d 10 10
HP-UX tbe1css3 B.11.31 U ia64 07/24/07
23:10:48 device %busy avque r+w/s blks/s avwait avserv
Average c0t2d0 4.53 0.50 8 286 0.00 6.01
Average disk3 2.56 5.02 22 294 0.62 2.06
Average disk5 4.53 0.50 8 286 0.00 6.01
tbe1css3#
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??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 02:27 AM
07-25-2007 02:27 AM
Re: %sys is high
What do you mean with
"you are doing many logical i/o's vs. physical i/o's (check that with sar -b)"
The output of sar -b is about reads and writes from/to cache and reads and writes from/to physical disks.
I am interessed in this problem and didn't understood your explanation, I am hoping you could clarify me.
Thanks,
STP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 02:42 AM
07-25-2007 02:42 AM
Re: %sys is high
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)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 02:44 AM
07-25-2007 02:44 AM
Re: %sys is high
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 03:04 AM
07-25-2007 03:04 AM
Re: %sys is high
If that definition of logical/physical IOs is as you say I have the idea that what is happening there is perfectly normal.
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...
in reading: if there's a copy of the block in cache it is used, otherwise it will read from disk
in writting: it is kept a copy of the block on cache. Not always that block is immediately written on disk.
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....
Regards,
STP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 04:08 AM
07-25-2007 04:08 AM
Re: %sys is high
allow an efficient search.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 04:41 AM
07-25-2007 04:41 AM
Re: %sys is high
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.
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...
Thanks, I've appreciated it.
Regards,
STP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2007 02:30 AM
07-27-2007 02:30 AM
Re: %sys is high
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 ...
Bug is somwhere in ;)
Whe changed the bad performing setup (was just migrated from another setup) to the following:
- 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)
- Oracle 10g binaries from IA to PA
- The HP-UX Virtual Machine Host layer is gone
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).
Tanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2007 02:30 AM
07-27-2007 02:30 AM
Re: %sys is high
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 ...
Bug is somwhere in ;)
Whe changed the bad performing setup (was just migrated from another setup) to the following:
- 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)
- Oracle 10g binaries from IA to PA
- The HP-UX Virtual Machine Host layer is gone
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).
Thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2007 03:33 AM
07-27-2007 03:33 AM
Re: %sys is high
I haven't had good experiences with Integrity Virtual Machine myself...please update if you discover something.
Do you still have the sar -b outputs from before and after the change? I would like to see that...
Regards,
STP