From owner-freebsd-net@FreeBSD.ORG Sat May 2 06:32:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 760D4106564A for ; Sat, 2 May 2009 06:32:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2A6BE8FC13 for ; Sat, 2 May 2009 06:32:23 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so2126435qwe.7 for ; Fri, 01 May 2009 23:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=52NjXuUAr/qSPQcnNl+xXs4TRmLpJKzhChcVZJU3oSc=; b=O/yPMI0qZ+xmnAacxkAgqekRzaEarHp9tmjE6nYgXD0TwPdNi9540rBInJ0vXt2UXK qAF8fq0n13+9g76uy9ny0DkRVY+CL77d8XmlcAbfJVHTnU6u8m6DM+8RC89M7pynwqy9 EQB9LcMwUsXmJQ3++XZzqO+DBt38vQPkaIZ4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=mtkEAPu8Gdm4EUzlCZVqGt9gvtGoZJHXA4IbqEgGdi9pGiMgJK+lECBGUlKfQ9nJ8T HSFkQ9Zh5CQApoZAf1WftATk5zWRVlKTAIlrd09KHhbQLwSJLnAVSnemGvnG63qFvijy 2UFPT3UtxScV0Y7lOBvphyosgpJ2XGgHhA8Q4= MIME-Version: 1.0 Sender: adrian.chadd@gmail.com Received: by 10.229.79.2 with SMTP id n2mr2678661qck.8.1241245943311; Fri, 01 May 2009 23:32:23 -0700 (PDT) In-Reply-To: <585693.96129.qm@web63906.mail.re1.yahoo.com> References: <585693.96129.qm@web63906.mail.re1.yahoo.com> Date: Sat, 2 May 2009 14:32:23 +0800 X-Google-Sender-Auth: c29892363a2664f0 Message-ID: From: Adrian Chadd To: barney_cordoba@yahoo.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Net Subject: Re: Interrupts + Polling mode (similar to Linux's NAPI) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 06:32:24 -0000 2009/5/2 Barney Cordoba : > I think its unlikely that a commercial implementation is going to > be of much use generally, as with a mutex based OS you're going to > have to do heavy specialization to get the results =A0you want. For > example a web server, transparent firewall and router would required > very different implementations to be properly optimised. > > I'm going to regularly hear the open sorcerers whining about > contributing, but the fact is that the work I'm doing has no place in > a general purpose OS. Optimizing for a specific commercial product is > going to require all kinds of fudging and gimmickry. Sure, but you may find that your fudging and gimmickry could be useful as a reference platform for more generic improvements. So I do encourage you (and others!) with these sorts of hackery to release your stuff for others to use and abuse. Who knows, they may get improved and included into FreeBSD at a later stage. (FWIW, companies like Ironport do just this. :) Adrian