AdV-COM›automation
#36450
Metatron CPU load optimization
Since it seems that we are hitting CPU limitations on the machine running the Metatron nodes (olserver52), investigations are ongoing in order to optimize CPU consumption.
As a result of the first profiling, one of the available configuration options, namely GUARD_CPS the main daemon step time, has been changed from 16 to 2 and it seems we could gain an almost corresponding factor 8 on half of the Metatron processes (the daemons). Below the comparison for the WARM_LOCK node:
6332 5980 0 ? 18 fcarbogn 10.5 19 - futex_ - - 778152 194538 22:52:30 python -u -m guardian.__main__ WARM_LOCK
7026 6332 1 ? 13 fcarbogn 7.6 18 - poll_s - - 1022040 255510 22:51:45 python -u -m guardian.__main__ WARM_LOCK
10420 10013 0 ? 21 fcarbogn 1.4 19 - futex_ - - 778160 194540 01:48:30 python -u -m guardian.__main__ WARM_LOCK
11616 10420 1 ? 21 fcarbogn 7.2 18 - futex_ - - 1020936 255234 01:47:44 python -u -m guardian.__main__ WARM_LOCK
For the purpose, this morning, all automation nodes have been stopped/restarted. Afterward, the automation has been already in use (FModErr tuning, whole interferometer locking) without evident negative side effects so far.
1 comment