From e4a37f7e2e76dfc0b9febf49954b3902140bb52a Mon Sep 17 00:00:00 2001 From: Pierre Lasorak Date: Thu, 5 Oct 2023 17:49:40 +0200 Subject: [PATCH 1/3] chuck example configuration that are anyway way out of date --- examples/ruemu_conf/boot.json | 87 --------- examples/ruemu_conf/conf.json | 11 -- examples/ruemu_conf/daqconf_multiru_gen.info | 16 -- examples/ruemu_conf/data/dataflow0_conf.json | 102 ----------- examples/ruemu_conf/data/dataflow0_init.json | 118 ------------ examples/ruemu_conf/data/dfo_conf.json | 21 --- examples/ruemu_conf/data/dfo_init.json | 62 ------- examples/ruemu_conf/data/dqm0-df_conf.json | 47 ----- examples/ruemu_conf/data/dqm0-df_init.json | 45 ----- examples/ruemu_conf/data/dqm0-ru_conf.json | 76 -------- examples/ruemu_conf/data/dqm0-ru_init.json | 110 ----------- examples/ruemu_conf/data/hsi_conf.json | 18 -- examples/ruemu_conf/data/hsi_init.json | 38 ---- examples/ruemu_conf/data/ruemu0_conf.json | 173 ------------------ examples/ruemu_conf/data/ruemu0_init.json | 160 ---------------- examples/ruemu_conf/data/trigger_conf.json | 99 ---------- examples/ruemu_conf/data/trigger_init.json | 161 ---------------- examples/ruemu_conf/init.json | 11 -- examples/ruemu_conf_k8s/boot.json | 125 ------------- examples/ruemu_conf_k8s/conf.json | 11 -- .../ruemu_conf_k8s/daqconf_multiru_gen.info | 16 -- .../ruemu_conf_k8s/data/dataflow0_conf.json | 102 ----------- .../ruemu_conf_k8s/data/dataflow0_init.json | 118 ------------ examples/ruemu_conf_k8s/data/dfo_conf.json | 21 --- examples/ruemu_conf_k8s/data/dfo_init.json | 62 ------- .../ruemu_conf_k8s/data/dqm0-df_conf.json | 47 ----- .../ruemu_conf_k8s/data/dqm0-df_init.json | 45 ----- .../ruemu_conf_k8s/data/dqm0-ru_conf.json | 76 -------- .../ruemu_conf_k8s/data/dqm0-ru_init.json | 110 ----------- examples/ruemu_conf_k8s/data/hsi_conf.json | 18 -- examples/ruemu_conf_k8s/data/hsi_init.json | 38 ---- examples/ruemu_conf_k8s/data/ruemu0_conf.json | 173 ------------------ examples/ruemu_conf_k8s/data/ruemu0_init.json | 160 ---------------- .../ruemu_conf_k8s/data/trigger_conf.json | 99 ---------- .../ruemu_conf_k8s/data/trigger_init.json | 161 ---------------- examples/ruemu_conf_k8s/init.json | 11 -- 36 files changed, 2748 deletions(-) delete mode 100644 examples/ruemu_conf/boot.json delete mode 100644 examples/ruemu_conf/conf.json delete mode 100644 examples/ruemu_conf/daqconf_multiru_gen.info delete mode 100644 examples/ruemu_conf/data/dataflow0_conf.json delete mode 100644 examples/ruemu_conf/data/dataflow0_init.json delete mode 100644 examples/ruemu_conf/data/dfo_conf.json delete mode 100644 examples/ruemu_conf/data/dfo_init.json delete mode 100644 examples/ruemu_conf/data/dqm0-df_conf.json delete mode 100644 examples/ruemu_conf/data/dqm0-df_init.json delete mode 100644 examples/ruemu_conf/data/dqm0-ru_conf.json delete mode 100644 examples/ruemu_conf/data/dqm0-ru_init.json delete mode 100644 examples/ruemu_conf/data/hsi_conf.json delete mode 100644 examples/ruemu_conf/data/hsi_init.json delete mode 100644 examples/ruemu_conf/data/ruemu0_conf.json delete mode 100644 examples/ruemu_conf/data/ruemu0_init.json delete mode 100644 examples/ruemu_conf/data/trigger_conf.json delete mode 100644 examples/ruemu_conf/data/trigger_init.json delete mode 100644 examples/ruemu_conf/init.json delete mode 100644 examples/ruemu_conf_k8s/boot.json delete mode 100644 examples/ruemu_conf_k8s/conf.json delete mode 100644 examples/ruemu_conf_k8s/daqconf_multiru_gen.info delete mode 100644 examples/ruemu_conf_k8s/data/dataflow0_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/dataflow0_init.json delete mode 100644 examples/ruemu_conf_k8s/data/dfo_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/dfo_init.json delete mode 100644 examples/ruemu_conf_k8s/data/dqm0-df_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/dqm0-df_init.json delete mode 100644 examples/ruemu_conf_k8s/data/dqm0-ru_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/dqm0-ru_init.json delete mode 100644 examples/ruemu_conf_k8s/data/hsi_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/hsi_init.json delete mode 100644 examples/ruemu_conf_k8s/data/ruemu0_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/ruemu0_init.json delete mode 100644 examples/ruemu_conf_k8s/data/trigger_conf.json delete mode 100644 examples/ruemu_conf_k8s/data/trigger_init.json delete mode 100644 examples/ruemu_conf_k8s/init.json diff --git a/examples/ruemu_conf/boot.json b/examples/ruemu_conf/boot.json deleted file mode 100644 index 60bb7a4d..00000000 --- a/examples/ruemu_conf/boot.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "apps": { - "dataflow0": { - "exec": "daq_application_ssh", - "host": "dataflow0", - "port": 3338 - }, - "dfo": { - "exec": "daq_application_ssh", - "host": "dfo", - "port": 3335 - }, - "dqm0-df": { - "exec": "daq_application_ssh", - "host": "dqm0-df", - "port": 3339 - }, - "dqm0-ru": { - "exec": "daq_application_ssh", - "host": "dqm0-ru", - "port": 3337 - }, - "hsi": { - "exec": "daq_application_ssh", - "host": "hsi", - "port": 3333 - }, - "ruemu0": { - "exec": "daq_application_ssh", - "host": "ruemu0", - "port": 3336 - }, - "trigger": { - "exec": "daq_application_ssh", - "host": "trigger", - "port": 3334 - } - }, - "env": { - "DUNEDAQ_ERS_DEBUG_LEVEL": "getenv_ifset", - "DUNEDAQ_ERS_ERROR": "erstrace,throttle,lstdout", - "DUNEDAQ_ERS_FATAL": "erstrace,lstdout", - "DUNEDAQ_ERS_INFO": "erstrace,throttle,lstdout", - "DUNEDAQ_ERS_VERBOSITY_LEVEL": "getenv:1", - "DUNEDAQ_ERS_WARNING": "erstrace,throttle,lstdout" - }, - "exec": { - "daq_application_ssh": { - "args": [ - "--name", - "{APP_NAME}", - "-c", - "{CMD_FAC}", - "-i", - "{INFO_SVC}", - "--configurationService", - "{CONF_LOC}" - ], - "cmd": "daq_application", - "comment": "Application profile using PATH variables (lower start time)", - "env": { - "CET_PLUGIN_PATH": "getenv", - "CMD_FAC": "rest://localhost:{APP_PORT}", - "DETCHANNELMAPS_SHARE": "getenv", - "DUNEDAQ_SHARE_PATH": "getenv", - "INFO_SVC": "file://info_{APP_NAME}_{APP_PORT}.json", - "LD_LIBRARY_PATH": "getenv", - "PATH": "getenv", - "TIMING_SHARE": "getenv", - "TRACE_FILE": "getenv:/tmp/trace_buffer_{APP_HOST}_{DUNEDAQ_PARTITION}" - } - } - }, - "external_connections": [], - "hosts": { - "dataflow0": "localhost", - "dfo": "localhost", - "dqm0-df": "localhost", - "dqm0-ru": "localhost", - "hsi": "localhost", - "ruemu0": "localhost", - "trigger": "localhost" - }, - "response_listener": { - "port": 56789 - } -} \ No newline at end of file diff --git a/examples/ruemu_conf/conf.json b/examples/ruemu_conf/conf.json deleted file mode 100644 index bda025d9..00000000 --- a/examples/ruemu_conf/conf.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "apps": { - "dataflow0": "data/dataflow0_conf", - "dfo": "data/dfo_conf", - "dqm0-df": "data/dqm0-df_conf", - "dqm0-ru": "data/dqm0-ru_conf", - "hsi": "data/hsi_conf", - "ruemu0": "data/ruemu0_conf", - "trigger": "data/trigger_conf" - } -} \ No newline at end of file diff --git a/examples/ruemu_conf/daqconf_multiru_gen.info b/examples/ruemu_conf/daqconf_multiru_gen.info deleted file mode 100644 index 04c356c8..00000000 --- a/examples/ruemu_conf/daqconf_multiru_gen.info +++ /dev/null @@ -1,16 +0,0 @@ -{ - "build_info": { - "build time": "Mon 1 Aug 13:14:10 CEST 2022", - "git branch": "plasorak/felix-resources", - "git commit author": "Pierre Lasorak", - "git commit description": "use Enrico's flx resources properly", - "git commit hash": "e0edba640819c8d291e4552697e4c0dec331f660", - "git commit time": "Mon Aug 1 10:36:34 2022 +0200", - "hostname for build": "np04-srv-019", - "local repo dir": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/sourcecode/daqconf", - "uncommitted changes": "", - "user for build": "plasorak" - }, - "command_line": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/install/daqconf/bin/daqconf_multiru_gen --frontend-type wib2 -e --enable-dqm ruemu_conf", - "daqconf_exe_dir": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/install/daqconf/bin" -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dataflow0_conf.json b/examples/ruemu_conf/data/dataflow0_conf.json deleted file mode 100644 index c59cc6ec..00000000 --- a/examples/ruemu_conf/data/dataflow0_conf.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "modules": [ - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_requests_for_trigger", - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 1, - "region": 0, - "system": "TPC" - } - ], - "max_time_window": 0, - "reply_connection_name": "fragments_to_dataflow0", - "trigger_record_timeout_ms": 2858 - }, - "match": "trb" - }, - { - "data": { - "data_storage_prescale": 1, - "data_store_parameters": { - "directory_path": ".", - "disable_unique_filename_suffix": false, - "file_layout_parameters": { - "digits_for_record_number": 5, - "digits_for_sequence_number": 4, - "path_param_list": [ - { - "detector_group_name": "TPC", - "detector_group_type": "TPC", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Link", - "region_name_prefix": "APA" - }, - { - "detector_group_name": "PDS", - "detector_group_type": "PDS", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - }, - { - "detector_group_name": "NDLArTPC", - "detector_group_type": "NDLArTPC", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - }, - { - "detector_group_name": "Trigger", - "detector_group_type": "DataSelection", - "digits_for_element_number": 5, - "digits_for_region_number": 5, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - } - ], - "record_header_dataset_name": "TriggerRecordHeader", - "record_name_prefix": "TriggerRecord" - }, - "filename_parameters": { - "digits_for_file_index": 4, - "digits_for_run_number": 6, - "digits_for_trigger_number": 6, - "file_index_prefix": "", - "overall_prefix": "swtest", - "run_number_prefix": "run", - "trigger_number_prefix": "" - }, - "free_space_safety_factor_for_write": 5.0, - "max_file_size_bytes": 4294967296, - "mode": "all-per-file", - "name": "data_store", - "operational_environment": "swtest", - "type": "HDF5DataStore" - }, - "decision_connection": "trigger_decision_0", - "max_write_retry_time_usec": 1000000, - "min_write_retry_time_usec": 1000, - "write_retry_time_increase_factor": 2 - }, - "match": "datawriter" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dataflow0_init.json b/examples/ruemu_conf/data/dataflow0_init.json deleted file mode 100644 index adc74a00..00000000 --- a/examples/ruemu_conf/data/dataflow0_init.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_records", - "uri": "queue://FollySPSC:11" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://{trigger}:12350" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://0.0.0.0:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "triginh", - "uri": "tcp://{dfo}:12353" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "trigger_decision_0", - "uri": "tcp://0.0.0.0:12354" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://{ruemu0}:12355" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "trmon_dqm2df_0", - "uri": "tcp://0.0.0.0:12356" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "tr_df2dqm_0", - "uri": "tcp://{dqm0-df}:12357" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "trigger_decision_input", - "uid": "trigger_decision_0" - }, - { - "dir": "kInput", - "name": "mon_connection", - "uid": "trmon_dqm2df_0" - }, - { - "dir": "kInput", - "name": "data_fragment_all", - "uid": "fragments_to_dataflow0" - }, - { - "dir": "kOutput", - "name": "request_output_trigger", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "request_output_ruemu0", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kOutput", - "name": "trigger_record_output", - "uid": "trigger_records" - } - ] - }, - "inst": "trb", - "plugin": "TriggerRecordBuilder" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "token_output", - "uid": "triginh" - }, - { - "dir": "kInput", - "name": "trigger_record_input", - "uid": "trigger_records" - } - ] - }, - "inst": "datawriter", - "plugin": "DataWriter" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dfo_conf.json b/examples/ruemu_conf/data/dfo_conf.json deleted file mode 100644 index 480d2cd9..00000000 --- a/examples/ruemu_conf/data/dfo_conf.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "modules": [ - { - "data": { - "dataflow_applications": [ - { - "connection_uid": "trigger_decision_0", - "thresholds": { - "busy": 10, - "free": 5 - } - } - ], - "general_queue_timeout": 100, - "stop_timeout": 10000, - "td_send_retries": 5 - }, - "match": "dfo" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dfo_init.json b/examples/ruemu_conf/data/dfo_init.json deleted file mode 100644 index f16b0696..00000000 --- a/examples/ruemu_conf/data/dfo_init.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "td_to_dfo", - "uri": "tcp://0.0.0.0:12348" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "df_busy_signal", - "uri": "tcp://{trigger}:12349" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "triginh", - "uri": "tcp://0.0.0.0:12353" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "trigger_decision_0", - "uri": "tcp://{dataflow0}:12354" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "td_connection", - "uid": "td_to_dfo" - }, - { - "dir": "kInput", - "name": "token_connection", - "uid": "triginh" - }, - { - "dir": "kOutput", - "name": "busy_connection", - "uid": "df_busy_signal" - }, - { - "dir": "kOutput", - "name": "trigger_0_connection", - "uid": "trigger_decision_0" - } - ] - }, - "inst": "dfo", - "plugin": "DataFlowOrchestrator" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dqm0-df_conf.json b/examples/ruemu_conf/data/dqm0-df_conf.json deleted file mode 100644 index a5669bd8..00000000 --- a/examples/ruemu_conf/data/dqm0-df_conf.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "modules": [ - { - "data": { - "channel_map": "HD", - "channel_mask": { - "how_often": 0.0, - "num_frames": 0 - }, - "clock_frequency": 50000000, - "df2dqm_connection_name": "tr_df2dqm_0", - "df_algs": 11, - "df_num_frames": 80, - "df_offset": 0.0, - "df_seconds": 10.0, - "dqm2df_connection_name": "trmon_dqm2df_0", - "fourier": { - "how_often": 0.0, - "num_frames": 0 - }, - "fourier_sum": { - "how_often": 0.0, - "num_frames": 0 - }, - "frontend_type": "wib2", - "hist": { - "how_often": 0.0, - "num_frames": 0 - }, - "kafka_address": "", - "link_idx": [ - 0, - 1 - ], - "mean_rms": { - "how_often": 0.0, - "num_frames": 0 - }, - "mode": "df", - "readout_window_offset": 10000000, - "region": 0, - "timesync_topic_name": "Timesync" - }, - "match": "dqmprocessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dqm0-df_init.json b/examples/ruemu_conf/data/dqm0-df_init.json deleted file mode 100644 index 5e4074dc..00000000 --- a/examples/ruemu_conf/data/dqm0-df_init.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "trmon_dqm2df_0", - "uri": "tcp://{dataflow0}:12356" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "tr_df2dqm_0", - "uri": "tcp://0.0.0.0:12357" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://{ruemu0}:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://{ruemu0}:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [] - }, - "inst": "dqmprocessor", - "plugin": "DQMProcessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dqm0-ru_conf.json b/examples/ruemu_conf/data/dqm0-ru_conf.json deleted file mode 100644 index 58437e4f..00000000 --- a/examples/ruemu_conf/data/dqm0-ru_conf.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "modules": [ - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_requests_for_trigger", - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 1, - "region": 0, - "system": "TPC" - } - ], - "max_time_window": 0, - "reply_connection_name": "fragments_to_dqm0-ru", - "trigger_record_timeout_ms": 0 - }, - "match": "trb_dqm" - }, - { - "data": { - "channel_map": "HD", - "channel_mask": { - "how_often": 60.0, - "num_frames": 1 - }, - "clock_frequency": 50000000, - "df2dqm_connection_name": "tr_df2dqm_0", - "df_algs": 11, - "df_num_frames": 0, - "df_offset": 0.0, - "df_seconds": 0.0, - "dqm2df_connection_name": "trmon_dqm2df_0", - "fourier": { - "how_often": 0.0, - "num_frames": 0 - }, - "fourier_sum": { - "how_often": 600.0, - "num_frames": 1000 - }, - "frontend_type": "wib2", - "hist": { - "how_often": 60.0, - "num_frames": 50 - }, - "kafka_address": "", - "link_idx": [ - 0, - 1 - ], - "mean_rms": { - "how_often": 10.0, - "num_frames": 100 - }, - "mode": "readout", - "readout_window_offset": 10000000, - "region": 0, - "timesync_topic_name": "Timesync" - }, - "match": "dqmprocessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/dqm0-ru_init.json b/examples/ruemu_conf/data/dqm0-ru_init.json deleted file mode 100644 index f489e844..00000000 --- a/examples/ruemu_conf/data/dqm0-ru_init.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_decision_q_dqm", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_record_q_dqm", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://{trigger}:12350" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://0.0.0.0:12352" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://{ruemu0}:12355" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://{ruemu0}:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://{ruemu0}:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "data_fragment_all", - "uid": "fragments_to_dqm0-ru" - }, - { - "dir": "kOutput", - "name": "request_output_trigger", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "request_output_ruemu0", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kInput", - "name": "trigger_decision_input", - "uid": "trigger_decision_q_dqm" - }, - { - "dir": "kOutput", - "name": "trigger_record_output", - "uid": "trigger_record_q_dqm" - } - ] - }, - "inst": "trb_dqm", - "plugin": "TriggerRecordBuilder" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "trigger_decision_input_queue", - "uid": "trigger_decision_q_dqm" - }, - { - "dir": "kInput", - "name": "trigger_record_dqm_processor", - "uid": "trigger_record_q_dqm" - } - ] - }, - "inst": "dqmprocessor", - "plugin": "DQMProcessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/hsi_conf.json b/examples/ruemu_conf/data/hsi_conf.json deleted file mode 100644 index 8a223b8f..00000000 --- a/examples/ruemu_conf/data/hsi_conf.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "modules": [ - { - "data": { - "clock_frequency": 50000000, - "enabled_signals": 1, - "hsi_device_id": 1, - "hsievent_connection_name": "hsievents", - "mean_signal_multiplicity": 1, - "signal_emulation_mode": 0, - "timestamp_offset": 0, - "timesync_topic": "Timesync", - "trigger_rate": 1.0 - }, - "match": "fhsig" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/hsi_init.json b/examples/ruemu_conf/data/hsi_init.json deleted file mode 100644 index 4a726b2c..00000000 --- a/examples/ruemu_conf/data/hsi_init.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "hsievents", - "uri": "tcp://{trigger}:12347" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://{ruemu0}:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://{ruemu0}:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [] - }, - "inst": "fhsig", - "plugin": "FakeHSIEventGenerator" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/ruemu0_conf.json b/examples/ruemu_conf/data/ruemu0_conf.json deleted file mode 100644 index ddfdfe94..00000000 --- a/examples/ruemu_conf/data/ruemu0_conf.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "modules": [ - { - "data": { - "latencybufferconf": { - "element_id": 0, - "latency_buffer_alignment_size": 4096, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 499968, - "region_id": 0 - }, - "rawdataprocessorconf": { - "channel_map_felix": "", - "channel_map_name": "ProtoDUNESP1ChannelMap", - "channel_map_rce": "", - "element_id": 0, - "emulator_mode": true, - "enable_firmware_tpg": false, - "enable_software_tpg": false, - "error_counter_threshold": 100, - "error_reset_freq": 10000, - "fwtp_stitch_constant": 2000, - "postprocess_queue_sizes": 10000, - "region_id": 0, - "tp_timeout": 100000, - "tpset_topic": "None", - "tpset_window_size": 10000 - }, - "readoutmodelconf": { - "element_id": 0, - "fake_trigger_flag": 0, - "region_id": 0, - "source_queue_timeout_ms": 10, - "timesync_connection_name": "timesync_0", - "timesync_topic_name": "Timesync" - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 0, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 499968, - "num_request_handling_threads": 4, - "output_file": "./output_0_0.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 0, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": true - } - }, - "match": "datahandler_0" - }, - { - "data": { - "latencybufferconf": { - "element_id": 1, - "latency_buffer_alignment_size": 4096, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 499968, - "region_id": 0 - }, - "rawdataprocessorconf": { - "channel_map_felix": "", - "channel_map_name": "ProtoDUNESP1ChannelMap", - "channel_map_rce": "", - "element_id": 1, - "emulator_mode": true, - "enable_firmware_tpg": false, - "enable_software_tpg": false, - "error_counter_threshold": 100, - "error_reset_freq": 10000, - "fwtp_stitch_constant": 2000, - "postprocess_queue_sizes": 10000, - "region_id": 0, - "tp_timeout": 100000, - "tpset_topic": "None", - "tpset_window_size": 10000 - }, - "readoutmodelconf": { - "element_id": 1, - "fake_trigger_flag": 0, - "region_id": 0, - "source_queue_timeout_ms": 10, - "timesync_connection_name": "timesync_0", - "timesync_topic_name": "Timesync" - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 1, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 499968, - "num_request_handling_threads": 4, - "output_file": "./output_0_1.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 0, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": true - } - }, - "match": "datahandler_1" - }, - { - "data": { - "link_confs": [ - { - "data_filename": "./frames.bin", - "emu_frame_error_rate": 0.0, - "geoid": { - "element": 0, - "region": 0, - "system": "TPC" - }, - "input_limit": 10485100, - "queue_name": "output_0", - "random_population_size": 10000, - "slowdown": 1.0, - "tp_data_filename": "/tmp/tp_frames.bin" - }, - { - "data_filename": "./frames.bin", - "emu_frame_error_rate": 0.0, - "geoid": { - "element": 1, - "region": 0, - "system": "TPC" - }, - "input_limit": 10485100, - "queue_name": "output_1", - "random_population_size": 10000, - "slowdown": 1.0, - "tp_data_filename": "/tmp/tp_frames.bin" - } - ], - "queue_timeout_ms": 10, - "set_t0_to": -1 - }, - "match": "fake_source" - }, - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_request_q_for_geoidTPC_0_0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_request_q_for_geoidTPC_0_1", - "element": 1, - "region": 0, - "system": "TPC" - } - ] - }, - "match": "request_receiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/ruemu0_init.json b/examples/ruemu_conf/data/ruemu0_init.json deleted file mode 100644 index 0f242770..00000000 --- a/examples/ruemu_conf/data/ruemu0_init.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "wib2_link_0", - "uri": "queue://FollySPSC:100000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "wib2_link_1", - "uri": "queue://FollySPSC:100000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidTPC_0_0", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidTPC_0_1", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://{dataflow0}:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://{dqm0-ru}:12352" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://0.0.0.0:12355" - }, - { - "data_type": "", - "service_type": "kPublisher", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0", - "uri": "tcp://0.0.0.0:12358" - }, - { - "data_type": "", - "service_type": "kPublisher", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1", - "uri": "tcp://0.0.0.0:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "timesync_output", - "uid": "timesync_ru0_0" - }, - { - "dir": "kInput", - "name": "raw_input", - "uid": "wib2_link_0" - }, - { - "dir": "kInput", - "name": "request_input", - "uid": "data_request_q_for_geoidTPC_0_0" - } - ] - }, - "inst": "datahandler_0", - "plugin": "DataLinkHandler" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "timesync_output", - "uid": "timesync_ru0_1" - }, - { - "dir": "kInput", - "name": "raw_input", - "uid": "wib2_link_1" - }, - { - "dir": "kInput", - "name": "request_input", - "uid": "data_request_q_for_geoidTPC_0_1" - } - ] - }, - "inst": "datahandler_1", - "plugin": "DataLinkHandler" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "output_0", - "uid": "wib2_link_0" - }, - { - "dir": "kOutput", - "name": "output_1", - "uid": "wib2_link_1" - } - ] - }, - "inst": "fake_source", - "plugin": "FakeCardReader" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kOutput", - "name": "data_request_geoidTPC_0_0", - "uid": "data_request_q_for_geoidTPC_0_0" - }, - { - "dir": "kOutput", - "name": "data_request_geoidTPC_0_1", - "uid": "data_request_q_for_geoidTPC_0_1" - } - ] - }, - "inst": "request_receiver", - "plugin": "RequestReceiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/trigger_conf.json b/examples/ruemu_conf/data/trigger_conf.json deleted file mode 100644 index 1885ea84..00000000 --- a/examples/ruemu_conf/data/trigger_conf.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "modules": [ - { - "data": { - "latencybufferconf": { - "element_id": 10000, - "latency_buffer_alignment_size": 0, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 100000, - "region_id": 20000 - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 0, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 100000, - "num_request_handling_threads": 4, - "output_file": "output.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 20000, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": false - } - }, - "match": "tc_buf" - }, - { - "match": "tctee_ttcm" - }, - { - "data": { - "hsi_trigger_type_passthrough": false, - "hsievent_connection_name": "hsievents", - "s0": { - "signal_type": 0, - "time_after": 1000, - "time_before": 1000 - }, - "s1": { - "signal_type": 1, - "time_after": 1000, - "time_before": 1000 - }, - "s2": { - "signal_type": 2, - "time_after": 1000, - "time_before": 1000 - } - }, - "match": "ttcm" - }, - { - "data": { - "dfo_busy_connection": "df_busy_signal", - "dfo_connection": "td_to_dfo", - "hsi_trigger_type_passthrough": false, - "links": [ - { - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "element": 1, - "region": 0, - "system": "TPC" - } - ] - }, - "match": "mlt" - }, - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_request_q_for_geoidDataSelection_20000_0", - "element": 0, - "region": 20000, - "system": "DataSelection" - } - ] - }, - "match": "request_receiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/data/trigger_init.json b/examples/ruemu_conf/data/trigger_init.json deleted file mode 100644 index 443d7620..00000000 --- a/examples/ruemu_conf/data/trigger_init.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "ttcm_input", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "tcs_to_mlt", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "tcs_to_buf", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidDataSelection_20000_0", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "hsievents", - "uri": "tcp://0.0.0.0:12347" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "td_to_dfo", - "uri": "tcp://{dfo}:12348" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "df_busy_signal", - "uri": "tcp://0.0.0.0:12349" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://0.0.0.0:12350" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://{dataflow0}:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://{dqm0-ru}:12352" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "tc_source", - "uid": "tcs_to_buf" - }, - { - "dir": "kInput", - "name": "data_request_source", - "uid": "data_request_q_for_geoidDataSelection_20000_0" - } - ] - }, - "inst": "tc_buf", - "plugin": "TCBuffer" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "ttcm_input" - }, - { - "dir": "kOutput", - "name": "output1", - "uid": "tcs_to_mlt" - }, - { - "dir": "kOutput", - "name": "output2", - "uid": "tcs_to_buf" - } - ] - }, - "inst": "tctee_ttcm", - "plugin": "TCTee" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "output", - "uid": "ttcm_input" - } - ] - }, - "inst": "ttcm", - "plugin": "TimingTriggerCandidateMaker" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "trigger_candidate_source", - "uid": "tcs_to_mlt" - } - ] - }, - "inst": "mlt", - "plugin": "ModuleLevelTrigger" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "data_request_geoidDataSelection_20000_0", - "uid": "data_request_q_for_geoidDataSelection_20000_0" - } - ] - }, - "inst": "request_receiver", - "plugin": "RequestReceiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf/init.json b/examples/ruemu_conf/init.json deleted file mode 100644 index 50afa71c..00000000 --- a/examples/ruemu_conf/init.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "apps": { - "dataflow0": "data/dataflow0_init", - "dfo": "data/dfo_init", - "dqm0-df": "data/dqm0-df_init", - "dqm0-ru": "data/dqm0-ru_init", - "hsi": "data/hsi_init", - "ruemu0": "data/ruemu0_init", - "trigger": "data/trigger_init" - } -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/boot.json b/examples/ruemu_conf_k8s/boot.json deleted file mode 100644 index 7e69acd2..00000000 --- a/examples/ruemu_conf_k8s/boot.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "apps": { - "dataflow0": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [ - { - "in_pod_location": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/nanorc/examples", - "name": "raw-data", - "physical_location": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/nanorc/examples", - "read_only": false - } - ], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "dfo": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "dqm0-df": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "dqm0-ru": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "hsi": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "ruemu0": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - }, - "trigger": { - "affinity": [], - "anti-affinity": [], - "exec": "daq_application_k8s", - "mounted_dirs": [], - "node-selection": [], - "port": 3333, - "resources": {} - } - }, - "env": { - "DUNEDAQ_ERS_DEBUG_LEVEL": "getenv_ifset", - "DUNEDAQ_ERS_ERROR": "erstrace,throttle,lstdout", - "DUNEDAQ_ERS_FATAL": "erstrace,lstdout", - "DUNEDAQ_ERS_INFO": "erstrace,throttle,lstdout", - "DUNEDAQ_ERS_VERBOSITY_LEVEL": "getenv:1", - "DUNEDAQ_ERS_WARNING": "erstrace,throttle,lstdout" - }, - "exec": { - "daq_application_k8s": { - "args": [ - "--name", - "{APP_NAME}", - "-c", - "{CMD_FAC}", - "-i", - "{INFO_SVC}", - "--configurationService", - "{CONF_LOC}" - ], - "cmd": [ - "/dunedaq/run/app-entrypoint.sh" - ], - "comment": "Application profile using PATH variables (lower start time)", - "env": { - "CET_PLUGIN_PATH": "getenv", - "CMD_FAC": "rest://localhost:{APP_PORT}", - "DETCHANNELMAPS_SHARE": "getenv", - "DUNEDAQ_SHARE_PATH": "getenv", - "INFO_SVC": "file://info_{APP_NAME}_{APP_PORT}.json", - "LD_LIBRARY_PATH": "getenv", - "PATH": "getenv", - "TIMING_SHARE": "getenv", - "TRACE_FILE": "getenv:/tmp/trace_buffer_{APP_HOST}_{DUNEDAQ_PARTITION}" - }, - "image": "np04docker.cern.ch/dunedaq-local/dunedaq-v3.1.0--22-07-26" - } - }, - "external_connections": [], - "order": [ - "ruemu0", - "dataflow0", - "hsi", - "trigger", - "dfo", - "dqm0-ru", - "dqm0-df" - ], - "response_listener": { - "port": 56789 - } -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/conf.json b/examples/ruemu_conf_k8s/conf.json deleted file mode 100644 index bda025d9..00000000 --- a/examples/ruemu_conf_k8s/conf.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "apps": { - "dataflow0": "data/dataflow0_conf", - "dfo": "data/dfo_conf", - "dqm0-df": "data/dqm0-df_conf", - "dqm0-ru": "data/dqm0-ru_conf", - "hsi": "data/hsi_conf", - "ruemu0": "data/ruemu0_conf", - "trigger": "data/trigger_conf" - } -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/daqconf_multiru_gen.info b/examples/ruemu_conf_k8s/daqconf_multiru_gen.info deleted file mode 100644 index 335ca88d..00000000 --- a/examples/ruemu_conf_k8s/daqconf_multiru_gen.info +++ /dev/null @@ -1,16 +0,0 @@ -{ - "build_info": { - "build time": "Mon 1 Aug 13:14:10 CEST 2022", - "git branch": "plasorak/felix-resources", - "git commit author": "Pierre Lasorak", - "git commit description": "use Enrico's flx resources properly", - "git commit hash": "e0edba640819c8d291e4552697e4c0dec331f660", - "git commit time": "Mon Aug 1 10:36:34 2022 +0200", - "hostname for build": "np04-srv-019", - "local repo dir": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/sourcecode/daqconf", - "uncommitted changes": "", - "user for build": "plasorak" - }, - "command_line": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/install/daqconf/bin/daqconf_multiru_gen --frontend-type wib2 --use-k8s --image np04docker.cern.ch/dunedaq-local/dunedaq-v3.1.0--22-07-26 -e --enable-dqm ruemu_conf_k8s", - "daqconf_exe_dir": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/install/daqconf/bin" -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dataflow0_conf.json b/examples/ruemu_conf_k8s/data/dataflow0_conf.json deleted file mode 100644 index 32cf13e0..00000000 --- a/examples/ruemu_conf_k8s/data/dataflow0_conf.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "modules": [ - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_requests_for_trigger", - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 1, - "region": 0, - "system": "TPC" - } - ], - "max_time_window": 0, - "reply_connection_name": "fragments_to_dataflow0", - "trigger_record_timeout_ms": 2858 - }, - "match": "trb" - }, - { - "data": { - "data_storage_prescale": 1, - "data_store_parameters": { - "directory_path": "/nfs/home/plasorak/dunedaq-v3.1.0/swdir/nanorc/examples", - "disable_unique_filename_suffix": false, - "file_layout_parameters": { - "digits_for_record_number": 5, - "digits_for_sequence_number": 4, - "path_param_list": [ - { - "detector_group_name": "TPC", - "detector_group_type": "TPC", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Link", - "region_name_prefix": "APA" - }, - { - "detector_group_name": "PDS", - "detector_group_type": "PDS", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - }, - { - "detector_group_name": "NDLArTPC", - "detector_group_type": "NDLArTPC", - "digits_for_element_number": 2, - "digits_for_region_number": 3, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - }, - { - "detector_group_name": "Trigger", - "detector_group_type": "DataSelection", - "digits_for_element_number": 5, - "digits_for_region_number": 5, - "element_name_prefix": "Element", - "region_name_prefix": "Region" - } - ], - "record_header_dataset_name": "TriggerRecordHeader", - "record_name_prefix": "TriggerRecord" - }, - "filename_parameters": { - "digits_for_file_index": 4, - "digits_for_run_number": 6, - "digits_for_trigger_number": 6, - "file_index_prefix": "", - "overall_prefix": "swtest", - "run_number_prefix": "run", - "trigger_number_prefix": "" - }, - "free_space_safety_factor_for_write": 5.0, - "max_file_size_bytes": 4294967296, - "mode": "all-per-file", - "name": "data_store", - "operational_environment": "swtest", - "type": "HDF5DataStore" - }, - "decision_connection": "trigger_decision_0", - "max_write_retry_time_usec": 1000000, - "min_write_retry_time_usec": 1000, - "write_retry_time_increase_factor": 2 - }, - "match": "datawriter" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dataflow0_init.json b/examples/ruemu_conf_k8s/data/dataflow0_init.json deleted file mode 100644 index 27b0246b..00000000 --- a/examples/ruemu_conf_k8s/data/dataflow0_init.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_records", - "uri": "queue://FollySPSC:11" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://trigger:12350" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://0.0.0.0:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "triginh", - "uri": "tcp://dfo:12353" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "trigger_decision_0", - "uri": "tcp://0.0.0.0:12354" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://ruemu0:12355" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "trmon_dqm2df_0", - "uri": "tcp://0.0.0.0:12356" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "tr_df2dqm_0", - "uri": "tcp://dqm0-df:12357" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "trigger_decision_input", - "uid": "trigger_decision_0" - }, - { - "dir": "kInput", - "name": "mon_connection", - "uid": "trmon_dqm2df_0" - }, - { - "dir": "kInput", - "name": "data_fragment_all", - "uid": "fragments_to_dataflow0" - }, - { - "dir": "kOutput", - "name": "request_output_trigger", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "request_output_ruemu0", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kOutput", - "name": "trigger_record_output", - "uid": "trigger_records" - } - ] - }, - "inst": "trb", - "plugin": "TriggerRecordBuilder" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "token_output", - "uid": "triginh" - }, - { - "dir": "kInput", - "name": "trigger_record_input", - "uid": "trigger_records" - } - ] - }, - "inst": "datawriter", - "plugin": "DataWriter" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dfo_conf.json b/examples/ruemu_conf_k8s/data/dfo_conf.json deleted file mode 100644 index 480d2cd9..00000000 --- a/examples/ruemu_conf_k8s/data/dfo_conf.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "modules": [ - { - "data": { - "dataflow_applications": [ - { - "connection_uid": "trigger_decision_0", - "thresholds": { - "busy": 10, - "free": 5 - } - } - ], - "general_queue_timeout": 100, - "stop_timeout": 10000, - "td_send_retries": 5 - }, - "match": "dfo" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dfo_init.json b/examples/ruemu_conf_k8s/data/dfo_init.json deleted file mode 100644 index f806c91f..00000000 --- a/examples/ruemu_conf_k8s/data/dfo_init.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "td_to_dfo", - "uri": "tcp://0.0.0.0:12348" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "df_busy_signal", - "uri": "tcp://trigger:12349" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "triginh", - "uri": "tcp://0.0.0.0:12353" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "trigger_decision_0", - "uri": "tcp://dataflow0:12354" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "td_connection", - "uid": "td_to_dfo" - }, - { - "dir": "kInput", - "name": "token_connection", - "uid": "triginh" - }, - { - "dir": "kOutput", - "name": "busy_connection", - "uid": "df_busy_signal" - }, - { - "dir": "kOutput", - "name": "trigger_0_connection", - "uid": "trigger_decision_0" - } - ] - }, - "inst": "dfo", - "plugin": "DataFlowOrchestrator" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dqm0-df_conf.json b/examples/ruemu_conf_k8s/data/dqm0-df_conf.json deleted file mode 100644 index a5669bd8..00000000 --- a/examples/ruemu_conf_k8s/data/dqm0-df_conf.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "modules": [ - { - "data": { - "channel_map": "HD", - "channel_mask": { - "how_often": 0.0, - "num_frames": 0 - }, - "clock_frequency": 50000000, - "df2dqm_connection_name": "tr_df2dqm_0", - "df_algs": 11, - "df_num_frames": 80, - "df_offset": 0.0, - "df_seconds": 10.0, - "dqm2df_connection_name": "trmon_dqm2df_0", - "fourier": { - "how_often": 0.0, - "num_frames": 0 - }, - "fourier_sum": { - "how_often": 0.0, - "num_frames": 0 - }, - "frontend_type": "wib2", - "hist": { - "how_often": 0.0, - "num_frames": 0 - }, - "kafka_address": "", - "link_idx": [ - 0, - 1 - ], - "mean_rms": { - "how_often": 0.0, - "num_frames": 0 - }, - "mode": "df", - "readout_window_offset": 10000000, - "region": 0, - "timesync_topic_name": "Timesync" - }, - "match": "dqmprocessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dqm0-df_init.json b/examples/ruemu_conf_k8s/data/dqm0-df_init.json deleted file mode 100644 index 10154a51..00000000 --- a/examples/ruemu_conf_k8s/data/dqm0-df_init.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "trmon_dqm2df_0", - "uri": "tcp://dataflow0:12356" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "tr_df2dqm_0", - "uri": "tcp://0.0.0.0:12357" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://ruemu0:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://ruemu0:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [] - }, - "inst": "dqmprocessor", - "plugin": "DQMProcessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dqm0-ru_conf.json b/examples/ruemu_conf_k8s/data/dqm0-ru_conf.json deleted file mode 100644 index 58437e4f..00000000 --- a/examples/ruemu_conf_k8s/data/dqm0-ru_conf.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "modules": [ - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_requests_for_trigger", - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_requests_for_ruemu0", - "element": 1, - "region": 0, - "system": "TPC" - } - ], - "max_time_window": 0, - "reply_connection_name": "fragments_to_dqm0-ru", - "trigger_record_timeout_ms": 0 - }, - "match": "trb_dqm" - }, - { - "data": { - "channel_map": "HD", - "channel_mask": { - "how_often": 60.0, - "num_frames": 1 - }, - "clock_frequency": 50000000, - "df2dqm_connection_name": "tr_df2dqm_0", - "df_algs": 11, - "df_num_frames": 0, - "df_offset": 0.0, - "df_seconds": 0.0, - "dqm2df_connection_name": "trmon_dqm2df_0", - "fourier": { - "how_often": 0.0, - "num_frames": 0 - }, - "fourier_sum": { - "how_often": 600.0, - "num_frames": 1000 - }, - "frontend_type": "wib2", - "hist": { - "how_often": 60.0, - "num_frames": 50 - }, - "kafka_address": "", - "link_idx": [ - 0, - 1 - ], - "mean_rms": { - "how_often": 10.0, - "num_frames": 100 - }, - "mode": "readout", - "readout_window_offset": 10000000, - "region": 0, - "timesync_topic_name": "Timesync" - }, - "match": "dqmprocessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/dqm0-ru_init.json b/examples/ruemu_conf_k8s/data/dqm0-ru_init.json deleted file mode 100644 index 7dced4f3..00000000 --- a/examples/ruemu_conf_k8s/data/dqm0-ru_init.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_decision_q_dqm", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "trigger_record_q_dqm", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://trigger:12350" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://0.0.0.0:12352" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://ruemu0:12355" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://ruemu0:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://ruemu0:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "data_fragment_all", - "uid": "fragments_to_dqm0-ru" - }, - { - "dir": "kOutput", - "name": "request_output_trigger", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "request_output_ruemu0", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kInput", - "name": "trigger_decision_input", - "uid": "trigger_decision_q_dqm" - }, - { - "dir": "kOutput", - "name": "trigger_record_output", - "uid": "trigger_record_q_dqm" - } - ] - }, - "inst": "trb_dqm", - "plugin": "TriggerRecordBuilder" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "trigger_decision_input_queue", - "uid": "trigger_decision_q_dqm" - }, - { - "dir": "kInput", - "name": "trigger_record_dqm_processor", - "uid": "trigger_record_q_dqm" - } - ] - }, - "inst": "dqmprocessor", - "plugin": "DQMProcessor" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/hsi_conf.json b/examples/ruemu_conf_k8s/data/hsi_conf.json deleted file mode 100644 index 8a223b8f..00000000 --- a/examples/ruemu_conf_k8s/data/hsi_conf.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "modules": [ - { - "data": { - "clock_frequency": 50000000, - "enabled_signals": 1, - "hsi_device_id": 1, - "hsievent_connection_name": "hsievents", - "mean_signal_multiplicity": 1, - "signal_emulation_mode": 0, - "timestamp_offset": 0, - "timesync_topic": "Timesync", - "trigger_rate": 1.0 - }, - "match": "fhsig" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/hsi_init.json b/examples/ruemu_conf_k8s/data/hsi_init.json deleted file mode 100644 index e34b4b93..00000000 --- a/examples/ruemu_conf_k8s/data/hsi_init.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "hsievents", - "uri": "tcp://trigger:12347" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0_sub", - "uri": "tcp://ruemu0:12358" - }, - { - "data_type": "", - "service_type": "kSubscriber", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1_sub", - "uri": "tcp://ruemu0:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [] - }, - "inst": "fhsig", - "plugin": "FakeHSIEventGenerator" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/ruemu0_conf.json b/examples/ruemu_conf_k8s/data/ruemu0_conf.json deleted file mode 100644 index ddfdfe94..00000000 --- a/examples/ruemu_conf_k8s/data/ruemu0_conf.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "modules": [ - { - "data": { - "latencybufferconf": { - "element_id": 0, - "latency_buffer_alignment_size": 4096, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 499968, - "region_id": 0 - }, - "rawdataprocessorconf": { - "channel_map_felix": "", - "channel_map_name": "ProtoDUNESP1ChannelMap", - "channel_map_rce": "", - "element_id": 0, - "emulator_mode": true, - "enable_firmware_tpg": false, - "enable_software_tpg": false, - "error_counter_threshold": 100, - "error_reset_freq": 10000, - "fwtp_stitch_constant": 2000, - "postprocess_queue_sizes": 10000, - "region_id": 0, - "tp_timeout": 100000, - "tpset_topic": "None", - "tpset_window_size": 10000 - }, - "readoutmodelconf": { - "element_id": 0, - "fake_trigger_flag": 0, - "region_id": 0, - "source_queue_timeout_ms": 10, - "timesync_connection_name": "timesync_0", - "timesync_topic_name": "Timesync" - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 0, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 499968, - "num_request_handling_threads": 4, - "output_file": "./output_0_0.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 0, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": true - } - }, - "match": "datahandler_0" - }, - { - "data": { - "latencybufferconf": { - "element_id": 1, - "latency_buffer_alignment_size": 4096, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 499968, - "region_id": 0 - }, - "rawdataprocessorconf": { - "channel_map_felix": "", - "channel_map_name": "ProtoDUNESP1ChannelMap", - "channel_map_rce": "", - "element_id": 1, - "emulator_mode": true, - "enable_firmware_tpg": false, - "enable_software_tpg": false, - "error_counter_threshold": 100, - "error_reset_freq": 10000, - "fwtp_stitch_constant": 2000, - "postprocess_queue_sizes": 10000, - "region_id": 0, - "tp_timeout": 100000, - "tpset_topic": "None", - "tpset_window_size": 10000 - }, - "readoutmodelconf": { - "element_id": 1, - "fake_trigger_flag": 0, - "region_id": 0, - "source_queue_timeout_ms": 10, - "timesync_connection_name": "timesync_0", - "timesync_topic_name": "Timesync" - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 1, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 499968, - "num_request_handling_threads": 4, - "output_file": "./output_0_1.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 0, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": true - } - }, - "match": "datahandler_1" - }, - { - "data": { - "link_confs": [ - { - "data_filename": "./frames.bin", - "emu_frame_error_rate": 0.0, - "geoid": { - "element": 0, - "region": 0, - "system": "TPC" - }, - "input_limit": 10485100, - "queue_name": "output_0", - "random_population_size": 10000, - "slowdown": 1.0, - "tp_data_filename": "/tmp/tp_frames.bin" - }, - { - "data_filename": "./frames.bin", - "emu_frame_error_rate": 0.0, - "geoid": { - "element": 1, - "region": 0, - "system": "TPC" - }, - "input_limit": 10485100, - "queue_name": "output_1", - "random_population_size": 10000, - "slowdown": 1.0, - "tp_data_filename": "/tmp/tp_frames.bin" - } - ], - "queue_timeout_ms": 10, - "set_t0_to": -1 - }, - "match": "fake_source" - }, - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_request_q_for_geoidTPC_0_0", - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "connection_uid": "data_request_q_for_geoidTPC_0_1", - "element": 1, - "region": 0, - "system": "TPC" - } - ] - }, - "match": "request_receiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/ruemu0_init.json b/examples/ruemu_conf_k8s/data/ruemu0_init.json deleted file mode 100644 index e9a898b1..00000000 --- a/examples/ruemu_conf_k8s/data/ruemu0_init.json +++ /dev/null @@ -1,160 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "wib2_link_0", - "uri": "queue://FollySPSC:100000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "wib2_link_1", - "uri": "queue://FollySPSC:100000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidTPC_0_0", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidTPC_0_1", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://dataflow0:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://dqm0-ru:12352" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "data_requests_for_ruemu0", - "uri": "tcp://0.0.0.0:12355" - }, - { - "data_type": "", - "service_type": "kPublisher", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_0", - "uri": "tcp://0.0.0.0:12358" - }, - { - "data_type": "", - "service_type": "kPublisher", - "topics": [ - "Timesync" - ], - "uid": "timesync_ru0_1", - "uri": "tcp://0.0.0.0:12359" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "timesync_output", - "uid": "timesync_ru0_0" - }, - { - "dir": "kInput", - "name": "raw_input", - "uid": "wib2_link_0" - }, - { - "dir": "kInput", - "name": "request_input", - "uid": "data_request_q_for_geoidTPC_0_0" - } - ] - }, - "inst": "datahandler_0", - "plugin": "DataLinkHandler" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "timesync_output", - "uid": "timesync_ru0_1" - }, - { - "dir": "kInput", - "name": "raw_input", - "uid": "wib2_link_1" - }, - { - "dir": "kInput", - "name": "request_input", - "uid": "data_request_q_for_geoidTPC_0_1" - } - ] - }, - "inst": "datahandler_1", - "plugin": "DataLinkHandler" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "output_0", - "uid": "wib2_link_0" - }, - { - "dir": "kOutput", - "name": "output_1", - "uid": "wib2_link_1" - } - ] - }, - "inst": "fake_source", - "plugin": "FakeCardReader" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "data_requests_for_ruemu0" - }, - { - "dir": "kOutput", - "name": "data_request_geoidTPC_0_0", - "uid": "data_request_q_for_geoidTPC_0_0" - }, - { - "dir": "kOutput", - "name": "data_request_geoidTPC_0_1", - "uid": "data_request_q_for_geoidTPC_0_1" - } - ] - }, - "inst": "request_receiver", - "plugin": "RequestReceiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/trigger_conf.json b/examples/ruemu_conf_k8s/data/trigger_conf.json deleted file mode 100644 index 1885ea84..00000000 --- a/examples/ruemu_conf_k8s/data/trigger_conf.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "modules": [ - { - "data": { - "latencybufferconf": { - "element_id": 10000, - "latency_buffer_alignment_size": 0, - "latency_buffer_intrinsic_allocator": false, - "latency_buffer_numa_aware": false, - "latency_buffer_numa_node": 0, - "latency_buffer_preallocation": false, - "latency_buffer_size": 100000, - "region_id": 20000 - }, - "requesthandlerconf": { - "compression_algorithm": "None", - "element_id": 0, - "enable_raw_recording": false, - "fragment_queue_timeout_ms": 100, - "latency_buffer_size": 100000, - "num_request_handling_threads": 4, - "output_file": "output.out", - "pop_limit_pct": 0.8, - "pop_size_pct": 0.1, - "region_id": 20000, - "request_timeout_ms": 1000, - "stream_buffer_size": 8388608, - "use_o_direct": true, - "warn_on_timeout": false - } - }, - "match": "tc_buf" - }, - { - "match": "tctee_ttcm" - }, - { - "data": { - "hsi_trigger_type_passthrough": false, - "hsievent_connection_name": "hsievents", - "s0": { - "signal_type": 0, - "time_after": 1000, - "time_before": 1000 - }, - "s1": { - "signal_type": 1, - "time_after": 1000, - "time_before": 1000 - }, - "s2": { - "signal_type": 2, - "time_after": 1000, - "time_before": 1000 - } - }, - "match": "ttcm" - }, - { - "data": { - "dfo_busy_connection": "df_busy_signal", - "dfo_connection": "td_to_dfo", - "hsi_trigger_type_passthrough": false, - "links": [ - { - "element": 0, - "region": 20000, - "system": "DataSelection" - }, - { - "element": 0, - "region": 0, - "system": "TPC" - }, - { - "element": 1, - "region": 0, - "system": "TPC" - } - ] - }, - "match": "mlt" - }, - { - "data": { - "general_queue_timeout": 100, - "map": [ - { - "connection_uid": "data_request_q_for_geoidDataSelection_20000_0", - "element": 0, - "region": 20000, - "system": "DataSelection" - } - ] - }, - "match": "request_receiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/data/trigger_init.json b/examples/ruemu_conf_k8s/data/trigger_init.json deleted file mode 100644 index d993f381..00000000 --- a/examples/ruemu_conf_k8s/data/trigger_init.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "connections": [ - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "ttcm_input", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "tcs_to_mlt", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "tcs_to_buf", - "uri": "queue://FollySPSC:1000" - }, - { - "data_type": "", - "service_type": "kQueue", - "topics": [], - "uid": "data_request_q_for_geoidDataSelection_20000_0", - "uri": "queue://FollySPSC:10" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "hsievents", - "uri": "tcp://0.0.0.0:12347" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "td_to_dfo", - "uri": "tcp://dfo:12348" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "df_busy_signal", - "uri": "tcp://0.0.0.0:12349" - }, - { - "data_type": "", - "service_type": "kNetReceiver", - "topics": [], - "uid": "data_requests_for_trigger", - "uri": "tcp://0.0.0.0:12350" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dataflow0", - "uri": "tcp://dataflow0:12351" - }, - { - "data_type": "", - "service_type": "kNetSender", - "topics": [], - "uid": "fragments_to_dqm0-ru", - "uri": "tcp://dqm0-ru:12352" - } - ], - "modules": [ - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "tc_source", - "uid": "tcs_to_buf" - }, - { - "dir": "kInput", - "name": "data_request_source", - "uid": "data_request_q_for_geoidDataSelection_20000_0" - } - ] - }, - "inst": "tc_buf", - "plugin": "TCBuffer" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "ttcm_input" - }, - { - "dir": "kOutput", - "name": "output1", - "uid": "tcs_to_mlt" - }, - { - "dir": "kOutput", - "name": "output2", - "uid": "tcs_to_buf" - } - ] - }, - "inst": "tctee_ttcm", - "plugin": "TCTee" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kOutput", - "name": "output", - "uid": "ttcm_input" - } - ] - }, - "inst": "ttcm", - "plugin": "TimingTriggerCandidateMaker" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "trigger_candidate_source", - "uid": "tcs_to_mlt" - } - ] - }, - "inst": "mlt", - "plugin": "ModuleLevelTrigger" - }, - { - "data": { - "conn_refs": [ - { - "dir": "kInput", - "name": "input", - "uid": "data_requests_for_trigger" - }, - { - "dir": "kOutput", - "name": "data_request_geoidDataSelection_20000_0", - "uid": "data_request_q_for_geoidDataSelection_20000_0" - } - ] - }, - "inst": "request_receiver", - "plugin": "RequestReceiver" - } - ] -} \ No newline at end of file diff --git a/examples/ruemu_conf_k8s/init.json b/examples/ruemu_conf_k8s/init.json deleted file mode 100644 index 50afa71c..00000000 --- a/examples/ruemu_conf_k8s/init.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "apps": { - "dataflow0": "data/dataflow0_init", - "dfo": "data/dfo_init", - "dqm0-df": "data/dqm0-df_init", - "dqm0-ru": "data/dqm0-ru_init", - "hsi": "data/hsi_init", - "ruemu0": "data/ruemu0_init", - "trigger": "data/trigger_init" - } -} \ No newline at end of file From ffa7fd291fe392d50c5d56c31bb2251ae59629b4 Mon Sep 17 00:00:00 2001 From: Pierre Lasorak Date: Thu, 5 Oct 2023 17:51:22 +0200 Subject: [PATCH 2/3] forgotten bits --- docs/FAQ-k8s.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/FAQ-k8s.md b/docs/FAQ-k8s.md index 6e967df3..79b76636 100644 --- a/docs/FAQ-k8s.md +++ b/docs/FAQ-k8s.md @@ -2,9 +2,8 @@ ## What was that command again to use K8s with the NP04 cluster? ```bash -daqconf_multiru_gen --force-pm k8s .... conf-dir # generate the configuration in the usual way, with the --force-pm -upload_conf conf-dir conf-name # upload the configuration to the service -nanorc --pm k8s://np04-srv-015:31000 db://conf-name # tell nanorc to run k8s process manager +fddaqconf_gen --force-pm k8s .... conf-dir # generate the configuration in the usual way, with the --force-pm +nanorc --pm k8s://np04-srv-016:31000 conf-dir session-name ``` ## NanoRC exited ungracefully and all my apps are still running, what do I do? From b8611ca4f6e83978fd3636ccda8131339bf621a6 Mon Sep 17 00:00:00 2001 From: Pierre Lasorak Date: Thu, 5 Oct 2023 17:55:09 +0200 Subject: [PATCH 3/3] remove useless sentence --- docs/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 0fe74d00..908ca9b6 100644 --- a/docs/README.md +++ b/docs/README.md @@ -363,7 +363,7 @@ NAME READY STATUS RESTARTS AGE dataflow0 1/1 Running 0 66s ... ``` -to get a list of pods corresponding to DAQ applications. This should be run from the node that hosts the control plane, which is `np04-srv-015`. (The control plane is a collection of top level components that manage the whole kubernetes cluster, including the API server and a data store that keeps track of current/desired state.) +to get a list of pods corresponding to DAQ applications. Now do: ```bash