Looking more at the CALI latency spikes in the attached plot, I show the CALI, FbmMain and FDS_Img latencies around when the latency spikes happened. The first and the last spikes come from FbmMain and then FDS_Img. There was an issue with FDS_Img when these latency spikes happen when there are issues with FDS_Img. I have also attached the log of FDS_Img when the latency spike occurred.
The second spike is caused by the CALI node when it is in the DOWN state, from the log:
2024-05-11-19h45m38-UTC>INFO...-in DOWN main
2024-05-11-19h45m38-UTC>INFO...-DOWN> enable_actions: 1
2024-05-11-19h45m38-UTC>INFO...-RESET CALnoise process to its default configuration
2024-05-11-19h45m38-UTC>INFO...-cm_send(b'CALnoise', b'AcRelayChTranSet', b'CAL_filter_enbl', -1)
2024-05-11-19h45m38-UTC>INFO...-Waiting 2.0 second
2024-05-11-19h45m40-UTC>INFO...-cm_send(b'CALnoise', b'AcRelayChTranSet', b'PCAL_filter_enbl', -1)
2024-05-11-19h45m40-UTC>INFO...-Memory Used increase, cur. 2259476.00(KB), inc. 6156.00(KB)
2024-05-11-19h45m40-UTC>INFO...-Waiting 2.0 second
2024-05-11-19h45m42-UTC>INFO...-cm_send(b'CALnoise', b'ReloadConfig', b'', b'reset')
2024-05-11-19h45m42-UTC>INFO...-Waiting 1.0 second
The latency spike is caused by CALI's use of the virgotools.wait function in the CALI_Common library rather than self.timer[' XXX']. This causes the latency to spike for 5 seconds every time the CALI node goes into DOWN.