Operating System - HP-UX
1753312 Members
5417 Online
108792 Solutions
New Discussion юеВ

Re: How to tune kernel for Oracle 9i on HP Ux

 
SOLVED
Go to solution

How to tune kernel for Oracle 9i on HP Ux

We have HP UX 11i with Oracle 9i with 2 Gb RAM. One Oracle database instance is running. Please help me to know what kernel parameters have to be tuned for this kind of setup?
6 REPLIES 6
Hein van den Heuvel
Honored Contributor

Re: How to tune kernel for Oracle 9i on HP Ux

Please use the Forum SEARCH function with 'more options' to select HP-ux (databases) lookinf for 'oracle and tuning or parameters. This question has been answerred over and over agains. Also, be sure to read up on the Oracle recommandations (metalink). After all that, if you have specific questions remaining then please reply back with further details and question sopecific to your special needs.

Good luck,
Hein.
Joseph Loo
Honored Contributor
Solution

Re: How to tune kernel for Oracle 9i on HP Ux

hi,

do you happen to have access to Oracle Metalink? if so, refer to Document ID: 169706.1

if not, an extract of the kernel parameters for HP-UX 11.11 running 9.2.0 are :

KSI_ALLOC_MAX (NPROC*8)
MAX_THREAD_PROC 256
MAXDSIZ 1073741824 bytes
MAXDSIZ_64BIT 2147483648 bytes
MAXSSIZ 134217728 bytes
MAXSSIZ_64BIT 1073741824
MAXSWAPCHUNKS 16384
MAXUPRC ((NPROC*9)/10)
MSGMAP (MSGTQL+2)
MSGMNI NPROC
MSGSEG 32767
MSGTQL NPROC
NCALLOUT (NKTHREAD+16)
NCSIZE ((8*NPROC+2048)+VX_NCSIZE)
NFILE (15*NPROC+2048)
NFLOCKS 4096
NINODE (8*NPROC+2048)
NKTHREAD (((NPROC*7)/4)+16)
NPROC 4096
SEMMAP (SEMMNI+2)
SEMMNI 4096
SEMMNS (SEMMNI*2)
SEMMNU (NPROC - 4)
SEMVMX 32768
SHMMAX AvailMem
SHMMIN 1
SHMMNI 512
SHMSEG 32
VPS_CEILING 64

regards.
(p.s. some points would be appreciated.)
what you do not see does not mean you should not believe
Steven E. Protter
Exalted Contributor

Re: How to tune kernel for Oracle 9i on HP Ux

Thats enough memory to run Oracle 9i just fine.

You probably want to have between 3 and 4 gb of swap to allow you to maximize shared memory.

shmmax can go up to 25% of memory which is defined as RAM plus swap

If you do an itrc search you'll see i've posted my working kernels as well. Mine also take ias and ias 10G into account. If this thread is still current, I'll upload one in the a.m.

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
isaac_loven
Frequent Advisor

Re: How to tune kernel for Oracle 9i on HP Ux

Set "Dynamic Buffer Cache Size as Percent of System RAM" low otherwise all the data will be held in o/s cache and not written to disk. ( Let oracle do the caching - not the os filesystem )
try:
dbc_max_pct 10
dbc_min_pct 5
or even less. That way u will have more mem to allocate the databases.

Also use glance to see if your sys tables are big enough.
enjoy, Isaac
Geoff Wild
Honored Contributor

Re: How to tune kernel for Oracle 9i on HP Ux

Here's parameters we use for a "standard build":

APPENDIX E - Kernel Parameters

Parameter Value Description
MAXVG 256 Maximum number of volume groups
MAXFILES 2048 Soft limit on how many files a single process can have opened or locked at any given time.
NFILE 4096 Maximum number of files that can be open simultaneously on the system at any given time.
NINODE 20000 Maximum number of open inodes that can be in memory.
MSGSEG 4096 Maximum number of message segments that can exist on the system.
NPROC 1024 Defines the maximum number of processes that can be running simultaneously on the entire system, including remote execution processes initiated by other systems via remsh or other networking commands.
SHMMAX 1073741824 Maximum allowable shared memory segment size (in bytes).
SHMMNI 100 Maximum number of shared memory segments allowed on the system at any given time.
SEMMNS 500 Maximum number of individual IPC semaphores available to system users, system-wide.
SHMSEG 10 Maximum number of shared memory segments that can be attached simultaneously to any given process.
DBC_MAX_PCT 10 Maximum percentage of memory for dynamic buffer cache (should be between 350 and 600 MB)
NPTY 256 Pseudo terminals
NSTRPTY 256 Max Number of Streams-Based PTYs
MAX_THREAD_PROC 256

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Emilio Brusa
Frequent Advisor

Re: How to tune kernel for Oracle 9i on HP Ux

Maybe this document can help you..they are parameters of special tunning for hpux and their relationship with Oracle

E.