Re: Squid-2.6 comm_select_win32.c, time for a rewrite to new commloop structure?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 30 Oct 2006 14:12:35 +0100

mån 2006-10-30 klockan 20:41 +0800 skrev Adrian Chadd:

> Kqueue makes it easier (in the traditional UNIX IO method).
> It tells you how much data is available before you read/write. :)

Yes, but the copy to/from userspace is still unavoidable which is the
biggest difference. Actually knowing how much data is available is not
that big of a difference (and you don't in overlapped I/O), but allows
optimizations of buffer sizes which could help memory pressure.

Regards
Henrik

Received on Mon Oct 30 2006 - 06:12:41 MST

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:06 MST