This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/21611 (FNAL account required)
Originally created by @bieryAtFnal on 2019-01-02 14:51:43
To reproduce the problem:
- either use an existing artdaq-demo installation or create a new one, and update the artdaq-utilities-daqinterface package to commit hash ac86bcb
- run 'sh ./run_demo.sh --config mediumsystem_with_routing_master --bootfile
pwd/artdaq-utilities-daqinterface/simple_test_config/mediumsystem_with_routing_master/boot.txt --comps component01 component02 component03 component04 component05 component06 component07 component08 component09 component10 --runduration 40 --no_om'
- change the artdaq-utilities-daqinterface commit hash to a0a50a1 and re-run the test listed above
(Both of these commits were done on the 'develop' branch of artdaq-utilities-daqinterface.)
Then,
- compare the differences in those two versions of the code. As you will see, the only difference is the presence of the component01_standard.fragment_receiver.max_fragment_size_bytes parameter in component_standard.fcl in the earlier commit. Please Note that this parameter is not used at this point in time. component01_hw_cfg.fcl does not yet include component_standard.fcl, etc.
- compare the two sets of run_records for the two runs that were just performed. As you will see, the second run has incorrect values for the max_fragment_size_words parameter in the component02-10 FHiCL files. (It has 1024, when it should have 128000.)
It seems as though the advanced memory usage logic is picking up the last value for max_fragment_size_bytes in component_standard.fcl and using it for all components, even though that declaration of max_fragment_size_bytes is specific to component01.
For reference, here is a copy of the settings_example file that I am using:
[biery@mu2edaq01 DAQInterface]$ pwd
/home/biery/331Demo/DAQInterface
[biery@mu2edaq01 DAQInterface]$ cat settings_example
# JCF, Sep-16-2017
# This file is an example of a settings file which would work with an
# artdaq-demo installation, assuming the installation was performed
# with artdaq-demo's quick-mrb-start.sh script. It is valid as of
# artdaq-demo v2_10_02; more details on artdaq-demo installation can
# be found in
# https://cdcvs.fnal.gov/redmine/projects/artdaq-demo/wiki. Note that
# the user will need to (A) make sure that a directory called
# $HOME/run_records has been created and (B) make sure to set the
# productsdir_for_bash_scripts variable, below, to a products
# directory containing the xmlrpc_c package (needed for DAQInterface
# to receive commands)
log_directory: /home/biery/331Demo/daqlogs
data_directory_override: /scratch/biery/data
record_directory: /home/biery/331Demo/run_records
package_hashes_to_save: [ artdaq-demo, artdaq-core-demo, artdaq ]
productsdir_for_bash_scripts: /cvmfs/fermilab.opensciencegrid.org/products/artdaq
boardreader timeout: 60
eventbuilder timeout: 30
aggregator timeout: 30
# Currently (as of 2018-07-10) needs to be big enough for all simple_test_config/ examples.
# The "biggest" example has 10 BR's -- so the xfer between the EB and DL needs to be able
# to handle the data from the 10 BRs.
#max_fragment_size_bytes: 91000000
all_events_to_all_dispatchers: true
advanced_memory_usage: true
transfer_plugin_to_use: TCPSocket
[biery@mu2edaq01 DAQInterface]$ date
Wed Jan 2 08:49:47 CST 2019
This issue has been migrated from https://cdcvs.fnal.gov/redmine/issues/21611 (FNAL account required)
Originally created by @bieryAtFnal on 2019-01-02 14:51:43
To reproduce the problem:
pwd/artdaq-utilities-daqinterface/simple_test_config/mediumsystem_with_routing_master/boot.txt --comps component01 component02 component03 component04 component05 component06 component07 component08 component09 component10 --runduration 40 --no_om'(Both of these commits were done on the 'develop' branch of artdaq-utilities-daqinterface.)
Then,
It seems as though the advanced memory usage logic is picking up the last value for max_fragment_size_bytes in component_standard.fcl and using it for all components, even though that declaration of max_fragment_size_bytes is specific to component01.
For reference, here is a copy of the settings_example file that I am using: