Re: Delay pools starvation

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 18 Aug 2006 22:54:16 +0200

fre 2006-08-18 klockan 02:01 +0200 skrev Henrik Nordstrom:
> 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.

Hmm.. the exact same starvation is seen with poll....

Regards
Henrik

Received on Fri Aug 18 2006 - 14:54:22 MDT

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