From efe8f10c1fc323efade609909bf93b34ef797c2c Mon Sep 17 00:00:00 2001 From: Piotr Konopka Date: Wed, 4 Oct 2023 11:54:42 +0200 Subject: [PATCH] Parametrize DD monitoring interval (#617) --- tasks/stfbuilder-nooutput.yaml | 3 ++- tasks/stfbuilder-senderoutput.yaml | 3 ++- tasks/stfbuilder.yaml | 3 ++- tasks/stfsender.yaml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tasks/stfbuilder-nooutput.yaml b/tasks/stfbuilder-nooutput.yaml index 69730052d..72a4ab746 100644 --- a/tasks/stfbuilder-nooutput.yaml +++ b/tasks/stfbuilder-nooutput.yaml @@ -14,6 +14,7 @@ defaults: stfb_enable_datasink: "false" stfb_datasink_dir: "/tmp" stfb_datasink_filesize: "2048" + monitoring_dd_interval: "5" _module_cmdline: >- source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin && StfBuilder @@ -36,7 +37,7 @@ command: - "--session=default" - "--transport=shmem" - "--monitoring-backend='{{ monitoring_dd_url }}'" - - "--monitoring-process-interval='5'" + - "--monitoring-process-interval='{{ monitoring_dd_interval }}'" - "--detector-rdh={{ rdh_version }}" - "--detector-subspec={{dd_detector_subspec}}" - "--severity={{ fmq_severity }}" diff --git a/tasks/stfbuilder-senderoutput.yaml b/tasks/stfbuilder-senderoutput.yaml index d56b28a73..3d33ac31d 100644 --- a/tasks/stfbuilder-senderoutput.yaml +++ b/tasks/stfbuilder-senderoutput.yaml @@ -15,6 +15,7 @@ defaults: stfb_enable_datasink: "false" stfb_datasink_dir: "/tmp" stfb_datasink_filesize: "2048" + monitoring_dd_interval: "5" _module_cmdline: >- source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin && StfBuilder @@ -46,7 +47,7 @@ command: - "--shm-segment-id=2" - "--shm-segment-size=33554432" - "--monitoring-backend='{{ monitoring_dd_url }}'" - - "--monitoring-process-interval='5'" + - "--monitoring-process-interval='{{ monitoring_dd_interval }}'" - "--discovery-partition={{ environment_id }}" - "--discovery-endpoint={{ dd_discovery_endpoint }}" - "--detector-rdh={{ rdh_version }}" diff --git a/tasks/stfbuilder.yaml b/tasks/stfbuilder.yaml index dde85de27..204d71e81 100644 --- a/tasks/stfbuilder.yaml +++ b/tasks/stfbuilder.yaml @@ -15,6 +15,7 @@ defaults: stfb_enable_datasink: "false" stfb_datasink_dir: "/tmp" stfb_datasink_filesize: "2048" + monitoring_dd_interval: "5" _module_cmdline: >- source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin && StfBuilder @@ -47,7 +48,7 @@ command: - "--shm-segment-size=33554432" - "--transport=shmem" - "--monitoring-backend='{{ monitoring_dd_url }}'" - - "--monitoring-process-interval='5'" + - "--monitoring-process-interval='{{ monitoring_dd_interval }}'" - "--discovery-partition={{ environment_id }}" - "--discovery-endpoint={{ dd_discovery_endpoint }}" - "--detector-rdh={{ rdh_version }}" diff --git a/tasks/stfsender.yaml b/tasks/stfsender.yaml index 36ab05f7e..7bb9ecd23 100644 --- a/tasks/stfsender.yaml +++ b/tasks/stfsender.yaml @@ -17,6 +17,7 @@ defaults: stfs_enable_datasink: "false" stfs_datasink_dir: "/tmp" stfs_datasink_filesize: "2048" + monitoring_dd_interval: "5" _module_cmdline: >- source /etc/profile.d/modules.sh && MODULEPATH={{ modulepath }} module load DataDistribution Control-OCCPlugin && numactl --cpunodebind=0 --preferred=0 -- StfSender @@ -50,7 +51,7 @@ command: - "--severity={{ fmq_severity }}" - "--severity-infologger={{ infologger_severity }}" - "--monitoring-backend='{{ monitoring_dd_url }}'" - - "--monitoring-process-interval='5'" + - "--monitoring-process-interval='{{ monitoring_dd_interval }}'" - "--discovery-partition={{ environment_id }}" - "--discovery-id={{ dd_discovery_stfs_id }}" - "--discovery-endpoint={{ dd_discovery_endpoint }}"