How much do we care about high-load scenarios?
hmurray at megapathdsl.net
Fri Sep 16 08:01:04 UTC 2016
kurt at roeckx.be said:
> Isn't the timer also used for the PI loop? Or has much of that design been
The timer goes off each second, and then calls various routines to see if they have any work to do. Many of those routines decrement a counter each time they get called and then do the real work (such as send a request) when the counter reaches zero.
It would be possible to peek ahead and see when the next time any work will actually get done and set the timer that far ahead.
Most of the PI type work is in response to reply packets coming back. The timer triggers sending the request that makes the reply.
These are my opinions. I hate spam.
More information about the devel