1. 01 Jul, 2020 1 commit
    • 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
  2. 30 Jun, 2020 1 commit
  3. 29 Jun, 2020 1 commit
  4. 28 Jun, 2020 2 commits
  5. 25 Jun, 2020 2 commits
    • 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 !127
      13ab51be
    • 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
  6. 24 Jun, 2020 3 commits
  7. 23 Jun, 2020 2 commits
  8. 22 Jun, 2020 4 commits
  9. 19 Jun, 2020 3 commits
  10. 18 Jun, 2020 3 commits
  11. 17 Jun, 2020 4 commits
  12. 16 Jun, 2020 3 commits
  13. 15 Jun, 2020 4 commits
    • Jonathan Hanks's avatar
      Merge branch 'make_gds_broadcasts_work' into 'master' · d39ae23e
      Jonathan Hanks authored
      Make gds broadcasts work
      
      See merge request !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
  14. 12 Jun, 2020 7 commits