Right now, when an global outbound queue goes from empty to non-empty, every fd on remote pipes is made writable (even if only one is necessary to send the frame).
One tradeoff that could be considered is to only enable 1/N of the fds, and then set a timer to fire in some short time period (few hundred ms?) to enable the next 1/N. This timer would get cancelled if the queue went empty again.
Right now, when an global outbound queue goes from empty to non-empty, every fd on remote pipes is made writable (even if only one is necessary to send the frame).
One tradeoff that could be considered is to only enable 1/N of the fds, and then set a timer to fire in some short time period (few hundred ms?) to enable the next 1/N. This timer would get cancelled if the queue went empty again.