Skip to content
Snippets Groups Projects
  1. Jul 14, 2020
  2. Jul 13, 2020
    • Jonathan Hanks's avatar
      Adding a frame wiper script to the repository. · 409bfc63
      Jonathan Hanks authored
      This is the python3 script used at LHO for frame wipping.  Moving it from userapps to the advligorts repository.
      
      This script is responsible for running every hour and freeing up space on the disk system for new frames.
      409bfc63
  3. Jul 09, 2020
  4. Jul 01, 2020
    • Rolf Bork's avatar
      - Some RCG compile option cleanup. · d7d1efc8
      Rolf Bork authored
      - Added daq_prefix option for Parameter block.  This allows proper
        creation of GDSTP screen DAQ info for systems that do not connect
        to the standard DAQ-DC0.
      d7d1efc8
  5. Jun 30, 2020
  6. Jun 29, 2020
  7. Jun 28, 2020
  8. Jun 25, 2020
    • Erik von Reis's avatar
      Merge branch 'daqd_data_rate' into 'master' · 13ab51be
      Erik von Reis authored
      Adding more epics diagnostics to the daqd
      
      See merge request cds/advligorts!127
    • Jonathan Hanks's avatar
      Adding more epics diagnostics to the daqd · 452f191b
      Jonathan Hanks authored
      PRDCR_UNIQUE_DCU_REPORTED_PER_S -> the number of dcus that reported at least once in the last second
      PRDCR_TOTAL_DCU_REPORTED_PER_S -> the count of dcus that reported in the last second.  In good conditions this should be 16*PRDCR_UNIQUE_DCU_REPORTED_PER_S
      
      PRDCR_TOTAL_DATA_RATE_KB_PER_S -> the total data rate over the last second in kb (excludes < 1kb of headers a second)
      PRDCR_TP_DATA_RATE_KB_PER_S -> the data rate of test point data over the last second in kb
      PRDCR_MODEL_DATA_RATE_KB_PER_S -> the data rate of the regular model data over the last second in kb
      
      PRDCR_OPEN_TP_COUNT -> the count of test points opened sampled once per second
      452f191b
  9. Jun 24, 2020
  10. Jun 23, 2020
  11. Jun 22, 2020
  12. Jun 19, 2020
  13. Jun 18, 2020
  14. Jun 17, 2020
  15. Jun 16, 2020
  16. Jun 15, 2020
    • Jonathan Hanks's avatar
      Merge branch 'make_gds_broadcasts_work' into 'master' · d39ae23e
      Jonathan Hanks authored
      Make gds broadcasts work
      
      See merge request cds/advligorts!119
      d39ae23e
    • Jonathan Hanks's avatar
      Cleanup and condense broadcast logic so that gds broadcasts can work. · 0f6d6d34
      Jonathan Hanks authored
      Historically, there have been two main types of broadcasts in daqd, the DC data stream (the 10Gb udp broadcast) and the GDS frame transfer.  When DATA_CONCENTRATOR was defined only the DC data stream is used.  This mode has been removed from the daq architecture.  So the only remaining broadcast mode should be the GDS frame transfer.
      
      The big difference between the two broadcast methods is the data source.  For the DC stream the source is the main circular buffer.  For the GDS the data source is a frame file that the framer_io function mmaps and pushes as a block of memory.
      
      There were several modes of operation for the daqd, and DATA_CONCENTRATOR was picked when collapsing the daqd down to one binary.  So remove support for the DC data stream.
       * Removes support for broadcasting testpoints
       * Removes the udp broadcast logic for the DC stream
       * Removes a number of #if DATA_CONCENTOR macro guards
       * Removes a number of #if GDS_TESTPOINT macro guards
      
       The final flow of the broadcast data is now as follows:
      
       the parser sees the request for the net-writer with a broadcast address.
       This triggers a net writer to be created, a producer thread to start, a circular buffer to be created.  The producer copies data from the main circular buffer and unlocks the main circular buffer it puts into the new circular buffer with a nowait put operation (which is allowed to fail).  Nothing has ever emptied this, so a consumer thread is not launched (it didn't do anything anyways).
      0f6d6d34
    • Jonathan Hanks's avatar
      8e4a5aa1
    • Jameson Rollins's avatar
      fix path to run number state · e416d696
      Jameson Rollins authored
      For some reason the systemd unit parsing does not pick up the
      STATE_DIRECTORY environment variable, so we have to expand manually.
      e416d696
Loading