This class represents detailed system metrics captured for global buffering. More...
Static Public Member Functions | |
SYS.Stats.Buffer | Sample (_.Library.Integer Size) |
Instantiate the class for a particular size and fill in current values for all properties. More... | |
Public Attributes | |
Avail | |
The current number of available buffers (interactive) More... | |
BatchQ | |
The offset to the start of the LRU queue. More... | |
Interact | |
The current number of buffers in interactive portion of LRU queue. More... | |
MaxInteract | |
The max number of buffers in interactive portion of LRU queue. More... | |
Min | |
The threshold for no updaters to enter global module (interactive) More... | |
MinB | |
The threshold for no updaters to enter global module (batch) More... | |
MinReQ | |
The threshold for re-queueing a buffer (interactive) More... | |
MinReQB | |
The threshold for re-queueing a buffer (batch) More... | |
NumSize | |
The number of buffers of this size. More... | |
OffLRUCnt | |
The number of buffers removed from LRU queue. More... | |
ReQCnt | |
The number of buffers requeued in the interactive LRU queue. More... | |
ReQCntB | |
The number of buffers requeued in the batch LRU queue. More... | |
Size | |
The buffer size for this queue, e.g. More... | |
WrtMax | |
The threshold for waking write demon (interactive) More... | |
WrtQSz | |
The current number of interactive buffers queued to be written. More... | |
WrtSz | |
The Number of buffers in current write cycle. More... | |
This class represents detailed system metrics captured for global buffering.
Each instance of the class represents a different buffer size, e.g. 2k, 8k, etc.
The current values for each class instance may be fetched using the Query 'Sample', and then the current value of each property can be accessed.
For example:
s prop="Size,NumSize,BatchQ,Interact,MaxInteract,MinReQ,MinReQB,ReQCnt,ReQCntB,WrtQSz,OffLRUCnt,WrtSz,WrtMax,Avail,Min,MinB" ; list of properties s rset=##class(ResultSet).New("SYS.Stats.Buffer:Sample") d rset.Execute() s len=$l(prop,",") ; list all resources and related seize counts while rset.Next() { f i=1:1:len w rset.Data($p(prop,",",i)) w:i<len "," w ! }
Global buffer metrics with instances for different buffer sizes, 2k, 8k etc.
|
static |
Instantiate the class for a particular size and fill in current values for all properties.
'Size' should be one of 8192, 16384, 32768, 65536 If there are no buffers of the requested size, then NumSize will be zero.
Allows for XML output of a single Buffer instance.
Avail |
The current number of available buffers (interactive)
BatchQ |
The offset to the start of the LRU queue.
Interact |
The current number of buffers in interactive portion of LRU queue.
MaxInteract |
The max number of buffers in interactive portion of LRU queue.
Min |
The threshold for no updaters to enter global module (interactive)
MinB |
The threshold for no updaters to enter global module (batch)
MinReQ |
The threshold for re-queueing a buffer (interactive)
MinReQB |
The threshold for re-queueing a buffer (batch)
NumSize |
The number of buffers of this size.
OffLRUCnt |
The number of buffers removed from LRU queue.
ReQCnt |
The number of buffers requeued in the interactive LRU queue.
ReQCntB |
The number of buffers requeued in the batch LRU queue.
Size |
The buffer size for this queue, e.g.
2K, 8K, etc.
WrtMax |
The threshold for waking write demon (interactive)
WrtQSz |
The current number of interactive buffers queued to be written.
WrtSz |
The Number of buffers in current write cycle.