Project

General

Profile

Actions

Feature #8401

open

detect/thresholds: add telemetry for bucket depths

Added by Jeff Lucovsky 7 days ago. Updated 7 days ago.

Status:
In Review
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

Add telemetry for the detect.thresholds hash table that gives the user an indication of bucket density and max.

average -- display the mean number of entries across non-empty buckets. A value close to 1 means the entries are well-distributed with minimum collisions
max - shows the deepest current bucket depth. This catches host-spot problems that are lost in the average. If the average is low but the max is high, then there's a badly skewed hash as one bucket is doing 50 comparisons per lookup while most do 1-2.

When both are low, the hash function and table size are well-matched to the workload.

If both are high, the table is too small and the hash_size should be increased.


Subtasks 1 (1 open0 closed)

Feature #8402: detect/thresholds: add telemetry for bucket depths (8.0.x backport)AssignedJeff LucovskyActions
Actions #1

Updated by Jeff Lucovsky 7 days ago

  • Status changed from New to In Review
  • Target version changed from TBD to 9.0.0-beta1
  • Label Needs backport to 8.0 added
Actions #2

Updated by OISF Ticketbot 7 days ago

  • Subtask #8402 added
Actions #3

Updated by OISF Ticketbot 7 days ago

  • Label deleted (Needs backport to 8.0)
Actions

Also available in: Atom PDF