On each rtpc theres 4 CPUs:
- the CPU0 is used for no real-time tasks, like TolmFrameBuilder, the main thread of any Acl server, ...
-
the CPU1, called RT_CPU0, at each cycle of loop
- read the TOLM input packet
- excecute the ACL RT tasks according their channels dependency on their RT_CPU id
- build and sent the TOLM output packets
- build and sent the DAQ packets
- the CPU2, called RT_CPU1,
- the CPU3, called RT_CPU2
- the total elapsed time of the RT tasks running of the RT_CPU1 or on the RT_CPU2 must lower than the one of RT tasks running on the RT_CPU0
Up to now, on the rtpc3(ISC) and on the rtp12(SSFS) the Acl RT tasks were running on the RT_CPU0. As consequence if there is a glicth on the excution time of any Acl server greater than a loop period, the Tolm packets:
- were delivered too late if the elapsed time is lower than twice the loop period
- were missing if the elapsed time is equal or greater than twice the loop period.
The case 1 is the one related to the LSC_Acl elasped time glitches, the case 2 is the one observed on the SSFS_Ctrl_full server with as consequence the SSFS correction that became constant at the level of the DSP.
To debug this malfunctionning and to improve a little bit the situation, this morning the following actions were performed:
- we move all the ACL tasks on the RT_CPU1
- we put a fake ACL RT task on the RT_CPU0 wihch consume at least the sum of the elapsed time of the others ACL RT task running on the RT_CPU1
-
we use a new release of ACL v0r44p11 which
- performs first the readout of all the ACL_ADC_CH objects
- allows to perform the elapsed time measure for each ACL object
The expected improvments are:
- no more delayed Tolm packets
- but a packect can be sent twice in two consecutive cycles.
This was done around 06h30UTC for the ISC and SSFS Acl servers. After that we succeed to relock upto ITF_LOCK_INDEX 123
1 comment
In agreement with the weekly coordinator, all the Acl servers were restarted with the new release v0r44p11 .
Operations performed between 15h30LT and 16h45LT