Caching Stackdump

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2023-07-31
Revision
1.2 English

Onload stackdump can be used to monitor caching activity on Onload stacks.

# onload_stackdump lots [| grep cache]
Table 1. Onload_stackdump Cache Counters
Counter Description
active cache: hit=0 avail=0 cache=EMPTY pending=EMPTY

TCP socket caching:

hit = number of cache hits (were cached)

avail = number of sockets available for caching

current cache state

sockcache_cached Number of sockets cached over the lifetime of the stack
sockcache_contention Number of sockets not cached due to lock contention
passive_sockcache_stacklim Number of passive sockets not cached due to stack limit
active_sockcache_stacklim Number of active sockets not cached due to stack limit
sockcache_socklim Number of sockets not cached due to socket limit
sockcache_hit Number of socket cache hits (were cached)
sockcache_hit_reap Number of socket cache hits (were cached) after reaping
sockcache_miss_intmismatch Number of socket cache misses due to mismatched interfaces
activecache_cached Number of active sockets cached over the lifetime of the stack.
activecache_stacklim Number of active sockets not cached due to stack limit
activecache_hit Number of active socket cache hits (were cached)
activecache_hit_reap Number of active socket cache hits (were cached) after reaping