Priority of LMS in HP-UX
Dear all,
I want to know what should be normally the priority of GCS's LMSn in HP-UX?
From RAC FAQs on metalink, it says:
LMS processes should be running in RT by default since 10.2, so there's NO need to renice them, or otherwise mess with them. On linux, LMSn has priority 58 (SCHED_RR) as per example.
We have also 10gR2 RAC in our setup on HP-UX 11i v3.
SQL> select banner from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bi
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for HPUX: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
Now, if I look at priority of LMSn processes, it states it is 216, as shown below:
$ps -efl | grep -v grep | grep ora_lms*
1401 S oracle 5188 1 0 154 20 e0000004a0a8b380 50256 e00000018144e0c0 Aug 4 ? 1:21 ora_lmon_orcl1
1401 S oracle 5194 1 0 216 20 e0000004a07faa00 48652 e00000018144e100 Aug 4 ? 1:42 ora_lms1_orcl1
1401 S oracle 5192 1 0 216 20 e0000004a0a8b980 48656 e00000018144e140 Aug 4 ? 1:53 ora_lms0_orcl1
1401 S oracle 5190 1 0 154 20 e0000004a0566980 48656 e00000018144e0c0 Aug 4 ? 1:47 ora_lmd0_orcl1
From http://download.oracle.com/docs/cd/B19306_01/server.102/b15658/appb_hpux.htm#i636964, I have following:
$/usr/bin/getprivgrp dba
dba: RTPRIO MLOCK RTSCHED
SQL> show parameter HPUX_SCHED_NOAGE
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
hpux_sched_noage integer 0
From HP documentation, SCHED_TIMESHARE priorities are grouped as follows:
• Real-time priority thread: range 0-127
• Time-share priority thread: range 128-255
• System-level priority thread: range 128-177
• User-level priority thread: range 178-255
RTSCHED priority queues are one priority wide; timeshare priority queues are four priorities wide.
So, my question is what should be priority of LMSn and whether it is changed by Oracle during its operations.
ps. BTW, what is equivalent of Linux chrt command in HP-UX?
Br,
--
Anjum