Operating System - HP-UX
1846054 Members
2161 Online
110253 Solutions
New Discussion

Create a Tuneable Parameter Set

 
SOLVED
Go to solution
Ray Evans
Advisor

Create a Tuneable Parameter Set

This link got me going towards setting tuneable parameters via SAM, http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=855045

My next question is can I create my own tunaeble parameter set? Can I modify those that are included with SAM? If either answer is yes, where are the parameter sets located on the file system?
7 REPLIES 7
Devender Khatana
Honored Contributor

Re: Create a Tuneable Parameter Set

Hi,

Once you have changed your parameters you can print the parameters to a file from SAM->Kernel Configuration->Configurable Parameters-File->print->File and Give target path.

On the host where you want to appy these parameters you can do

SAM->Kernel Configuration->Configurable Parameters->Action->Templates->load a template file and Apply template values.

It will change all parameters in one go.

HTH,
Devender
Impossible itself mentions "I m possible"
Ray Evans
Advisor

Re: Create a Tuneable Parameter Set

How do you go about creating the template file? Is there a man page I can look for?
Robert Bennett_3
Respected Contributor
Solution

Re: Create a Tuneable Parameter Set

This is how we do it.

First create a file of tuned kernel parameters - example below:

11.00 tuned kernel parameters
#
# Format:
# 1st line = title of tuned parameter set
#
# Lines or words (delimited by white space) beginning with # are comments.
#
# Blank lines are ignored.
#
# Parameter defs can take either of two forms:
# 1. parameter min max
# The parameter's value must fall into the range of min-max,
# inclusive. If parameter is less than min, it is raised to
# min; if greater than max, it is lowered to max. Otherwise
# it is left unchanged.
#
# Min and/or max can be "--" (two dashes), indicating there is no
# corresponding lower and/or upper bound, respectively.
#
# Min and/or max can be arithmetic formulas, and can reference
# other parameters. Any parameters referenced in a formula must
# already be defined earlier in the parameter set. No white
# space may occur within a formula. Parentheses are recognized
# and can be nested.
#
# 2. parameter value
# The parameter's value will be set to the value given. Value
# can be an arithmetic formula as described above.
#

STRCTLSZ 0
STRMSGSZ 65535
maxusers 124
nproc 1024
bufpages 0
nbuf 0
dbc_min_pct 4
dbc_max_pct 10
maxfiles 200
maxfiles_lim 2048
nfile 2800
nflocks (nproc)
ninode 15000
msgtql (nproc*10)
msgmap (msgtql+2)
add as needed ...

Second - copy this file to /usr/sam/lib/kc/tuned

Third - apply using sam

Hope this helps

B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
Ray Evans
Advisor

Re: Create a Tuneable Parameter Set

Robert -

Thanks for the info, this is definately what I am looking for. But being the conservative folk that I am and not having a development box available, is there any additional documentation that I can reference for guidance?

Ray
Robert Bennett_3
Respected Contributor

Re: Create a Tuneable Parameter Set

well that's a how-to on creating a tunable parameter set. The research on what values to make the paramters is the real question - and the real answer is - it depends.

I'm being vague on purpose - as it depends on so many different variables (application, OS, memory, cpu ...)

This is the best document I could direct you to answer those types of questions.
It's called the HP-UX Performance Cookbook.

http://www.peoplesoft-hp.com/salestools/whitepapers/%5Bfiles%5D/Technical/HPUX%20Performance%20Cookbook.pdf

Hope this helps

B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean
Ray Evans
Advisor

Re: Create a Tuneable Parameter Set

What happens if a value is not specified? The default or previous setting remains?
Robert Bennett_3
Respected Contributor

Re: Create a Tuneable Parameter Set

yes - this is a list of specified values to change - nothing else will change - unless another parameter is a formula using the chnaged value, then that value will change accordingly.

I looked for documentation on creating a tuneable parameter set, but couldn't find anything published. I've been using that how-to for 10.20, 11.00 and 11i without any problems.

Hope it helps

B
"All there is to thinking is seeing something noticeable which makes you see something you weren't noticing which makes you see something that isn't even visible." - Norman Maclean