- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ioscan disk load
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
02-05-2007 01:10 AM
02-05-2007 01:10 AM
ioscan disk load
In application sorece code, they run ioscan -fn per 2sec. I looked at glance disk io 100% when ioscan is run. My customer want me to explain how ioscan work. Why it cause disk load. Any one explain for me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 01:16 AM
02-05-2007 01:16 AM
Re: ioscan disk load
man ioscan
"ioscan scans system hardware, usable I/O system devices, or kernel I/O system data structures as appropriate, and lists the results. For each hardware module on the system, ioscan displays by default the hardware path to the hardware module, the class of the hardware module, and a brief description."
Ioscan has to scan the actual hardware unless the -k parameter is used, so will cause disk load. Why is the application scanning every 2 seconds ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 01:34 AM
02-05-2007 01:34 AM
Re: ioscan disk load
The name does imply that, does it not?
It wouldn't surprise me if it even did an operation like "everybody quiet now, let me hear from any new kids on the block". And "John where are you? I know you are out there John I saw you earlier, stop hiding John, oh well John does not want to play anymore".
I must assume this is a system monitor application of some sort?
running ioscan once per 2 second seems too intense! Want to reduce the load by a factor of thousand? run it once every 2000 seconds, or on demand.
How often is the configuration expected to change?!
If it is probing to 'see' whether a particular set of disks is still accesible, in order to be able to give early failure warnings then do just that: write a script (or better still a program) to read (and/or write?) data from(to) a list of mountpoints or devices. Don't use the ioscan sledgehammer!
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 01:59 AM
02-05-2007 01:59 AM
Re: ioscan disk load
'ioscan' is the wrong utility for this application. Look into using the system activity report package ('man 1m sa1'), Event Monitoring Service ('man 5 ems'), or something in the OpenView product line-up, such as GlancePlus (http://h20229.www2.hp.com/products/gppak2k/index.html).
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 02:07 AM
02-05-2007 02:07 AM
Re: ioscan disk load
As noted, 'ioscan' is an intensive (resource-wise) probe of your hardware and running it frequently will certainly affect your performance!
That said, however, you can reduce the work it does if you only need to find what the kernel tables currently know. Simply add the '-k' option:
# ioscan -kfn
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2007 03:39 AM
02-05-2007 03:39 AM
Re: ioscan disk load
Now ioscan -k will return immediately since the details are simply reported from memory -- no scan takes place. But even with the low overhead using -k, ioscan should NEVER be used to monitor a system. It is not a performance tool, it is an inventory tool and might be run once in the evening as part of a hardware inventory script. You need to question the reason ioscan is being run every 2 seconds.
Bill Hassell, sysadmin