Re: Anything in Linux similar to FreeBSD accept filter

From: Andi Kleen (ak@suse.de)
Date: Sat Oct 21 2000 - 01:50:54 EST


On Sat, Oct 21, 2000 at 02:10:02PM +0800, ym g wrote:
> The release notes for Apache 1.3.14 mention that it has support for FreeBSD's accept filters [which are in FreeBSD 4.0 onwards]. Reading the man page. I find that this allows the application to request the kernel to pre-process incoming connections and it was pioneered by engineers at Yahoo.com.
>
> According to this URL at the Apache site,
> http://httpd.apache.org/docs/misc/perf-bsd44.html#accf
>
> shows how accept filters improve performance
>
> Is there anything similar in Linux 2.4 (possibly back-ported to 2.2)

Linux 2.4 has the "dataready" filter in form of the (currently undocumented)
TCP_DEFER_ACCEPT option.

Another option would be to use one of the in kernel http accelerators, e.g.
khttpd or tux.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:17 EST