From owner-freebsd-net@FreeBSD.ORG Sun Sep 9 20:46:45 2007 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 B548D16A420 for ; Sun, 9 Sep 2007 20:46:45 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 2771313C4DB for ; Sun, 9 Sep 2007 20:46:44 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: by fk-out-0910.google.com with SMTP id b27so1265462fka for ; Sun, 09 Sep 2007 13:46:43 -0700 (PDT) Received: by 10.82.175.17 with SMTP id x17mr4250086bue.1189370803113; Sun, 09 Sep 2007 13:46:43 -0700 (PDT) Received: by 10.82.148.14 with HTTP; Sun, 9 Sep 2007 13:46:43 -0700 (PDT) Message-ID: Date: Sun, 9 Sep 2007 23:46:43 +0300 From: "Vlad GALU" To: "Fabien THOMAS" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-net@freebsd.org Subject: Re: new version of polling for FreeBSD 6.x 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: Sun, 09 Sep 2007 20:46:45 -0000 On 9/6/07, Fabien THOMAS wrote: > Hi, > > After many years of good services we will stop using FreeBSD 4.x :) > During my performance regression tests under FreeBSD 6.2 i've found > that polling has lower performance than interrupt. > To solve that issue i've rewritten the core of polling to be more SMP > ready. > > You can find a summary of all my tests and the source code at the > following address: > http://www.netasq.com/opensource/pollng-rev1-freebsd.tgz > > Feel free to ask more detailed information if necessary and report > any bugs / comments. > Fabien, since you have the necesary hardware to stimulate the FreeBSD box, would it be too much to ask you to run some packet capture tests with your polling implementation and the capturing interface set to IFF_MONITOR? The userland program should use pcap and simply increment a counter and spit out capture average once every N seconds. It would be very interesting to see how polling affects packet capture, with varying BPF buffer sizes. > Fabien > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.