Re: [adri@users.sourceforge.net: [Squid-cvs] commloops squid/src comm_poll.c]

From: <dancer@dont-contact.us>
Date: Sat, 05 Aug 2000 14:07:39 +1000

Adrian Chadd wrote:

> In case some people want to try this code out.
>
> Adrian
>
> ----- Forwarded message from adri <adri@users.sourceforge.net> -----
>
> Date: Fri, 4 Aug 2000 10:57:54 -0700
> To: squid-cvs@lists.sourceforge.net
> From: adri <adri@users.sourceforge.net>
> Subject: [Squid-cvs] commloops squid/src comm_poll.c
>
> Update of /cvsroot/squid/squid/src
>
> Modified Files:
> Tag: commloops
> comm_poll.c
> Log Message:
>
> An attempt at optimising the poll code. Instead of a single pollfd set, there
> are NPOLL fd sets (defined in src/comm_poll.c for the time being) which
> define how many FD sets they are.
>
> The FDs are placed inside the fdset by a simple modulus NPOLL, evenly
> distributing the FDs between the fdsets. A call to comm_select() now
> polls a single fdset, rather than all.
>
> I have to fix a little code in comm_select() which checks whether
> there are no FDs and only allows it during a shutdown. This definitely
> needs to be fixed, but doesn't impact normal operation.
>
> This is based upon ideas from Andreas and Dancer, and initial coding from
> Benno. If you want the details, squid-dev mailing list archives are your
> friend.
>

And in fact I've been doing some experiments of my own (in the few nanoseconds
that my job allows me at the moment...grrr). Just to let you know that I'm still
tinkering down that path.

D
Received on Fri Aug 04 2000 - 22:07:51 MDT

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