lkml.org 
[lkml]   [2000]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Anything in Linux similar to FreeBSD accept filter
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/

\
 
 \ /
  Last update: 2005-03-22 12:41    [W:0.095 / U:0.192 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site