1748216 Members
3368 Online
108759 Solutions
New Discussion юеВ

Re: Kernel tuning

 
Abhilash Krishnan
Frequent Advisor

Kernel tuning

I want to tune kernel parameter in my PA-RISC(11.11) and Itanium servers (11.23).i want to do it thriugh the command line can any one share the steps for the same

Regards
biju
8 REPLIES 8
Oviwan
Honored Contributor

Re: Kernel tuning

Hi

For 11.11 you can use:
#kmtune

and 11.23

#kctune

regards
Wouter Jagers
Honored Contributor

Re: Kernel tuning

Hiya,

On 11.11 you can use the kmtune command:

# kmtune -q param # to check
# kmtune -s param=value # to set

On 11.23 and up you can use kctune:

# kctune param # to check
# kctune param=value # to set

Check the man pages of kmtune and kctune for more detailed info.

Cheers,
Wout
an engineer's aim in a discussion is not to persuade, but to clarify.
sreekanthtm
Trusted Contributor

Re: Kernel tuning

You can use the cmmnd "kmtune"

#kmtune -s =

There should not be space between the kernel tunable and the value.
look at # man kmtune for more details.

Rgds
Sreekanth

Re: Kernel tuning

The manuals make this stuff pretty clear... here's the docs for 11.23:

http://docs.hp.com/en/B2355-90950/ch03s11.html


And here for 11.11:

http://docs.hp.com/en/B2355-90950/ch03s10.html

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Frank de Vries
Respected Contributor

Re: Kernel tuning

When you want a quick check to see
your tuned values

usage: sysdef [kernel-file [master-file]]

bxud0021:/root/kitchen#sysdef

Look before you leap
twang
Honored Contributor

Re: Kernel tuning

Just for your reference,
for hp-ux 11.11,
kmtune -s shmmax=4294967296
kmtune -s semmns=4200
# system-wide number of processes limit (NPROC) or the per-user number of processes (MAXUPRC)
kmtune -s nproc=4200
kmtune -s maxuprc=800
# view parameter
kmtune -q shmmax
kmtune -q semmns
kmtune -q nproc
kmtune -q maxuprc
# init.ora process=100

for hp-ux 11.23,
kctune nproc=4200
kctune dbc_min_pct=5
kctune dbc_max_pct=8
kctune ksi_alloc_max=nproc*8
kctune maxdsiz=1073741824
kctune maxdsiz_64bit=17179869184
kctune maxssiz=134217728
kctune maxssiz_64bit=1073741824
kctune maxswapchunks=16384
kctune maxtsiz=134217728
kctune max_thread_proc=1024
kctune maxfiles=6120
kctune maxfiles_lim=6120
kctune nfile=8192
kctune nflocks=4096
kctune ninode=34816
kctune semmap=4098
kctune nkthread=7200
kctune msgtql=4096
kctune ncsize=34816
kctune msgmap=4098
kctune msgmni=4096
kctune msgmnb=65535
kctune msgmax=32768
kctune msgssz=65
kctune msgseg=32767
kctune semmnu=4092
kctune semvmx=32767
kctune semmns=8192
kctune semmni=4096
kctune shmmax=17179869184
kctune semaem=16384
kctune shmmni=512
kctune shmseg=300
kctune maxvgs=80
kctune nswapdev=25
kctune maxuprc=3687
kctune nstrpty=60
kctune vps_ceiling=64

Suraj K Sankari
Honored Contributor

Re: Kernel tuning

Hi Biju,

For PA-RISC(11.11) command is kmtune
ie:kmtune kval=value

for Itanium servers command is kctune
ie:kctune kval=value

Suraj
Abhilash Krishnan
Frequent Advisor

Re: Kernel tuning

Hi all ,

Thanks for all the reply's but i want to rebuild the new kernel from the command line itself, ie mk_kerneland kmupdate pls share the proper steps..

Thanks...
biju