DUNE-DAQ / DUNE-DAQ/trigger

Latency monitoring improvements

Open
#347 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
0
Forks
8
Avg merge
7h 21m
Merged PRs (30d)
3

Description

New latency monitoring for trigger is introduced with https://github.com/DUNE-DAQ/trigger/pull/342.

Some issues:

  • currently updating latency for each TX object, which for TPs is more often than reasonably useful and adds an overhead
  • in cases where the rates are high, we are effectively comparing different objects when we publish our latency_in and latency_out. The latency out will be the latest (TX+1) object that was made while the latency in is the newest incoming TX object. We report the values at the same time, but they do not refer to the same object anymore (different base of comparison). While this is still useful latency reporting, it can produce 'weird' cases for the online monitoring.

possible improvements:

  • using condition variables for updating
  • adding some kind of prescaling / a rate check for the updates

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #342 and the latency-monitoring implementation it introduced. Trace how latency_in and latency_out are updated for TX objects, then evaluate condition-variable updates or prescaling/rate checks; done means reducing update overhead and ensuring published values have a consistent object relationship.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
observability-sre, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.