Project

General

Profile

Actions

Feature #8401

open
JL JL

detect/thresholds: add telemetry for bucket depths

Feature #8401: detect/thresholds: add telemetry for bucket depths

Added by Jeff Lucovsky about 1 month ago. Updated about 1 month 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

JL Updated by Jeff Lucovsky about 1 month ago Actions #1

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

OT Updated by OISF Ticketbot about 1 month ago Actions #2

  • Subtask #8402 added

OT Updated by OISF Ticketbot about 1 month ago Actions #3

  • Label deleted (Needs backport to 8.0)
Actions

Also available in: PDF Atom