Skip to content
Snippets Groups Projects
  1. Oct 01, 2020
  2. Sep 23, 2020
  3. Sep 22, 2020
  4. Sep 21, 2020
  5. Aug 14, 2020
  6. Jul 29, 2020
  7. Jul 15, 2020
    • Jonathan Hanks's avatar
      Minor tweaks · 330b6525
      Jonathan Hanks authored
       * Allow _C- for raw/commissioning frames
       * Remove an '+' that was left in when converting from string concatenation to path joins.
      330b6525
    • Jonathan Hanks's avatar
      Minor updates to the daq_wiper script · e515224c
      Jonathan Hanks authored
       * Convert to using os.path instead of manual path creation
       * Estimate the number of TB of data per day and use that as a default amount of free space to hold to.
      e515224c
  8. Jul 14, 2020
  9. 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
  10. Jun 25, 2020
    • 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
  11. Jun 24, 2020
  12. Jun 23, 2020
  13. Jun 18, 2020
  14. Jun 17, 2020
  15. Jun 16, 2020
  16. Jun 15, 2020
    • 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
  17. Jun 12, 2020
  18. Jun 10, 2020
  19. Jun 05, 2020
  20. May 13, 2020
    • Jonathan Hanks's avatar
      Closes #63. Update the error handling code when daqd calls nice. · b8ae42ad
      Jonathan Hanks authored
      Fix the error handling code to work with how nice has been implemented for a while.  Change to clearing errno and checking it after the call as proscribed by the man page.
      b8ae42ad
    • Jonathan Hanks's avatar
      Removing unneeded GPS leap second handling code. · 95924c20
      Jonathan Hanks authored
      The daqd has carried code for at least 9 years to set the GPS leap seconds in the frameH structure that is not used, too small, and the configs where never updated.
      
      Remove the code.  Putting the correct leap second value into the FrameH structure is done by FrameCPP in the call to SetGTime.  There is no need to keep this old code around.
      
      * For now turning the set gps-leaps into a no-op in the config.
      * Removing the leap seconds field from the circular buffer
      * Removing some member variables and a helper function from daqd.
      95924c20
  21. May 11, 2020
  22. May 08, 2020
  23. May 06, 2020
  24. Apr 23, 2020
Loading