onstat -g vpcache CPU VP memory block cache statistics

If enabled, VP_MEMORY_CACHE_KB != 0, the onstat -g vpcache command displays information about CPU VP memory block cache statistics.


CPU VP memory block cache statistics - 4096 byte blocks

Number of 4096 byte memory blocks requested for each CPU VP:1024

vpid    pid         Blocks held  Hit percentage   Free cache
1       11202       946           95.9 %            88.0 %

Current VP total allocations from cache:     5816, Total frees:     6873

    size  cur blks   alloc      miss       free      drain
    1     21         2984       203        3460      455
    2     18         1095       22         1137      33
    3     6          548        11         568       18
    4     24         541        7          566       19
    5     180        324        0          567       207
    6     0          0          0          0         0
    7     0          0          0          1         1
    8     0          0          0          0         0
    9     36         0          2          4         0
    10    0          0          0          0         0
    11    0          0          0          0         0
    12    0          0          0          0         0
    13    0          0          0          0         0
    14    0          0          0          0         0
    15    0          0          0          0         0
    16    32         0          1          2         0
    17    629        324        0          568       207
    18    0          0          0          0         0
    19    0          0          0          0         0
    20    0          0          0          0         0
    21    0          0          0          0         0
    22    0          0          0          0         0
    23    0          0          0          0         0
    24    0          0          0          0         0
    25    0          0          0          0         0
    26    0          0          0          0         0
    27    0          0          0          0         0
    28    0          0          0          0         0
    29    0          0          0          0         0
    30    0          0          0          0         0
    31    0          0          0          0         0
    32    0          0          0          0         0

FieldDescription
size Is the size of the memory blocks in 4096 byte blocks
cur blks Is the current number of 4096 blocks, a multiple of size
alloc Is the number of times a requestor received a block of this size
miss Is the number of times a block was requested but none were available
free Is the number of times a memory block was placed into the cache
drain Is the number of times an aged block was forced out to make room for another block