Difference between revisions of "DAQ Testing/20181217"

From PREX Wiki
Jump to navigationJump to search
(Created page with "Back to Main Page >> DAQ Documentation Portal >> DAQ Testing >> DAQ Commissioning Notes DAQ_Tes...")
 
Line 13: Line 13:
  
 
See also [[ET_Bridge|ET Bridge overview]]
 
See also [[ET_Bridge|ET Bridge overview]]
 +
 +
This is what I did to perform precise and comprehensive tests of the ET deadtime at 30 Hz and 1 kHz:
 +
* Use 30 Hz injector quartet helicity signals
 +
* Modify default chunk and queue sizes for testing:
 +
** set ~/bin/ETbridge_bgr queue to 1 (-q parameter, was 10,000 from previous tests)
 +
** set ET bridge blocking on (remove -nb parameter)
 +
** set ET bridge chunk size to 100 (default value = 100, with -c parameter)
 +
** set (for these tests only) 32 and 64 bit ET queue (input buffer) lengths down to 30 instead of previously increased to 10,000 value (so they fill in 1 second instead of forever)
 +
* Modify client (~/et-12.0/src/cameronc/client_main.C) settings for testing:
 +
** set client into blocking mode by editing THaEtClient.C and changing "NONBLOCKING" to "BLOCKING" in ET station initializtion
 +
** set client chunk size to 1 instead of default 100 value (this makes the client request a fresh set of events once for each event, instead of waiting several seconds and confusing the user/simple online analyzer code Bob wrote)
 +
* Run online analyzer simple client using ./etclient [number of events] [time to "wait"] (and it will print the event number foreach event and complain if event numbers are skipped and calculate relative rates using scalers in the counting house DAQ, as described in prior testing)
 +
* Check on helicity errors using ~/chkdtime/dtchk code on files in /adaq2/data1/apar/parity18_[run number].dat
 +
 +
=== Blocking Bridge, Blocking Client ===

Revision as of 15:33, 20 December 2018

Back to Main Page >> DAQ Documentation Portal >> DAQ Testing >> DAQ Commissioning Notes

Previous Day of Testing << >> Next Day of Testing

December 17th, 2018 Testers: Cameron

Goals

  • Test ET deadtime with et_monitor C++ executable, perform data flow stress tests at 30 Hz and accidental deadtime from bridge slowness at 1kHz

ET Deadtime

See also ET Bridge overview

This is what I did to perform precise and comprehensive tests of the ET deadtime at 30 Hz and 1 kHz:

  • Use 30 Hz injector quartet helicity signals
  • Modify default chunk and queue sizes for testing:
    • set ~/bin/ETbridge_bgr queue to 1 (-q parameter, was 10,000 from previous tests)
    • set ET bridge blocking on (remove -nb parameter)
    • set ET bridge chunk size to 100 (default value = 100, with -c parameter)
    • set (for these tests only) 32 and 64 bit ET queue (input buffer) lengths down to 30 instead of previously increased to 10,000 value (so they fill in 1 second instead of forever)
  • Modify client (~/et-12.0/src/cameronc/client_main.C) settings for testing:
    • set client into blocking mode by editing THaEtClient.C and changing "NONBLOCKING" to "BLOCKING" in ET station initializtion
    • set client chunk size to 1 instead of default 100 value (this makes the client request a fresh set of events once for each event, instead of waiting several seconds and confusing the user/simple online analyzer code Bob wrote)
  • Run online analyzer simple client using ./etclient [number of events] [time to "wait"] (and it will print the event number foreach event and complain if event numbers are skipped and calculate relative rates using scalers in the counting house DAQ, as described in prior testing)
  • Check on helicity errors using ~/chkdtime/dtchk code on files in /adaq2/data1/apar/parity18_[run number].dat

Blocking Bridge, Blocking Client