HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

kernal parameter need to be tune

 
Viney Kumar
Regular Advisor

kernal parameter need to be tune

Hi all

i need to tune the some kernal perameter on HP-UX 11.11
dbc_max_pct
dbc_min_pct
maxswapchunks

pls share steps for it and wht step we need to take percautionaly

thanks
6 REPLIES
Mel Burslan
Honored Contributor

Re: kernal parameter need to be tune

your best bet is to use sam. Go to kernel parameters and drivers menu item from the main menu and the selection should be self explanatory.

Make sure you understand, after you make these kernel changes, your system will reboot. If this is a production server, you might want to check with people if a reboot is accaptable before you commit to it.
________________________________
UNIX because I majored in cryptology...
Steven E. Protter
Exalted Contributor

Re: kernal parameter need to be tune

Shalom,

The first two parameters are the high and low figures fore the buffer cache. The last controls how much swap your system can use.

All three are not listed as dynamic kernel parameters and therefore require a compile of the kernel and reboot.

kmtune -l

# lists them.

kmtume also permits you to set up changes.

You can also use sam kernel menu to set up and guide you through changes.

If this is oracle, the buffer cache being high does not benefit you at all. I generally set these to 5 and 7 on an oracle server, and have recently played with the concept of setting them the same.

It is very expensive in terms of system CPU time for the system to change the buffer cache. Its better to set it and forget it unless your system will benefit from a different figure, which should be a conscious decision of a systems administrator.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sharma Sanjeev
Respected Contributor

Re: kernal parameter need to be tune

Hi Vinay

Please use SAM if you are not familier with Command line.SAM will recompile Kernal & as these are static pearemeters so requires reboot

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
Ganesan R
Honored Contributor

Re: kernal parameter need to be tune

Hi,

I would also recommand to use SAM to change these kernel parameters. If you still need the commands to do it, follow these steps.

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# kmtune -s dbc_max_pct=value -S system
# kmtune -s dbc_min_pct=value -S system
# kmtune -s maxswapchunks=value -S system
# mk_kernel -s system
# mv /stand/system /stand/system.prev
# mv /stand/build/system /stand/system
# kmupdate
# shutdown -ry 0
Best wishes,

Ganesh.
Vishu
Trusted Contributor

Re: kernal parameter need to be tune

I also recommend going through SAM, if not familiar with the command-line.

If not, then Ganesan has pasted the exact procedure to follow.
Mel Burslan
Honored Contributor

Re: kernal parameter need to be tune

additional comment to my previous posting:

I you are asking how to change a kernel parameter, I'd strongly suggest you DO NOT use the command line method. sam provides additional error checking, protecting you against trivial errors like a mistyped or forgotten character etc.
________________________________
UNIX because I majored in cryptology...