Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Using rmdb to assess resource utilization

The command line utility, rmdb(1) can be used to assess resource utilization and channel status.

The -C option of rmdb dumps the contents of the channel table maintained by the RM driver. Use rmdb -C48,51 from the command line to show a dump of channels 48 and 51. The "Allocated List'' and "Pending List'' columns are of particular importance to resource allocation. This example shows that channel 48 is pending on a play resource while channel 51 has a play resource allocated.

Channel table:
48 : ownDev 11 type 1 ownQ 119
defOwn 35801 deferPid -1 pendingForce 0 pendingForceDev 0
profile ptr 0xd140600 work 0x00000000
timerID 397267 nTimers 1
Allocated List: empty
Restricted List: empty
Pending List:
SP_PLAY(0) tag 0x1 card -1 allocNo 0x0 next 0x0
Change Own Pending List: empty
Context stack: size: -1 pointer 0x0
Uninitialized context stack
51 : ownDev 10 type 1 ownQ 120
defOwn 35801 deferPid -1 pendingForce 0 pendingForceDev 0
profile ptr 0xd1403000 work 0x00000000
timerID 397020 nTimers 1
Allocated List:
SP_PLAY(2) tag 0xfeed card 4 allocNo 0x20000 next 0x0
Restricted List: empty
Pending List: empty
Change Own Pending List: empty
Context stack: size: -1 pointer 0x0
Uninitialized context stack

rmdb also can be used to check the resource utilization of speech resources. The following example uses rmdb -c14 from the command line to show a dump of the card table maintained by the RM driver. Of interest here are the Saturated, Highwater, and Current usage vectors and the usage vectors for the resources such as SP_WW_RECOG and SP_PLAY.

rmdb -c 14

Card table:

14 : MTC_INSERV 2 0x00000000

0 "SP_RECORD " [83 0 0 0 ] [ 0/0 /120]

1 "SP_ECHOCAN " [150 0 0 0 ] [ 0/0 /60]

2 "SP_PLAY " [83 0 0 0 ] [ 0/0 /120]

3 "SP_TTS " [166 0 0 0 ] [ 0/0 /60]

4 "SP_WW_RECOG " [600 0 0 0 ] [ 0/0 /15]

5 "SP_CELPCODE " [166 0 0 0 ] [ 0/0 /60]

Saturated : [10000 10000 10000 10000 ]

High Water : [0 0 0 0 ]

Current : [0 0 0 0 ]

Allocation # : 0x0 0x0 0x0 0x0

Speech resources are complex resources made up of multiple hardware and software components. Utilization of speech resources by a function cannot be described with a single value. Usage vectors allow for the description of speech resource functional usage across multiple components. For the purposes of practical guidance in understanding the data provided with rmdb -c, think of the usage vector as abstract components of the speech resources. Each function uses some number of units from each of the four components. For example, SP_PLAY uses 208 units of components 1 and 4 and 0 units of components 2 and 3.

The Saturated vector shows how many units of each component are available on the speech resource. The High Water vector shows the highest level of utilization the card has had since it was put in service. The Current vector shows the current level of utilization.

Administrators may check this data periodically or when experiencing load related problems to assess the level of speech resource utilization and potential for delayed resource allocation.

© 2006 Avaya Inc. All Rights Reserved.