Project

General

Profile

Feature #20872

Improved Metric prefixes from art processes

Added by Eric Flumerfelt about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Additional Functionality
Target version:
Start date:
09/18/2018
Due date:
% Done:

100%

Estimated time:
3.00 h
Experiment:
-
Co-Assignees:
Duration:

Description

The metric prefix for art processes was simply "artdaqart", but this does not serve to uniquely identify art processes.

I have updated this to use the parent application name, passed to art via the environment variable ARTDAQ_APPLICATION_NAME, and the manager ID number of the art process (which starts at 1 and increments for each art process attached to the shared memory).

I have also added a few metric calls to SharedMemoryReader for several time spans within the input source.

This Feature requires artdaq:feature/SharedMemoryReader_BetterArtProcessName and artdaq_core:feature/SharedMemoryEventReceiver_GetMyID

History

#1 Updated by Kurt Biery almost 2 years ago

I have validated these changes in an artdaq-demo system on mu2edaq01.

Here is some sample output from one of the art process FileMetric files:

FileMetric plugin file opened.
FileMetric plugin started.
FileMetric plugin started.
FileMetric: EventBuilder3_art1.Avg Processing Time: 0.088713 s.
FileMetric: EventBuilder3_art1.Avg Input Wait Time: 0.764968 s.
FileMetric: EventBuilder3_art1.Avg Read Time: 0.010634 s.
FileMetric: EventBuilder3_art1.bytesRead: 9004904 B.
FileMetric: EventBuilder3_art1.Data Send Count to Rank -1111: 0 fragments.
FileMetric: EventBuilder3_art1.Data Send Count to Rank 14: 2 fragments.
FileMetric: EventBuilder3_art1.Data Send Count to Rank -1111: 0 fragments.
FileMetric: EventBuilder3_art1.Avg Read Time: 0.006766 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank 14: 38 fragments.
FileMetric: EventBuilder3_art1.bytesRead: 369201064 B.
FileMetric: EventBuilder3_art1.Avg Input Wait Time: 0.345249 s.
FileMetric: EventBuilder3_art1.Avg Processing Time: 0.049537 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank -1111: 0 fragments.
FileMetric: EventBuilder3_art1.Avg Read Time: 0.006089 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank 14: 78 fragments.
FileMetric: EventBuilder3_art1.bytesRead: 720392320 B.
FileMetric: EventBuilder3_art1.Avg Input Wait Time: 0.340993 s.
FileMetric: EventBuilder3_art1.Avg Processing Time: 0.037697 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank -1111: 0 fragments.
FileMetric: EventBuilder3_art1.Avg Read Time: 0.005878 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank 14: 117 fragments.
FileMetric: EventBuilder3_art1.bytesRead: 1053573768 B.
FileMetric: EventBuilder3_art1.Avg Input Wait Time: 0.363554 s.
FileMetric: EventBuilder3_art1.Avg Processing Time: 0.036399 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank -1111: 0 fragments.
FileMetric: EventBuilder3_art1.Avg Read Time: 0.006338 s.
FileMetric: EventBuilder3_art1.Data Send Count to Rank 14: 157 fragments.
FileMetric: EventBuilder3_art1.bytesRead: 1404765024 B.
FileMetric: EventBuilder3_art1.Avg Input Wait Time: 0.337747 s.
FileMetric: EventBuilder3_art1.Avg Processing Time: 0.039622 s.
FileMetric plugin has been stopped!
FileMetric plugin has been stopped!
FileMetric closing file stream.

This run had four EventBuilders and the overall event rate was 10 Hz (so, approximately 2.5 Hz per EB).

#2 Updated by Eric Flumerfelt almost 2 years ago

  • Status changed from Resolved to Reviewed
  • Co-Assignees Kurt Biery added

#3 Updated by Eric Flumerfelt almost 2 years ago

  • Target version set to artdaq_core v3_04_09
  • Status changed from Reviewed to Closed

Also available in: Atom PDF