Job Management Partner 1/Performance Management - Agent Option for Platform Description, User's Guide and Reference
Memory requirements change according to the settings and usage of PFM - Agent for Platform.
- Organization of this subsection
- (1) Formula for estimating memory
- (2) Example of estimating memory requirements
(1) Formula for estimating memory
You can use the following formula to roughly estimate the memory requirements for PFM - Agent for Platform.
PFM - Agent for Platform memory requirements = A + B
- Legend:
- A: Memory requirements in initial status
- The memory requirements for A are listed in the following table:
Table A-1 Memory requirements in initial status
Status of PFM - Agent for PlatformMemory requirements (units: MB) HP-UX Solaris AIX Linux (x86), Linux (x64) Linux (IPF) Operation in the initial status# 25 45 40 35 120
- #
- The required memory includes the portion for the PI type record history collection.
- B: Increment in the memory requirements necessary for record collection
- B is computed as follows:
- B = (C1 + D11..... + D1m) + ..... (Cn +Dn1 ..... + Dnm)
- C: Common memory requirements by system resource type
- D: Memory requirements unique to record
- m: Number of collected records
- n: Number of system resource types
- The memory requirements indicated by C are shown in the following table.
Table A-2 Common memory requirements by system resource type
System resource type Record Memory requirements (units: KB) HP-UX Solaris AIX Linux (x86), Linux (x64) Linux (IPF) CPU CPU - Per Processor Detail (PI_CPUP) 176 136 260 64 240 System System Summary Overview (PI) 3,136 224 264 206 336 Device Device Detail (PI_DEVD)
Device Summary (PI_DEVS)101 x Nd# 60 x Nd# 80 x Nd# + 64 57 x Nd# + 22 57 x Nd# + 136 Network Network Interface Detail (PI_NIND)
Network Interface Summary (PI_NINS)0 32 30 60 120 File system File System Detail - Local (PD_FSL)
File System Detail - Remote (PD_FSR)256 35 41 29 96 Process Application Summary (PD_APP)
Process Detail (PD)
Process Detail Interval (PD_PDI)
Process Summary (PD_PDS)
Program Summary (PD_PGM)
Terminal Summary (PD_TERM)
User Summary (PD_USER)
Workgroup Summary (PI_WGRP)482 x Np# + 766 440 x Np# + 144 594 x Np# + 288 244 x Np# + 368 385 x Np# + 471 User category User Data Detail (PD_UPD) 39 199 45 213 418 User Data Detail - Extended (PD_UPDB) 447 299 80 500 632 User Data Interval (PI_UPI) 312 1,266 256 0 388 User Data Interval - Extended (PI_UPIB) 348 1,156 96 492 704 Log Logged Messages (PL_MESS) 32 40 156 -- --
- Legend:
- --: Not applicable
- #
- The formulas used to compute Nd and Np are shown in the following table.
Table A-3 Nd and Np computation method
Type Computation method Command HP-UX Solaris AIX Linux (x86), Linux (x64) Linux (IPF) Nd Divide the number of disk devices returned by the commands shown on the right by 100. ioscan -fnC disk iostat -x iostat -d interval-count iostat -d iostat -d Np Divide the number of processes returned by the commands shown on the right by 100. ps -ef ps -ef ps -A ps -ef ps -ef - D is computed as follows:
- D = E + F + G
- E: Fixed memory requirements for the record
- F: Memory requirements for incrementing when the record history is collected
- G: Memory requirements for incrementing when the record is collected in real time (this value does not depend on the number of real-time reports displayed)
- The memory requirements for D are listed in the following table.
Table A-4 Memory requirements unique to record
Record Type of increment Memory requirements (units: KB) HP-UX Solaris AIX Linux (x86), Linux (x64) Linux (IPF) Application Summary (PD_APP) Fixed 2,610 392 3,184 1,355 1,728 Historical 767 0 308 398 709 Real-time 0 -351 0 0 0 CPU - Per Processor Detail (PI_CPUP) Fixed 176 136 260 64 240 Historical 0 0 0 0 0 Real-time 240 400 336 412 1,044 Device Detail (PI_DEVD) Fixed 97 x Nd#2 + 36 54 x Nd#2 + 528 20 x Nd#2 + 84 63 x Nd#2 + 52 90 x Nd#2 + 128 Historical 0 62 x Nd#2 - 440#1 49 x Nd#2 - 78#1 0 0 Real-time -1 x Nd#2 + 302#1 0 0 -41 x Nd#2 + 456#1 -62 x Nd#2 + 1,028#1 Device Summary (PI_DEVS) Fixed 16 35 x Nd#2 + 88 17 x Nd#2 + 44 4 x Nd#2 - 16#1 13 x Nd#2 + 150 Historical 0 0 -1 x Nd#2 + 34#1 0 0 Real-time 13 x Nd#2 + 368 -20 x Nd#2 + 440#1 0 -6 x Nd#2 + 396#1 -27 x Nd#2 + 928#1 File System Detail - Local (PD_FSL) Fixed 54 133 0 16 160 Historical 0 0 0 0 0 Real-time 618 440 165 480 928 File System Detail - Remote (PD_FSR) Fixed 558 309 249 698 1,120 Historical 0 0 0 0 0 Real-time 618 400 65 537 928 Logged Messages (PL_MESS) Fixed 32 100 156 -- -- Historical 0 0 0 -- -- Real-time 400 400 400 -- -- Network Interface Detail (PI_NIND) Fixed 436 250 0 12 250 Historical 0 0 0 0 0 Real-time 2,432 432 240 480 864 Network Interface Summary (PI_NINS) Fixed 432 144 0 12 112 Historical 0 0 0 0 0 Real-time 2,844 384 240 432 992 Process Detail (PD) Fixed 468 x Np#2 + 472 258 x Np#2 + 622 178 x Np#2 + 339 359 x Np#2 + 100 427 x Np#2 + 1,563 Historical 0 0 0 0 0 Real-time 78 x Np#2 - 348#1 327 x Np#2 - 180 550 x Np#2 - 29 12 x Np#2 + 149 211 x Np#2 - 843#1 Process Detail Interval (PD_PDI) Fixed 346 x Np#2 + 428 374 x Np#2 + 330 52 x Np#2 + 274 320 x Np#2 + 400 244 x Np#2 + 1,251 Historical 0 0 0 0 0 Real-time 80 x Np#2 - 544 168 x Np#2 - 159 312 x Np#2 + 38#2 104 x Np#2 - 294#1 120 x Np#2 - 1,065#1 Process Summary (PD_PDS) Fixed 520 x Np#2 - 288 680 x Np#2 - 33 248 x Np#2 + 394 300 x Np#2 + 352 336 x Np#2 + 720 Historical 768 x Np#2 - 272 450 x Np#2 + 111 399 x Np#2 - 726#1 218 x Np#2 + 408 406 x Np#2 + 768 Real-time 0 0 0 0 0 Program Summary (PD_PGM) Fixed 4 x Np#2 + 504 -14 x Np#2 + 602#1 -41 x Np#2 + 588#1 -30 x Np#2 + 366#1 -37 x Np#2 + 853#1 Historical 200 x Np#2 - 16 221 x Np#2 - 164 41 x Np#2
- 239#10 39 x Np#2 + 544 Real-time 0 0 0 42 x Np#2 - 180#1 0 System Summary Overview (PI) Fixed 3,136 224 264 206 336 Historical 0 0 0 0 0 Real-time 136 424 336 564 960 Terminal Summary (PD_TERM) Fixed -2 x Np#2 + 36#1 -14 x Np#2 + 510#1 -1 x Np#2 + 4#1 -14 x Np#2 + 162#1 -30 x Np#2 + 486#1 Historical 252 x Np#2 - 8 234 x Np#2 - 331 22 x Np#2 + 149 15 x Np#2 - 100#1 30 x Np#2 + 912 Real-time 0 0 0 0 0 User Data Detail (PD_UPD) Fixed 293 x Nu#2 169 x Nu 243 x Nu#2 111 x Nu#2 110 x Nu#2 Historical 0 0 0 0 0 Real-time 217 x Nu#2 167 x Nu#2 63 x Nu#2 133 x Nu#2 241 x Nu#2 User Data Detail - Extended (PD_UPDB) Fixed 373 x Nu#2 413 x Nu#2 576 x Nu#2 200 x Nu#2 216 x Nu#2 Historical 0 0 0 0 0 Real-time 285 x Nu#2 243 x Nu#2 74 x Nu#2 413 x Nu#2 378 x Nu#2 User Data Interval (PI_UPI) Fixed 256 x Nu#2 129 x Nu#2 282 x Nu#2 121 x Nu#2 124 x Nu#2 Historical 0 0 0 0 0 Real-time 176 x Nu#2 85 x Nu#2 2 x Nu#2 201 x Nu#2 253 x Nu#2 User Data Interval - Extended (PI_UPIB) Fixed 472 x Nu#2 447 x Nu#2 672 x Nu#2 220 x Nu#2 240 x Nu#2 Historical 0 0 0 0 0 Real-time 280 x Nu#2 101 x Nu#2 72 x Nu#2 111 x Nu#2 401 x Nu#2 User Summary (PD_USER) Fixed 250 x Np#2 + 28 -20 x Np#2 + 468#1 -1 x Np#2 + 45#1 1 x Np#2 - 9#1 -27 x Np#2 + 459#1 Historical 0 0 281 x Np#2 + 57 4 x Np#2 + 319 4 x Np#2 + 910 Real-time 2 x Np#2 - 20#1 236 x Np#2 - 150 0 0 0 Workgroup Summary (PI_WGRP) Fixed 254 x Np#2 + 60 -14 x Np#2 + 518#1 2 x Np#2 + 387 -6 x Np#2 + 545#1 -22 x Np#2 + 1,691#1 Historical 0 0 0 0 0 Real-time 534 x Np#2 - 312 644 x Np#2 + 27 674 x Np#2 - 256 227 x Np#2 - 366#1 375 x Np#2 - 981#1
- Legend:
- --: Not applicable
- #1
- Use 0 when the value is negative.
- #2
- Formulas used to compute Nd, Np, and Nu are shown below.
Table A-5 Nd, Np, and Nu computation method
Type Computation method Command HP-UX Solaris AIX Linux (x86), Linux (x64) Linux (IPF) Nd Divide the number of disk devices returned by the commands shown on the right by 100. ioscan -fnC disk iostat -x iostat -d interval-count iostat -d iostat -d Np Divide the number of processes returned by the commands shown on the right by 100. ps -ef ps -ef ps -A ps -ef ps -ef Nu Divide the number of specified instances for the user-defined record by 100. Not applicable Not applicable Not applicable Not applicable Not applicable
(2) Example of estimating memory requirements
The following shows how to estimate the memory requirements for the PD, PD_FSL, PD_PDI, PI, and PI_CPUP records when the OS is Solaris.
Memory requirements of PFM - Agent for Platform = A + B
- Obtaining the value of A
- Use Table A-1 to find the value of A, which is 30 MB.
- Obtaining the value of B
- B = (C1 + D11..... + D1m) + ... (Cn + Dn1 ..... + Dnm)
- C: Common memory requirements by system resource type
- D: Memory requirements unique to record
- m: Number of collected records
- n: Number of system resource types
- Obtaining the value of C
- Use Table A-2 to obtain the memory requirements based on the type of the target system resource. The following table shows the values obtained for this example.
Table A-6 Example of common memory requirements by system resource type
System resource type Record Value of C (units: KB) Value of n PD PD_FSL PD_PDI PI PI_CPUP File system -- Y -- -- -- 35 1 Process Y -- Y -- -- 440 x Np + 144 2 System -- -- -- Y -- 224 1 CPU -- -- -- -- Y 136 1 Correspondence between the C value and the record C1 C2 C1 C4 C5 -- --
- Legend:
- Y: Applicable
- --: Note applicable
- Obtaining the value of D
- Use Table A-4 to obtain the memory usages for records. The formula depends on the type of records to be collected as follows:
- Historical data only: D = E + F
- Real-time data only: D = E + G
- Historical and real-time data: D = E + F + G
- This example assumes that historical and real-time data is collected.
- The following table shows the values of E, F, and G for each record type.
Table A-7 Example of memory requirements unique to each record
Type of increment Record PD PD_FSL PD_PDI PI PI_CPUP E: Fixed 258 x Np + 622 133 374 x Np + 330 224 136 F: Historical 0 0 0 0 0 G: Real-time 327 x Np - 180 440 168 x Np - 159 424 400 Correspondence between the D value and the record D11 D21 D12 D31 D41 - The total value is computed as follows:
B = (C1 + D11..... + D1m) + ... (Cn + Dn1 ..... + Dnm) B = Total value for records whose system resource type is process + total value for records whose system resource type is file system + total value for records whose system resource type is system + total value for records whose system resource type is CPU B (KB) = (C1 + D11 + D12)#1 + (C2 + D21)#2 + (C3 + D31)#3 + (C4 + D41)#4
- #1
- The memory requirements for a process (the value of C1) + the memory requirements of PD (the value of D11) + the memory requirements of PD_PDI (the value of D12)
- #2
- The memory requirements for a file system (the value of C2) + the memory requirements of PD_FSL (the value of D21)
- #3
- The memory requirements for a system (the value of C3) + the memory requirements of PI (the value of D31)
- #4
- The memory requirements for a CPU (the value of C4) + the memory requirements of PI_CPUP (the value of D41)
Use the values of A and B in the following formula to obtain the memory requirements:
Memory requirements of PFM - Agent for Platform = A + B
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.