Re: Patch to fix comm_incoming (squid-1.2beta22)

From: Michael O'Reilly <michael@dont-contact.us>
Date: 05 Jun 1998 09:17:45 +0800

Stewart Forster <slf@connect.com.au> writes:
> Righto,
>
> poll() is actually a fair bit cheaper than a read/write syscall to
> non-blocking sockets (at least on Solaris it is).
>
> I'm going to put back the poll/select calls and split ICP and HTTP
> poll rates and keep the existing algorithm for working out the repoll rate.
> I'll send a patch against base 1.2beta22 code later today.
>
> Stew.

How did you measure it?? On linux 2.0.33, average times for system
calls run as..

            recvfrom 0.000049
                read 0.000090
              select 0.001902

as measured by profiling a running busy squid.

Michael.
Received on Tue Jul 29 2003 - 13:15:50 MDT

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