From: Stephen Hemminger <stephen@networkplumber•org>
To: David Miller <davem@davemloft•net>
Cc: eric.dumazet@gmail•com, gregkh@linuxfoundation•org,
netdev@vger•kernel.org
Subject: Re: [RFC 1/2] netmap: infrastructure (in staging)
Date: Fri, 19 Apr 2013 13:49:25 -0700 [thread overview]
Message-ID: <20130419134925.4981bdfc@nehalam.linuxnetplumber.net> (raw)
In-Reply-To: <20130419.163831.1434224426107133131.davem@davemloft.net>
On Fri, 19 Apr 2013 16:38:31 -0400 (EDT)
David Miller <davem@davemloft•net> wrote:
> From: Eric Dumazet <eric.dumazet@gmail•com>
> Date: Fri, 19 Apr 2013 13:31:23 -0700
>
> > On Fri, 2013-04-19 at 13:16 -0700, Stephen Hemminger wrote:
> >
> >> I can not get line rate output with pktgen on existing kernels today.
> >
> > I have no trouble saturating at line rate with pktgen, and using
> > multiqueue NIC.
>
> +1
>
> > I really hope we do not use pktgen as an argument for having netmap in
> > the kernel.
>
> Me too.
I get 7Mpps (single queue) with ixgbe and pktgen.
Easily hit 14.8 Mpps (single queue) with netmap.
The real problem is that DPDK and netmap can do multiple packets per request
to driver. Right now their is one PCI bus transaction per packet with current
driver model.
But, I am not convinced that netmap is the right solution either, this is purely
an RFC to get some attention on doing better at small packet performance.
If you look at netmap right now, it has really ugly BSD wrapper code
and does lots of assumptions and bypassing of network stack; ie. fugly.
next prev parent reply other threads:[~2013-04-19 20:49 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
2013-04-19 20:31 ` Eric Dumazet
2013-04-19 20:38 ` David Miller
2013-04-19 20:49 ` Stephen Hemminger [this message]
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=20130419134925.4981bdfc@nehalam.linuxnetplumber.net \
--to=stephen@networkplumber$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=eric.dumazet@gmail$(echo .)com \
--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