Re: [PATCH} avoid busy-wait on diskd overload

From: Vladimir B. Savkin <savkin@dont-contact.us>
Date: Fri, 28 Dec 2001 11:54:38 +0300

On Thu, Dec 27, 2001 at 06:02:11PM -0700, Adrian Chadd wrote:
> On Sat, Dec 08, 2001, Vladimir B. Savkin wrote:
> > Hello!
> >
> > The following patch against 2.5-HEAD prevents squid from entering
> > busy-wait state on diskd queue overflow. It is accomplished by using
> > blocking msgrcv call.
>
> Hmm. I don't know .. I'm really against any more blocking IO code
> in diskd - i don't mind it being slow and missing objects, but I
> do mind it starting to stall at high load.

But it does anyway, and blocking IO call is much saner than busy-loop.

>
> What do others think?
>
>
>
>
> Adrian

:wq
                                        With best regards,
                                           Vladimir Savkin.
Received on Fri Dec 28 2001 - 01:54:59 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:42 MST