Skip to content
Snippets Groups Projects
  1. 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
  2. May 08, 2020
  3. Apr 08, 2020
    • Jonathan Hanks's avatar
      Adapt the nds process defaults and command line. · dbd91cb6
      Jonathan Hanks authored
      * The socket has been renamed from pipe to daqd_socket
      * Defaults to a working dir of /var/run/nds
       * socket path is then /var/run/nds/daqd_socket
       * jobs dir is then /var/run/nds/jobs
      * Set the --socketdir option on nds to specify the working dir
      dbd91cb6
  4. Nov 22, 2019
  5. Jun 09, 2017
  6. Apr 29, 2016
  7. May 05, 2015
  8. Feb 18, 2014
  9. Aug 15, 2013
  10. Aug 12, 2013
  11. Feb 04, 2013
  12. Aug 10, 2012
  13. May 24, 2012
  14. May 22, 2012
  15. Oct 14, 2010
  16. Aug 26, 2010
  17. Apr 30, 2010
Loading