- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: kernel params set too large
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-12-2003 04:57 AM
02-12-2003 04:57 AM
kernel params set too large
I need details on the negative impact of tuning certain kernel params too LARGE, especially the impact on syscalls that need to scan all these frigging kernel tables. The params I'm specifically looking at reducing are:
NPROC
NFILE
SHMMNI
MSGMNI
SEMMNI
NFLOCKS
NPTY/NSTRPTY
NINODE
MSGMAP
SEMMAP
The current settings were "thumb-sucked" by a local HP SE that might have been a little intimidated by the SuperDome. My theory is that certain syscalls like READ, WRITE, OPEN, etc, are spending cumulative time racking through these tables. At several gazillion I/Os per day, this all adds up....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2003 05:02 AM
02-12-2003 05:02 AM
Re: kernel params set too large
I'd have a look at the Tunable Kernel Paramters for 11i documentation. This gives one of the best guidelines I've seen for values as well as guidelines. Specifically, see the Tunable Reference Manpages section:
http://docs.hp.com/hpux/onlinedocs/TKP-90202/TKP-90202.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 05:40 AM
02-17-2003 05:40 AM
Re: kernel params set too large
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 06:32 AM
02-17-2003 06:32 AM
Re: kernel params set too large
Two prominent exceptions are ninode (unless you restrict the DNLC uing the ncsize tunable) and dbc_max_pct (important, although not listed by you).
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 09:01 AM
02-17-2003 09:01 AM
Re: kernel params set too large
Think about your logic for a minute or 2. How can increasing the ninode param create open(), read(), and write() syscalls? This just means that when a file is created, ninode is looked at to ensure the max is not reached.
If the ninode param is not reached, I/O will then occur to make the inode(and other activity). This occurs whether or not you have a large or small ninode parameter set.
NTPY is another easy excmple. This controls how many open connections you could possibly have. As long as the limit is not reached connections can be established. The I/O for each session will occur regardless of what your NTPY param is set too.
Remember that alot (or most) of the kernel parameters are there as safety precautions. Example: ninode controls how many files you can have in a directory, hopefully catching a bug in code looping and blowing out file systems. Do you really think HP-UX really cares if you have a million files or 1? Not really.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 09:15 AM
02-17-2003 09:15 AM
Re: kernel params set too large
reading the original question, I think we are not talking about additional I/Os? I think Jakes is talking about additional kernel overhead while processing syscalls.
BTW, ninode tunes the size of the HFS(!) inode cache (and inirectly the size of the DNLC, the directoy name lookup cache). It does not limit the number of files in a directory or similar.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 09:26 AM
02-17-2003 09:26 AM
Re: kernel params set too large
And once a file is open, the file control block is kept local to the application so that read/write tasks do not need the kernel structures.
You'll need to look further for resons that the system seems to be running slowly. Start with the load: is the system overhead in the 5-15% range or is it in the 50-75% range? High system overhead is a sign that applications are asking opsystem to do things inefficiently.
Is the compute time excessive (80-100%) on just ine processor? In that case, a simple (but bad) shell script can saturate one processor. Or an application can do the same thing because it is not threaded (or configured for multi-processors).
Improving performance requires an understanding of what the applications are doing and whether you have any control over these tasks. Rarely can you you see a dramatic improvement in performance by tweaking the kernel. It's better to look at the apps and the calls that they make to the opsystem first.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2003 10:27 AM
02-17-2003 10:27 AM
Re: kernel params set too large
I probably did not do a good job explaining but in essense most of the kernel params listed are hard limits which do not have impact on performance nor kernel size.
The I/O does not occur by checking the limits, but by the processes past the point of the limit succeeding.
Does that make better sense?
Shannon