- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel tuning
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
Discussions
Discussions
Forums
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
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
тАО09-08-2009 07:31 PM
тАО09-08-2009 07:31 PM
Kernel tuning
Can you guys please help ?
I have problem in changing the kernel value as below.
MAXUSERS = 512
MAX_THREAD_PROC = 1024
NPROC = ((20+8*MAXUSERS)*2)
NCALLOUT = ((16+NKTHREAD)*5)
SEMNS = 4109
MAXFILES_LIM = 4096
It always encountered errors as below.
ncallout >= nkthread
semmni <= semns
Attached kernel.zip includes the screenshot of error and current kernel values.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 07:58 PM
тАО09-08-2009 07:58 PM
Re: Kernel tuning
I have seen the screen shot, there is clearly show that you are defining wrong parameter those are not in system.
You can change within existing parameter.
But there should be option for Customization.
Regards,
Gokul Chandola
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2009 08:06 PM
тАО09-08-2009 08:06 PM
Re: Kernel tuning
The system now is not allow me to change.
Any idea how to proceed further ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 04:03 AM
тАО09-09-2009 04:03 AM
Re: Kernel tuning
There are a number of parms that are generated by an associated calculation that depends on the value of another parm.
If you wish, you can change that by setting the values yourself and removing the "calculation" for those parms. But here's the trick....you have to read the parms description and find out what parm affects another parm and change them in order. Confusing at times.
Example your ncallout >= nkthread
If you look at nkthread it says:
nkthread >= nproc +100
nkthread >= max_thread_proc
..and let's not forget that nproc has more than one parm that it affects, but nproc's may not be nkthread or ncallout.
So you need to adjust nproc first (personally I set these manually and also manually reset the parms it affects, but it's your choice to stick with the calcs) to what value you want. But bear in mind to make sure that what you set it to will allow you to set nkthread so it will be > greater than or = equal to ncallout.
Similar on the semaphore parms...you need to change the leading parm. For semaphores you will note that semmns and semmni have that close relationship. semmns must be greater than semmni. So if your going up in numbers make sure semmns is greater than semmni and change semmns first. If your reducing...than switch and do semmni first and then adjust the other accordingly.
Read the description on maxusers and nproc and again decide to go with calc or change manually and set accordingly.
I hope this made some sense and I didn't typo too much. Probably the best advice I can give is to ask your employer to let you take a course on Performance & Tuning. It really helps.
Regards,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 05:50 AM
тАО09-09-2009 05:50 AM
Re: Kernel tuning
Go to SAM > Kernel Configuration > Configurable Parameters
to see if your adjusted parameters are available ? if yes right click on to mouse and Modify Configurable Parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 06:55 PM
тАО09-09-2009 06:55 PM
Re: Kernel tuning
Thanks for those valued comments thus far.
But just one question again, since as we know kernel tuning could be done by using sam.
Is there anyway to modify /stand/system and run command to perform kernel compile ?
If it work, could eliminate of lot errors and time saving.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2009 07:26 PM
тАО09-09-2009 07:26 PM
Re: Kernel tuning
Answer to you above Question simple . Please try in the devlopment box than proceed to the live server.
Below are steps I usual follow with out SAM
Best Recomdation from my Expereince "SAM"
Procedures for Kernel Parameter changes
====================================
# cd /stand
# cp system system.prev.<050112>
# cp vmunix vmunix.prev.<050112>
# cd /stand/build
# /usr/lbin/sysadm/system_prep -s /stand/build/system
# vi /stand/build/system (....edit the file to make the necessary changes --> e.g. "max_thread_proc 3072")
# /usr/sbin/mk_kernel -s /stand/build/system
# mv system /stand/system
# /usr/sbin/kmupdate
Kernel update request is scheduled.
Default kernel /stand/vmunix will be updated by
newly built kernel /stand/build/vmunix_test
at next system shutdown or startup time.
HTH,
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 12:26 AM
тАО09-10-2009 12:26 AM
Re: Kernel tuning
Thanks for your input. It really helps me to resolve the problem. Very much appreciated.
Have a good day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-10-2009 12:38 AM
тАО09-10-2009 12:38 AM