public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber•org>
To: David Miller <davem@davemloft•net>
Cc: gregkh@linuxfoundation•org, netdev@vger•kernel.org
Subject: Re: [RFC 1/2] netmap: infrastructure (in staging)
Date: Fri, 19 Apr 2013 13:16:32 -0700	[thread overview]
Message-ID: <20130419131632.31fce894@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <20130419.155859.1092595631804890737.davem@davemloft.net>

On Fri, 19 Apr 2013 15:58:59 -0400 (EDT)
David Miller <davem@davemloft•net> wrote:

> From: Greg KH <gregkh@linuxfoundation•org>
> Date: Fri, 19 Apr 2013 12:45:37 -0700
> 
> > On Fri, Apr 19, 2013 at 12:06:51PM -0700, Stephen Hemminger wrote:
> >> Netmap is a framework for packet generation and capture from user
> >> space. It allows for efficient packet handling (up to line rate on
> >> 10Gb) with minimum system load.  For more info see:
> >> 	http://info.iet.unipi.it/~luigi/netmap/
> 
> So are you saying that people can't get line rate today?
> 
> Even the the suricata folks are doing deep packet inspection at line
> rate using AF_PACKET fanouts just fine.  That means they aren't just
> grabbing packets, they are actually processing them and making
> stateful decisions based upon the packet's contents.
> 
> That means that capture is cheap enough already that they have all
> the compute left over that they need.
> 
> The existing mechanisms also have the huge advantage that they are
> already implemented, require zero driver specific changes, and are
> already starting to be deployed to end users.
> 
> Given that and how incredibly gross this code is right now, the only
> reaction I can have is "meh".
> 
> If you are going to propose something, please show a real and genuine
> need.

I can not get line rate output with pktgen on existing kernels today.
I can get line rate easily with netmap.

  reply	other threads:[~2013-04-19 20:17 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19 19:06 [RFC 1/2] netmap: infrastructure (in staging) Stephen Hemminger
2013-04-19 19:09 ` [RFC 2/2] ixgbe: netmap support Stephen Hemminger
2013-04-19 19:45 ` [RFC 1/2] netmap: infrastructure (in staging) Greg KH
2013-04-19 19:58   ` David Miller
2013-04-19 20:16     ` Stephen Hemminger [this message]
2013-04-19 20:31       ` Eric Dumazet
2013-04-19 20:38         ` David Miller
2013-04-19 20:49           ` Stephen Hemminger
2013-04-19 20:53             ` David Miller
2013-05-07 17:20             ` chetan loke
2013-04-19 20:37       ` David Miller
2013-04-20 11:31     ` Daniel Borkmann
2013-04-20 14:57       ` Jamal Hadi Salim
2013-04-20 15:19         ` "Oleg A. Arkhangelsky"
2013-04-28 22:33         ` Willy Tarreau
2013-04-20 23:20       ` Vincent JARDIN
2013-04-23  7:04 ` Naoto MATSUMOTO
2013-04-23  7:10   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130419131632.31fce894@nehalam.linuxnetplumber.net \
    --to=stephen@networkplumber$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=gregkh@linuxfoundation$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox