Operating System - HP-UX
1834827 Members
2725 Online
110070 Solutions
New Discussion

Re: Tuning kernel parmeters for HPUX 11.0 Message Queues

 
SOLVED
Go to solution
Isaac Loven
New Member

Tuning kernel parmeters for HPUX 11.0 Message Queues

 
4 REPLIES 4
Michael Tully
Honored Contributor

Re: Tuning kernel parmeters for HPUX 11.0 Message Queues

Hi,

Here are some suggested parameters that we use
without any problems. No need to change the
'msgmap' formula.


msgmap (2+MSGTQL)
msgmax 32768
msgmnb 32768
msgmni 1024
msgseg 32766
msgssz 32
msgtql 4096

as root to build your kernel you use this
method or use 'sam'

# cd /stand/build
# /usr/lbin/sysadm/system_prep -s system
# vi system (make your changes as above)
save file

# /usr/sbin/mk_kernel -s system
# /usr/sbin/kmupdate

# cd /
# /sbin/shutdown -r -y 0

HTH
-Michael



Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: Tuning kernel parmeters for HPUX 11.0 Message Queues

Isaac,

The parameters related to IPC are to be adjusted according to the application needs.
For ex., tuxedo there is a command that gives
the required kernel parameters like "tmloadcf -c ubbconfig".

So, by default you don't need to change these values. Every application/software comes with it's own recommendations and we just need to implement them.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Isaac Loven
New Member

Re: Tuning kernel parmeters for HPUX 11.0 Message Queues

Which param directly relates to C-Bytes ?
Thanks
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Tuning kernel parmeters for HPUX 11.0 Message Queues

Isaac,

There is no kernel parameter that is directly related to C-BYTES. Ofcourse QBYTES is limited by msgmnb (max# of bytes on any one message queue). My understanding is that this limit is set by the process usig IPC_SET called through msgctl within the limit of msgmnb.

So, it's upto the application to use these parameters. If it has to create more number of messages you would increase msgtql value. If it requires to create more number of queues, you will increase msgmni. But most of the time you don't have to derive them yourself. The software specifications provide these values.

-Sri



You may be disappointed if you fail, but you are doomed if you don't try