From owner-freebsd-performance@FreeBSD.ORG Mon Oct 23 23:49:51 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E812D16A4D0 for ; Mon, 23 Oct 2006 23:49:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6944943D9C for ; Mon, 23 Oct 2006 23:49:48 +0000 (GMT) (envelope-from adrian.chadd@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so1918520wxd for ; Mon, 23 Oct 2006 16:49:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=NvRxoAfMDIsf/cgU6KVsBXHuk1igC4Ec++m7gPftMLazGvWf//mCEcpzc5NkBlZf4jMZx7sUudL0DpE8N9vThu1j8GuumgkcCZM+ffW0nWMufpS7H9EY63sfdq71kWZ9yPZ1Pc2EMJnIB12qQYfVT0W6NslJDWWLBe5QV+8crdU= Received: by 10.90.63.16 with SMTP id l16mr2796503aga; Mon, 23 Oct 2006 16:49:47 -0700 (PDT) Received: by 10.90.66.16 with HTTP; Mon, 23 Oct 2006 16:49:47 -0700 (PDT) Message-ID: Date: Tue, 24 Oct 2006 07:49:47 +0800 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: "Adrian Chadd" , freebsd-performance@freebsd.org In-Reply-To: <20061023174454.GB48434@Geeks.ORG> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061023174454.GB48434@Geeks.ORG> X-Google-Sender-Auth: d8bf66404655305b Cc: Subject: Re: kqueue examples? X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 23:49:52 -0000 On 10/24/06, Mike Horwath wrote: > > I haven't dug into it yet, but dovecot is using kqueue() on FreeBSD. > > http://dovecot.org/ Its a pretty simplistic use of kevent(); at least it is in 1.0r7 which I have here. (Single submission of events to kevent() rather than bunching them up all into larger updates.) Adrian -- Adrian Chadd - adrian@freebsd.org