- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance 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
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-30-2002 05:07 PM
06-30-2002 05:07 PM
Performance Problem
Here are some of the basic symptoms (see attached for more details):
1. vmstat shows a high number of processes in the run queue
2. glance shows a high (at least high compared to my other systems) context switch rate
3. the system is using ~2% swap, but memory is at 90% utilization and a big chunk of that is file system buffer
There are about 800 processes running on this server.
Here are some kernel params:
dbc_min_pct = 5
dbc_max_pct = 50
minfree, lotsfree, desfree = 0
maxdsiz, maxdsiz_64bit = 0x040000000
maxssiz, maxssiz_64bit = 0x01000000
maxtsiz, maxtsiz_64bit = 0x010000000
The server was recently patched.
It doesn't appear to be a disk, memory, or CPU bottleneck. Glance shows a network packet rate of:
Packet In = 1401
Packet Out = 1555
No colisions or errors.
My first thought was that there was just too many procs running.
The swap utilization is a little puzzling - I thought that some of the file system buffer space would have been reclaimed for other uses before using swap space.
Any suggestions would be greatly appreciated.
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 05:19 PM
06-30-2002 05:19 PM
Re: Performance Problem
The first thing to look at would be to reduce the size of your buffer cache. It is *far* too high. The recommended size is somewhere in between 300-400Mb, so in your case with 8GB of RAM, reduce it to 5% (dbc_max_pct) Set the minimum to 2% (dbc_min_pct). Don't be alarmed at the size of the reduction. There are plenty of postings on this issue. Here are three.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x166f107d277ad611abdb0090277a778c,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf49203bbece8d5118ff40090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x6752a22831ebd5118ff40090279cd0f9,00.html
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 05:20 PM
06-30-2002 05:20 PM
Re: Performance Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 05:22 PM
06-30-2002 05:22 PM
Re: Performance Problem
I think the issue may be with your
dbc_max_pct = 50 setting
How much memory do you have installed on the server. There are guidlines set regarding this setting
Have a read of the attached
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 05:28 PM
06-30-2002 05:28 PM
Re: Performance Problem
Here's another thread from a question I raised myself regarding the mentioned settings
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe07b1cc6003bd6118fff0090279cd0f9,00.html
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 06:01 PM
06-30-2002 06:01 PM
Re: Performance Problem
Just for added information: there are no databases on this server. sar -b shows that there are mostly reads (with 99 - 100% cache hit (I would hope so with so much memory being allocated for it)).
I will try and get an outage to change the tunables. I'll let you know how it turns out (and assign points).
Thanks again,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 08:41 AM
07-01-2002 08:41 AM
Re: Performance Problem
1. swapinfo & glance show some swap device being used
2. the CPUs are still spending the majority of their time in system mode
3. the context switch rate still seems a bit high
I am curious why even after lowering the buffer cache a swap device is still showing that it's being used. It's showing exactly what it was yesterday before the kernel parameter change. I did see some threads that mention memory mapped files and I do see some mmap syscalls.
I don't see what I always thought of as traditional CPU, Disk, or Memory bottlenecks. The network is a Gbit and shows no errors or collisions. What else could cause the high amount of CPU system time?
I'm trying to think of other things to check, but I'm coming up short. Any suggestions would be great.
Thanks again,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 08:57 AM
07-01-2002 08:57 AM
Re: Performance Problem
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 08:59 AM
07-01-2002 08:59 AM
Re: Performance Problem
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 09:10 AM
07-01-2002 09:10 AM
Re: Performance Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 09:41 AM
07-01-2002 09:41 AM
Re: Performance Problem
bufpages = (NBUF*2)
Does it actually have to be entered as '0' or will the formula suffice. From looking at the glance outputs it looks like buffer cache is reduced.
Thanks,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 09:51 AM
07-01-2002 09:51 AM
Re: Performance Problem
The formula for bufpages is fine. It can take up the value from the formula.
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 12:51 PM
07-01-2002 12:51 PM
Re: Performance Problem
You can get a small programme called sarcheck
from www.sarcheck.com. The programme produces html reports of performance data on you system highlighting issues with bottlenecks etc.
http://www.sarcheck.com/schp.htm
Have a look
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 01:28 PM
07-01-2002 01:28 PM
Re: Performance Problem
/usr/sbin/lanadmin -> lan -> display