Operating System - HP-UX
1835259 Members
2460 Online
110078 Solutions
New Discussion

Re: Default Kernel parameter values?

 
SOLVED
Go to solution
sudhapage
Regular Advisor

Default Kernel parameter values?

Hi all,

I want to know, all the default kernel parameter values of hpux 11.11(after fresh installation).

Please provide the same.

Regards,
Sudhakaran.K
7 REPLIES 7
Victor Fridyev
Honored Contributor

Re: Default Kernel parameter values?

If you have such a computer, run
#>kmtune
and you get them, otherwise you can see the parameters in SAM, in Kernel Parameters/Apply Tuned Parameter Set

HTH
Entities are not to be multiplied beyond necessity - RTFM
Steven E. Protter
Exalted Contributor

Re: Default Kernel parameter values?

Shalom,

Here is off a freshly installed system.

Parameter Current Dyn Planned Module Version
===============================================================================
NSTRBLKSCHED - - 2
NSTREVENT 50 - 50
NSTRPUSH 16 - 16
NSTRSCHED 0 - 0
STRCTLSZ 1024 - 1024
STRMSGSZ 65535 - 65535
acctresume 4 - 4
acctsuspend 2 - 2
aio_listio_max 256 - 256
aio_max_ops 2048 - 2048
aio_physmem_pct 10 - 10
aio_prio_delta_max 20 - 20
allocate_fs_swapmap 0 - 0
alwaysdump 0 - 0
bootspinlocks - - 256
bufcache_hash_locks 128 - 128
bufpages 0 - (NBUF*2)
chanq_hash_locks 256 - 256
core_addshmem_read 0 Y 0
core_addshmem_write 0 Y 0
create_fastlinks 0 - 0
dbc_max_pct 15 - 15
dbc_min_pct 2 - 2
default_disk_ir 0 - 0
desfree - - 0
disksort_seconds 0 - 0
dmp_rootdev_is_vol 0 - 0
dmp_swapdev_is_vol 0 - 0
dnlc_hash_locks 64 - 4*16
dontdump 0 - 0
dskless_node - - 0
dst 1 - 1
effective_maxpid - - ((NPROC<=30000)?30000:(NPROC*5/4))
eisa_io_estimate - - 0x300
enable_idds 0 - 0
eqmemsize 15 - 15
executable_stack 1 - 1
fcp_large_config 0 - 0
file_pad - - 10
fs_async 0 - 0
ftable_hash_locks 64 - 64
hdlpreg_hash_locks 128 - 128
hfs_max_ra_blocks 8 - 8
hfs_max_revra_blocks 8 - 8
hfs_ra_per_disk 64 - 64
hfs_revra_per_disk 64 - 64
hp_hfs_mtra_enabled 1 - 1
hpux_aes_override - - 0
initmodmax 50 - 50
io_ports_hash_locks 64 - 64
iomemsize - - 40000
ksi_alloc_max 16384 - (NPROC*8)
ksi_send_max 512 - 512
lotsfree - - 0
max_async_ports 50 - 50
max_fcp_reqs 512 - 512
max_mem_window 0 - 0
max_thread_proc 256 - 256
maxdsiz 0x10000000 - 0X10000000
maxfiles 256 - 256
maxfiles_lim 1024 Y 1024
maxqueuetime - - 0
maxssiz 0x800000 - 0x00800000
maxswapchunks 512 - 512
maxtsiz 0x40000000 Y 0X40000000
maxuprc 512 Y 512
maxusers 32 - 32
maxvgs 10 - 10
mesg 1 - 1
minfree - - 0
modstrmax 500 - 500
msgmap 258 - (2+MSGTQL)
msgmax 8192 Y 8192
msgmnb 16384 Y 16384
msgmni 128 - 128
msgseg 2048 - 2048
msgssz 8 - 8
msgtql 256 - 256
nbuf 0 - 0
ncallout 4096 - 4096
ncdnode 150 - 150
nclist 612 - (100+16*MAXUSERS)
ncsize 4688 - (NINODE+VX_NCSIZE)+(8*DNLC_HASH_LOCKS)
ndilbuffers 256 - 256
netisr_priority - - -1
netmemmax - - 0
nfile 4096 - 4096
nflocks 1024 - 1024
nhtbl_scale 0 - 0
ninode 3152 - ((NPROC+16+MAXUSERS)+32+(2*NPTY))
nkthread 3600 - (((NPROC*7)/4)+16)
nni - - 2
no_lvm_disks 0 - 0
nproc 2048 - 2048
npty 512 - 512
nstrpty 512 - 512
nstrtel 512 - 512
nswapdev 10 - 10
nswapfs 10 - 10
nsysmap 4096 - ((NPROC)>800?2*(NPROC):800)
o_sync_is_o_dsync 0 - 0
page_text_to_local - - 0
pfdat_hash_locks 128 - 128
public_shlibs 1 - 1
region_hash_locks 128 - 128
remote_nfs_swap 0 - 0
rtsched_numpri 32 - 32
scroll_lines 100 - 100
scsi_max_qdepth 8 Y 8
scsi_maxphys 1048576 - 1048576
select_enh 0 Y 0
sema 1 - 1
semaem 16384 - 16384
semmap 514 - (SEMMNI+2)
semmni 512 - 512
semmns 3072 - 3072
semmnu 512 - 512
semmsl 2048 Y 2048
semume 512 - 512
semvmx 32767 - 32767
sendfile_max 0 - 0
shmem 1 - 1
shmmax 0x40000000 Y 0X40000000
shmmni 512 - 512
shmseg 144 Y 144
spread_UP_drivers - - 1
st_ats_enabled 0 - 0
st_fail_overruns 0 - 0
st_large_recs 0 - 0
st_san_safe 0 - 0
streampipes 0 - 0
swapmem_on 1 - 1
swchunk 2048 - 2048
sysv_hash_locks 128 - 128
tcphashsz 0 - 0
timeslice 10 - (100/10)
timezone 420 - 420
unlockable_mem 50 - 50
vas_hash_locks 128 - 128
vnode_cd_hash_locks 128 - 128
vnode_hash_locks 128 - 128
vol_checkpt_default 10240 - 10240
vol_dcm_replay_size 262144 - (256*1024)
vol_default_iodelay 50 - 50
vol_fmr_logsz 4 - 4
vol_max_bchain 32 - 32
vol_max_nconfigs 20 - 20
vol_max_nlogs 20 - 20
vol_max_nmpool_sz 4194304 - (4*1024*1024)
vol_max_prm_dgs 1024 - 1024
vol_max_rdback_sz 4194304 - (4*1024*1024)
vol_max_vol 8388608 - (8*1024*1024)
vol_maxio 256 - 256
vol_maxioctl 32768 - 32768
vol_maxkiocount 2048 - 2048
vol_maxparallelio 256 - 256
vol_maxspecialio 256 - 256
vol_maxstablebufsize 256 - 256
vol_min_lowmem_sz 524288 - (512*1024)
vol_mvr_maxround 256 - 256
vol_nm_hb_timeout 10 - (10)
vol_subdisk_num 4096 - 4096
vol_vvr_transport 1 - (1)
vol_vvr_use_nat 0 - (0)
volcvm_cluster_size 16 - 16
volcvm_smartsync 1 - 1
voldrl_max_drtregs 2048 - 2048
voldrl_min_regionsz 512 - 512
voliomem_chunk_size 65536 - (64*1024)
voliomem_maxpool_sz 4194304 - (4*1024*1024)
voliot_errbuf_dflt 16384 - 16384
voliot_iobuf_default 8192 - 8192
voliot_iobuf_limit 131072 - 131072
voliot_iobuf_max 65536 - 65536
voliot_max_open 32 - 32
volraid_rsrtransmax 1 - 1
vps_ceiling 16 - 16
vps_chatr_ceiling 1048576 - 1048576
vps_pagesize 4 - 4
vx_fancyra_enable 0 - 0
vx_maxlink 32767 - 32767
vx_ncsize 1024 - 1024
vol_vvr_use_nat 0 - (0)
volcvm_cluster_size 16 - 16
volcvm_smartsync 1 - 1
voldrl_max_drtregs 2048 - 2048
voldrl_min_regionsz 512 - 512
voliomem_chunk_size 65536 - (64*1024)
voliomem_maxpool_sz 4194304 - (4*1024*1024)
voliot_errbuf_dflt 16384 - 16384
voliot_iobuf_default 8192 - 8192
voliot_iobuf_limit 131072 - 131072
voliot_iobuf_max 65536 - 65536
voliot_max_open 32 - 32
volraid_rsrtransmax 1 - 1
vps_ceiling 16 - 16
vps_chatr_ceiling 1048576 - 1048576
vps_pagesize 4 - 4
vx_fancyra_enable 0 - 0
vx_maxlink 32767 - 32767
vx_ncsize 1024 - 1024
vx_ninode 0 - 0
vxfs_max_ra_kbytes 1024 - 1024
vxfs_ra_per_disk 1024 - 1024
vxtask_max_monitors 32 - 32


This system is almost virgin.

dbc_mac_pct usually defaults to 50.

These figures may vary due to installation choices and what Core OS version you chose.

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
marvik
Regular Advisor

Re: Default Kernel parameter values?

Try running this command and u will get the info

sysdef kernel
sudhapage
Regular Advisor

Re: Default Kernel parameter values?

I am able to get all the kernel values of currently running system, my question is i want to know all the default kernel parameters values of HPUX11.11.

Regards,
Sudhakaran.K
Bill Hassell
Honored Contributor

Re: Default Kernel parameter values?

The default values vary depending on the version of HP-UX you are running. There are two versions of 11.11, version 1 and version 2. The default values are not of much use since they must be adjusted for each system, and many are simply out of line with normal systems (like dbc_max_pct and nfile) or they are not simple values but are instead a formula, usuually based on maxusers, a dummy value to size parameters.


Bill Hassell, sysadmin
Rita C Workman
Honored Contributor

Re: Default Kernel parameter values?

Sudhapage,

As Mr. Hassell mentioned dbc_max_% & dbc_min_%. You set this based on the memory on your box. Everyone might be a bit different, but for 11.11 boxes with 8Gb of mem, I set mine to 7 to 10 for max and 5 for min. For smaller systems you need about 350mb, for larger up to 750-800mb. Some folks like a little more.

When you change the maxusers, alot of parms get changed to high values that aren't 'good', IMHO.

Example ninode.....I reduce mine to multiples of 1024. So start with 1024 or 2048. Then tune from there. ninode creates a rollover table for inodes, and the formulae creates a larger than needed value.
You can reduce things like nfile and nproc as well as you monitor and tune.
For these 2 (ninode,nfile,nproc) just use sar -v 1 10 throughout day at different times & when things are busy. The figure on left is what is being used/figure on right is what parm is set at. See what you can reduce.
vx_ninode is another one that I don't leave to default of "0". Again depending on memory. For our 8Gb systems I set mine to something around 20,000-40,000. And that is probably more than is needed. But leaving it to "0" according to Stephen Cuillo (not sure of spelling) creates a large table that is just taking up space doing. Like dbc_max_%...takes more than it needs.
For things like semaphores, you can do a search here and review the comments from many sources to help you.

You didn't give anyone much to go on, so these are just some thoughts.....the best advice I ever heard about tuning is this:
...it's as much an art, as a science....

So tune small, review/monitor, tune again and again, till you get it just the way you want. Remember, sar is a great little tool - use it.

Regards,
Rita
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: Default Kernel parameter values?

Sudpapage,

In this link you will find a list of tunable kernel parameters,

If you click on each one of them it will show you the default value for each of them, also taking a look at the fresh installation given above is a good approach since they have not being modify.

http://docs.hp.com/en/939/KCParms/KCparams.OverviewAll.html

Regards,

jaime.
Work hard when the need comes out.