Downsides to using shared_procimg=True
Posted: 08 Jan 2022, 00:51
Hi,
We are looking to run multiple python processes on a single RevPi. Due to various internal reasons, we would like the option to share the digital inputs and outputs between these python processes by using the shared_procimg=True flag. I do understand that there are performance implications to this but are there any other downsides to having this option set to True? Does it affect the life of the module? Obviously, we will plan to use specific digital inputs/outputs per process so that there is not much interaction and there by reduce any flickering (if any). In general, we would be reading digital inputs every 200 ms and set specific digital outputs at 200 ms as well. Do see this being an issue overall?
Please let me know if you have any other questions or concerns.
Thanks!
We are looking to run multiple python processes on a single RevPi. Due to various internal reasons, we would like the option to share the digital inputs and outputs between these python processes by using the shared_procimg=True flag. I do understand that there are performance implications to this but are there any other downsides to having this option set to True? Does it affect the life of the module? Obviously, we will plan to use specific digital inputs/outputs per process so that there is not much interaction and there by reduce any flickering (if any). In general, we would be reading digital inputs every 200 ms and set specific digital outputs at 200 ms as well. Do see this being an issue overall?
Please let me know if you have any other questions or concerns.
Thanks!