From owner-freebsd-net@FreeBSD.ORG Wed May 7 05:06:17 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E9D437B401 for ; Wed, 7 May 2003 05:06:17 -0700 (PDT) Received: from hotmail.com (bay2-dav31.bay2.hotmail.com [65.54.246.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 413F843FAF for ; Wed, 7 May 2003 05:06:17 -0700 (PDT) (envelope-from dsnofe@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 7 May 2003 05:06:17 -0700 Received: from 202.199.66.11 by bay2-dav31.bay2.hotmail.com with DAV; Wed, 07 May 2003 12:06:17 +0000 X-Originating-IP: [202.199.66.11] X-Originating-Email: [dsnofe@hotmail.com] Date: Wed, 07 May 2003 20:07:21 +0800 From: Snofe Deng To: freebsd-net@freebsd.org Message-Id: <20030507200628.85F7.DSNOFE@hotmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.05.10 X-OriginalArrivalTime: 07 May 2003 12:06:17.0131 (UTC) FILETIME=[10363FB0:01C31491] Subject: I write a POP3 server, use kqueue/kevent and sendfile. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 12:06:17 -0000 Can be Download at http://snofe.dot66.net/missey/ Bugs report and patches is welcomed.:-) I have a benchmark about it. it can handle about 8000 connections on my machine(CR366, 256RAM) =2E..... FEATURES: Only suport FreeBSD now(4.8 and 5.x have tested), Other *BSD haven't test. Only support Maildir format. Only Support system user now, virtual user support will be add. Use a single process serve more clients. Use kqueue(2)/kevent(2) for polling. Use sendfile(2) to transfer mail. No temporary file used. Very fast and few memory used. Caching mail info.... More...... --=20 Snofe Deng