Skip to content

Cache Sizing & Tuning

Right-size your caches for your workload and hardware. This keeps event tracking accurate and RAM usage in check.

Important

Most of deployments can live with the default cache sizes.

Choosing Cache Sizes

Pick a profile similar to your environment, then adjust as needed:

ProfileMemory (MB)Use For
Small Devices50–250IoT, embedded, edge
Default256–1024Servers, containers, VMs
Comprehensive512–2048Security monitoring, audit
Heavy I/O1024–4096Databases, high event rate

Be aware, Jibril memory consumption also includes:

  • General agent functionality
  • Detection code and internal LRU-like maps
  • Security event generation and submission
  • External detection data (CIDRs, domains, patterns)

What Influences Cache Size?

Understand cache categories, and adjust the relevant caches as needed.

FactorImpactCaches to Adjust
ProcessesMore multitasking, rapid process churntasks, rec-tasks, cmds, args, task-ref
File ActivityFrequent file changes or file watchingfiles, dirs, bases, task-file, file-task
Network UsageHigh connection/open rate, frequent flowsflows, task-flow, flow-task, flow-ref

Remember: A heavy I/O workload may have a tiny RAM footprint as long as the cadence is short enough to avoid missing events.