Delay pools starvation

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 18 Aug 2006 02:01:29 +0200

Ideas on how to avoid starvation when there is multiple connections
competing for a delay pool in the generic comm loop framework is
welcome.

Currently the comm loops take an overly simplistic view of delay pools,
and simply kicks all deferred connections alive once per second to have
them react on delay pools being filled up. But not too unexpectedly this
leads to a situation where some connections easily get starved.

In the old comm loops (still used for poll/select) delayed connections
is dealt with separately, randomizing their order.

Regards
Henrik

Received on Thu Aug 17 2006 - 18:01:38 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:03 MDT