From owner-freebsd-current@FreeBSD.ORG Fri Jun 3 07:58:42 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41ABA106564A; Fri, 3 Jun 2011 07:58:42 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id EB6A18FC13; Fri, 3 Jun 2011 07:58:41 +0000 (UTC) Received: by qwc9 with SMTP id 9so979816qwc.13 for ; Fri, 03 Jun 2011 00:58:41 -0700 (PDT) Received: by 10.224.112.195 with SMTP id x3mr864042qap.114.1307086514286; Fri, 03 Jun 2011 00:35:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.31.73 with HTTP; Fri, 3 Jun 2011 00:34:34 -0700 (PDT) In-Reply-To: <20110602223140.GA31285@onelab2.iet.unipi.it> References: <20110602223140.GA31285@onelab2.iet.unipi.it> From: Vlad Galu Date: Fri, 3 Jun 2011 09:34:34 +0200 Message-ID: To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: current@freebsd.org, net@freebsd.org Subject: Re: Introducing netmap: line-rate packet send/receive at 10Gbit/s X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2011 07:58:42 -0000 On Fri, Jun 3, 2011 at 12:31 AM, Luigi Rizzo wrote: > Hi, > we have recently worked on a project, called netmap, which lets > FreeBSD send/receive packets at line rate even at 10 Gbit/s with > very low CPU overhead: one core at 1.33 GHz does 14.88 Mpps with a > modified ixgbe driver, which gives plenty of CPU cycles to handle > multiple interface and/or do useful work (packet forwarding, analysis, > etc.) > > You can find full documentation and source code and even a picobsd image at > > http://info.iet.unipi.it/~luigi/netmap/ > > The system uses memory mapped packet buffers to reduce the cost of > data movements, but this would not be enough to make it useful or > novel. Netmap uses many other small but important tricks to make > the system fast, safe and easy to use, and support transmission, > reception, and communication with the host stack. > > You can see full details in documentation at the above link. > > Feedback welcome. > > cheers > luigi > -----------------------------------------+------------------------------- > Prof. Luigi RIZZO, rizzo@iet.unipi.it . Dip. di Ing. dell'Informazione > http://www.iet.unipi.it/~luigi/ . Universita` di Pisa > TEL +39-050-2211611 . via Diotisalvi 2 > Mobile +39-338-6809875 . 56122 PISA (Italy) > -----------------------------------------+------------------------------- > This is great news, Luigi! Thank you for your work! -- Good, fast & cheap. Pick any two.