- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: bad i/o performance (application problem)
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
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
06-22-2004 08:20 PM
06-22-2004 08:20 PM
bad i/o performance (application problem)
Each minute it runs from crontab and updates the - ehm - database, which means creating, deleting, sorting, compressing, uncompressing these thousands of little files and of course forking like a rabbit. Strange to say, sometimes it has performance problems and the disk containing the "db" is 100% busy with long i/o queue.
Since I cannot erase the application from the server, can anybody suggest me any workaround I could apply to the system, like kernel parm tuning (I think DNLC, inode cache, etc.) or similar?
TIA, Carlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 10:51 PM
06-22-2004 10:51 PM
Re: bad i/o performance (application problem)
you can try to increase the buffer cache (dbc_min_pct & dbc_max_pct) which might relieve the disks a bit.
Another possibility is that all memory is consumed and that the server is swapping like hell, so check swapinfo during peak time.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:13 AM
06-23-2004 01:13 AM
Re: bad i/o performance (application problem)
The key to such applications is tuning your system.. you already thought of some. Filesystem buffer cache is one area that most of the time fixes the problem -- study your "sar -b" output over time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:30 AM
06-23-2004 01:30 AM
Re: bad i/o performance (application problem)
Even a simple 'ls -l' command in the directory and it was very slow.
I then defraged the directory (fsadm -F vxfs -d
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:30 AM
06-23-2004 01:30 AM
Re: bad i/o performance (application problem)
Open it up, what is hitting high-cpu, memory, disk, network?
Identifying a bottle neck is a big exercise. Depending on what you have given..
What's RAM on this machine? What are buffer cahe settings?
Which FS is being accessed by this crontab entry? glance -i (will give those details)
If this crontab entry is accessing particular
FS and that FS hitting 100 % i/o, then
try distibuting the files on to different FS and make appropriate chnages in your script.
Also depending on what are your buffer cache settings, it may be increased.
Give sar -b 2 20 output.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:44 AM
06-23-2004 01:44 AM
Re: bad i/o performance (application problem)
I'd also check to see whether 1 minute cron jobs is the proper timing.
Could it be that jobs are not completeing w/in that minutes & are "backing up" causing contention issues?
Watch the cron queue using the /var/adm/cron/log to see just when they're starting & ending. Each entry pair will be denoted by a unique PID. Just grep for it.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 01:54 AM
06-23-2004 01:54 AM
Re: bad i/o performance (application problem)
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2004 03:36 AM
06-23-2004 03:36 AM
Re: bad i/o performance (application problem)
I've Glance on the server, so I can provide any info about the problem. The system has lots of free CPU and memory, it's mainly waiting for I/O on a single filesystem (where there is the db); yet I cannot distribute it around, since I've no free disks.
The "db" is composed by thousands of *very* little files, so the size of buffer cache (it's 1 Gb BTW) doesn't seem to me the key, since the total data moved is quite little.
Looking at the syscall rate in Glance, I see that the system is spending much time in doing open(), so what Bill says about directory operations is very likely.
Using "sar -a" I see also a high rate of iget, namei, dirbk.
Maybe I'll try reorganizing the directories as David writes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2004 04:18 AM
06-24-2004 04:18 AM
Re: bad i/o performance (application problem)
Looking in a different direction, you can reduce the time for starting short-lived programs by using the fastbind command. It records the shared libraries and symbol resolutions for a program so dld.sl does not need to look them up everytime the program is started. Fastbind needs to be rerun whenever you update a shared library. Otherwise it quietly returns to the old way of looking up symbols.