PerfMon Counters for Cache
NCache publishes different counters for monitoring purposes through PerfMon. It also publishes some counters for debugging purposes. You can monitor NCache counters for a specific cache on any Windows machine using Windows PerfMon tools.
Performance Counters
NCache is not only enriched with powerful monitoring facilities but besides that. It also provides different categories of counters for Windows performance monitors. This lets the users monitor the overall performance of NCache. They cover all aspects of NCache monitoring, including remote clients, cache clients, clustered operations, server counters, and many more.
The performance counters provide valuable information about system hardware, services, networks, and applications that can be used to determine their performance. It helps in diagnosing problems, fine-tuning systems and applications, monitoring real-time application performance, and resolving bottleneck causes of system components.
These performance counters can be seen from PerfMon. The statistics view is also used to see the performance statistics of a cache or a cluster.
These counters include:
Counters | Description |
---|---|
# Clients |
Number of connected clients to an instance of cache. |
Fetches/sec |
The number of Get operations per second. |
Hits/sec |
The number of successful Get operations per second. |
Misses/sec |
The number of failed Get operations per second. |
Additions/sec |
The number of Add operations per second. |
Updates/sec |
The number of Insert operations per second. |
Deletes/sec |
The number of Remove operations per second. |
Expirations/sec |
The number of items being expired currently per second. |
Evictions/sec |
The number of items evicted per second. |
Mirror Queue Size |
The number of items in the Mirrored queue. |
Average sec/fetch |
The average time in seconds taken to complete one Fetch operation. |
Average sec/add |
The average time in seconds taken to complete one Add operation. |
Average sec/insert |
The average time in seconds taken to complete one Insert operation. |
Average sec/remove |
The average time in seconds taken to complete one Remove operation. |
Average sec/cache operation |
The average time in seconds taken to complete one cache operation. |
Client Request/sec |
The number of requests sent by all clients to the cache server. |
Client Response/sec |
The number of responses received by all clients from the cache server. |
Clustered opsrecv/sec |
The number of clustered operations performed per second. |
Clustered opsent/sec |
The number of clustered operations performed per second. |
Count |
The number of items in the cache. |
DispatchEnter/sec |
The number of clustered operations performed per second. |
Readthru/sec |
The number of Read-through operations per second. |
Response sent/sec |
The number of clustered operations performed per second. |
Responses/sec |
The number of responses sent (meaning cache response for commands like Add, Get, Insert, Remove, etc.) to all clients by this cache server. |
State transfer/sec |
The number of items this node is either reading from other nodes or sending to other nodes during a state transfer mode. |
Writethru/sec |
The number of Write-through/Write-behind operations per second. |
CacheLastAccessCount |
The number of items that are older than the access interval specified in the config. |
Cluster ops/sec |
The number of clustered operations performed per second. |
Bytes sent/sec |
How much data is sent from this node to other nodes in the cache. |
Bytes received/sec |
The amount of data received by this node from other nodes in the cache. |
Requests/sec |
The number of requests (meaning cache commands like add, get, insert, remove, etc.) being processed from all clients by this cache server. |
Client bytes sent/sec |
The bytes being sent from the cache server to all its clients. |
Client bytes received/sec |
The bytes being received by the cache server from all its clients. |
Response Queue Count |
The number of items in response queue; all responses are queued in the response queue before being sent. |
Response Queue Size |
The size of the response queue in bytes. It displays the total data size of all the responses in the response queue. |
Event Queue Count |
The number of events in the event queue. |
Events Processed/sec |
The number of events processed per second on a client. |
Events Triggered/sec |
The number of events triggered and received by client per second. |
Average ms/event |
The average time taken by the client to process a single event. |
Average µs/addBulk |
The average number of bulk (not independent keys) adds per microsecond. This applies to Bulk, Group, and Tag APIs. |
Average µs/fetchBulk |
The average number of bulk (not independent keys) fetches per microsecond. This applies to Bulk, Group, and Tag APIs. |
Average µs/removeBulk |
The average number of bulk (not independent keys) removes per microsecond. This applies to Bulk, Group, and Tag APIs. |
Average µs/insertBulk |
The average number of bulk (not independent keys) inserts per microsecond. This applies to Bulk, Group, and Tag APIs. |
Messages Count |
The number of messages entertained by Pub/Sub topic. |
Messages Delivered/sec |
The number of messages delivered to subscribers in one second. |
Messages Published/sec |
The number of messages published in one second. |
Messages Expired/sec |
The number of messages expired in one second. |
Message Store Size |
The size of the message store created within a topic. |
Topics Count |
The number of topics that are registered on the cache. |
Additions/Sec |
The number of add operations per second. |
Average us/add |
The average time taken to complete one add operation. |
Average us/addbulk |
The average time taken to complete one addbulk operation. |
Average us/cacheoperation |
The average time taken to complete one cache operation. |
Average us/fetch |
The average time taken to complete one get operation. |
Average us/fetchbulk |
The average time taken to complete one GetBulk operation. |
Average us/insert |
The average time taken to complete one insertbulk operation. |
Average us/remove |
The average time taken to complete one remove operation. |
Average us/removebulk |
The average time taken to complete one removebulk operation. |
BcastQueueCount |
The number of items in the Bcast queue waiting to be processed in sequence. |
Bytes recieved/sec |
The amount of data received by this node from other nodes in the cache. |
Bytes sent/sec |
The amount of data received by this node from other nodes in the cache. |
Cache Size |
Size of the cache in bytes, including cache store meta info and all other indices. |
CacheLastAccessCount |
Number of items that are older than the access interval specified in the config. |
Client bytes recieved per sec |
Bytes received by the cache server from all its clients. |
Client bytes sent per sec |
Bytes sent from the cache server to all its clients. |
ClientRequests/sec |
Number of requests sent by all clients to the cache server. |
ClientResponses/sec |
Number of responses received by all clients from the cache server. |
Cluster ops/sec |
Number of clustered operations performed per second. |
Cluster opsrecv/sec |
Number of clustered operations received per second. |
Cluster opssent/sec |
Number of clustered operations performed per second. |
Count |
Number of items in the cache. |
Data Balance/sec |
Number of items this node is either reading from other nodes or sending to other nodes during a Data Load Balancing mode. |
Deletes/Sec |
Number of items in the cache. |
Event Queue Count |
Number of events in the Event Queue. |
Eviction Index Size |
Size of eviction indices in bytes, defined on the cache. |
Evictions/sec |
Number of items evicted per second. |
Expiration Index Size |
Size of expiration indices in bytes, defined on the cache. |
Expirations/sec |
The number of items being expired currently per second. |
Fetches/sec |
The number of Get operations per second. |
Hits ratio/sec |
Ratio of number of successful Get operations per second and total number of Get operations per second. |
Hits/sec |
Number of successful Get operations per second. |
McastQueueCount |
Number of items in Mcast queue waiting to be processed in sequence. |
Mirror queue size |
Number of items in the Mirror queue. |
Misses/sec |
Number of failed Get operations per second. |
Request Log Ledger Size |
Total in-memory size of the log ledger, which stores logged requests. |
Requests Logged/sec |
Average number of requests logged in a second. |
Requests/sec |
Number of requests (cache commands like add, get, insert, remove, etc.) being processed from all clients by this cache server. |
Response Queue Count |
Number of items in response queue; all responses are queued in the response queue before being sent. |
Response Queue Size |
Size of the response queue in bytes. It displays the total data size of all the responses in the response queue. |
Response sent/sec |
Number of clustered operations performed per second. |
Responses/sec |
Number of responses sent (cache response for commands like add, get, insert, remove, etc.) to all clients by this cache server. |
Sliding Index queue size |
Number of items in the Sliding-Index queue. |
Socket recv size (bytes) |
Data received in the last message. |
Socket recv time (msec) |
Time it took to receive the last message. |
Socket send size (bytes) |
Data that was sent in the last message. |
Socket send time (msec) |
Time it took to send the last message over the socket. |
State transfer/sec |
Number of items this node is either reading from other nodes or sending to other nodes during State Transfer mode. |
TcpDownQueueCount |
Number of items in TCP down-queue. |
TcpUpQueueCount |
Number of items in TCP up-queue. |
Updates/sec |
Number of Insert operations per second. |
Debugging Counters
Counter | Description |
---|---|
Socket send time (ms) |
The time in milliseconds taken to send a request. |
Socket send size (bytes) |
The bytes sent per second. |
Socket recv time (ms) |
The time in milliseconds taken to receive a request. |
Socket recv size (bytes) |
The bytes received per second. |
TcpUpQueueCount |
The number of items in TCP-up Queue. |
TcpDownQueueCount |
The number of items in TCP-down Queue. |
BCastQueueCount |
The number of items in BCast Queue. |
MCastQueueCount |
The number of items in MCast Queue. |