Skip to content
Snippets Groups Projects
  1. Jun 23, 2020
  2. Jun 22, 2020
  3. Jun 19, 2020
  4. Jun 18, 2020
  5. Jun 17, 2020
  6. Jun 16, 2020
  7. 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
  8. Jun 12, 2020
  9. Jun 10, 2020
  10. Jun 09, 2020
    • Rolf Bork's avatar
      Changes to RCG to allow real-time code to ride out Dolphin network · 3be4015e
      Rolf Bork authored
      hangups for up to 61msec.
      3be4015e
    • Erik von Reis's avatar
      Modify the behavior of agtpman with regard to target directories and model rates as follows: · 4a439fc4
      Erik von Reis authored and Jameson Rollins's avatar Jameson Rollins committed
      awgtpman now prefers to use the TARGET environment variable for the target directory.
      If not present, /opt/rtcds/<site>/<ifo> will be used.
      If neither TARGET nor SITE and IFO are set, awgtpman will refuse to load
      and print a helpful error.
      
      awgtpman will look in $TARGET/target/gds/param for the parameter files
      to get the model rate.
      awgtpman will now fail with a helpful error when the model rate cannot be found.
      If the '-r' option is set, then awgtpman will uses exclusively the command line arguments to
      determine model rate and won't check the param files.
      awgtpman will ignore command line arguments for setting the model rate unless '-r' is given.
      4a439fc4
  11. Jun 05, 2020
  12. Jun 04, 2020
  13. May 29, 2020
  14. May 27, 2020
  15. May 19, 2020
  16. May 15, 2020
  17. 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
Loading