dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Avi Kivity <avi-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
To: "Wiles,
	Keith" <keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	"O'Driscoll,
	Tim" <tim.o'driscoll-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "dev-VfR2kkLFssw@public.gmane.org" <dev-VfR2kkLFssw@public.gmane.org>
Subject: Re: Beyond DPDK 2.0
Date: Thu, 07 May 2015 18:33:41 +0300	[thread overview]
Message-ID: <554B85D5.6010808@cloudius-systems.com> (raw)
In-Reply-To: <D170C88B.1F414%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

On 05/07/2015 06:27 PM, Wiles, Keith wrote:
>
> On 5/7/15, 7:02 AM, "Avi Kivity" <avi-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org> wrote:
>
>> On Wed, Apr 22, 2015 at 6:11 PM, O'Driscoll, Tim
>> <tim.o'driscoll-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
>> wrote:
>>
>>> Does anybody have any input or comments on this?
>>>
>>>
>>>> -----Original Message-----
>>>> From: O'Driscoll, Tim
>>>> Sent: Thursday, April 16, 2015 11:39 AM
>>>> To: dev-VfR2kkLFssw@public.gmane.org
>>>> Subject: Beyond DPDK 2.0
>>>>
>>>> Following the launch of DPDK by Intel as an internal development
>>>> project, the launch of dpdk.org by 6WIND in 2013, and the first DPDK
>>> RPM
>>>> packages for Fedora in 2014, 6WIND, Red Hat and Intel would like to
>>>> prepare for future releases after DPDK 2.0 by starting a discussion on
>>>> its evolution. Anyone is welcome to join this initiative.
>>>>
>>>> Since then, the project has grown significantly:
>>>> -    The number of commits and mailing list posts has increased
>>>> steadily.
>>>> -    Support has been added for a wide range of new NICs (Mellanox
>>>> support submitted by 6WIND, Cisco VIC, Intel i40e and fm10k etc.).
>>>> -    DPDK is now supported on multiple architectures (IBM Power
>>> support
>>>> in DPDK 1.8, Tile support submitted by EZchip but not yet reviewed or
>>>> applied).
>>>>
>>>> While this is great progress, we need to make sure that the project is
>>>> structured in a way that enables it to continue to grow. To achieve
>>>> this, 6WIND, Red Hat and Intel would like to start a discussion about
>>>> the future of the project, so that we can agree and establish
>>> processes
>>>> that satisfy the needs of the current and future DPDK community.
>>>>
>>>> We're very interested in hearing the views of everybody in the
>>>> community. In addition to debate on the mailing list, we'll also
>>>> schedule community calls to discuss this.
>>>>
>>>>
>>>> Project Goals
>>>> -------------
>>>>
>>>> Some topics to be considered for the DPDK project include:
>>>> -    Project Charter: The charter of the DPDK project should be
>>> clearly
>>>> defined, and should explain the limits of DPDK (what it does and does
>>>> not cover). This does not mean that we would be stuck with a singular
>>>> charter for all time, but the direction and intent of the project
>>> should
>>>> be well understood.
>>
>> One problem we've seen with dpdk is that it is a framework, not a library:
>> it wants to create threads, manage memory, and generally take over.  This
>> is a problem for us, as we are writing a framework (seastar, [1]) and need
>> to create threads, manage memory, and generally take over ourselves.
>>
>> Perhaps dpdk can be split into two layers, a library layer that only
>> provides mechanisms, and a framework layer that glues together those
>> mechanisms and applies a policy, trading in generality for ease of use.
> The DPDK system is somewhat divided now between the EAL, PMDS and utility
> functions like malloc/rings/Š
>
> The problem I see is the PMDs need a framework to be usable and the EAL
> plus the ethdev layers provide that support today. Setting up and
> initializing the DPDK system is pretty clean just call the EAL init
> routines along with the pool creates and the basic configs for the
> PMDs/hardware. Once the system is inited one can create new threads and
> not requiring anyone to use DPDK launch routines. Maybe I am not
> understanding your needs can you explain more?

An initialization routine that accepts argc/argv can hardly be called clean.

In seastar, we have our own malloc() (since seastar is sharded we can 
provide a faster thread-unsafe malloc implementation).  We also have our 
own threading, and since dpdk is an optional component in seastar, dpdk 
support requires code duplication.

I would like to launch my own threads, pin them where I like, and call 
PMD drivers to send and receive packets.  Practically everything else 
that dpdk does gets in my way, including mbuf pools.  I'd much prefer to 
allocate mbufs myself.


>> [1] http://seastar-project.org

  parent reply	other threads:[~2015-05-07 15:33 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-16 10:38 Beyond DPDK 2.0 O'Driscoll, Tim
     [not found] ` <26FA93C7ED1EAA44AB77D62FBE1D27BA54D1A917-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-22 15:11   ` O'Driscoll, Tim
     [not found]     ` <26FA93C7ED1EAA44AB77D62FBE1D27BA54D29B55-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-22 15:33       ` Stephen Hemminger
     [not found]         ` <CAOaVG16MQieopTcUS3bp-1WTH2-jLbh_DesTRv0cwc0PY4UaEA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-23 11:36           ` O'Driscoll, Tim
     [not found]             ` <26FA93C7ED1EAA44AB77D62FBE1D27BA54D2B50E-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-24 21:02               ` Dave Neary
2015-05-07 14:02       ` Avi Kivity
     [not found]         ` <CAF950W+pf9iHXm4=bLf3YPCimvEQ-5fQ6o0b51AKVUW5so1yQg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-07 14:34           ` Ivan Boule
2015-05-07 15:27           ` Wiles, Keith
     [not found]             ` <D170C88B.1F414%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-07 15:33               ` Avi Kivity
2015-05-07 15:33               ` Avi Kivity [this message]
     [not found]                 ` <554B85D5.6010808-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-05-07 15:49                   ` Wiles, Keith
     [not found]                     ` <D170D5F0.1F48D%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-07 16:05                       ` Avi Kivity
     [not found]                         ` <554B8D48.7010900-RmZWMc9puTNJc61us3aD9laTQe2KTcn/@public.gmane.org>
2015-05-08  4:16                           ` Wiles, Keith
     [not found]                             ` <D1718134.1F52C%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-08  5:29                               ` Luke Gorrie
     [not found]                                 ` <CAA2XHbdN_K+USv0Ukp-a=jtuAph5Km-kWjcxYdtDUhmKVk8SPA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-08  9:06                                   ` Bruce Richardson
2015-05-08  9:32                                     ` Luke Gorrie
     [not found]                                       ` <CAA2XHbdRnbcKDtvZOdP6AUF70qFeQugc5vsU2JArF-OYBd3cTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-08  9:42                                         ` Bruce Richardson
2015-05-08 10:02                                           ` Luke Gorrie
2015-05-08 14:44                                   ` Wiles, Keith
     [not found]                                     ` <D172173E.1F5E8%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-05-08 16:16                                       ` Stephen Hemminger
2015-05-08 10:26                               ` Hobywan Kenoby
     [not found]                                 ` <DUB131-W15C766C6F0FAE75C5F5E12C0DE0-MsuGFMq8XAE@public.gmane.org>
2015-05-08 13:31                                   ` Neil Horman
     [not found]                                     ` <20150508133134.GB9765-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-05-08 16:22                                       ` Stephen Hemminger
2015-05-07 15:34           ` Luke Gorrie
     [not found]             ` <CAA2XHbczCxpJh6XCzRYUm5k5XAQzcQe3sksjyLEfVMFv1ibY_Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-08  4:31               ` Wiles, Keith
2015-04-24  7:47   ` Luke Gorrie
     [not found]     ` <CAA2XHbcFy1Oha0_XMegfaGBBhZcAx_4EyZu5d-LMtqvHTpmATA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 15:29       ` O'Driscoll, Tim
     [not found]         ` <26FA93C7ED1EAA44AB77D62FBE1D27BA54D2C241-kPTMFJFq+rFP9JyJpTNKArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-24 17:00           ` Neil Horman
     [not found]             ` <20150424170035.GC32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-26  9:07               ` Luke Gorrie
2015-04-24 17:39       ` Jay Rolette
     [not found]         ` <CADNuJVpboQq03PXHsaxEzJuORma3+ACohmxGwgKgZDAMUdBdHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 17:51           ` Matthew Hall
     [not found]             ` <20150424175124.GA30624-Hv3ogNYU3JfZZajBQzqCxQ@public.gmane.org>
2015-04-25 13:30               ` Marc Sune
     [not found]                 ` <553B9706.1060904-kpkqNMk1I7M@public.gmane.org>
2015-04-25 16:08                   ` Wiles, Keith
     [not found]                     ` <D16115C5.1DDB1%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-26 21:56                       ` Neil Horman
     [not found]                         ` <20150426215644.GA9021-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-04-27  1:41                           ` Wiles, Keith
     [not found]                             ` <D162FA4E.1DED8%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-27  9:52                               ` Marc Sune
     [not found]                                 ` <553E06D8.2060604-kpkqNMk1I7M@public.gmane.org>
2015-04-27 13:39                                   ` Wiles, Keith
     [not found]                                     ` <D163A317.1DF58%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-27 15:34                                       ` Marc Sune
2015-04-27 10:29                               ` Neil Horman
     [not found]                                 ` <20150427102908.GA17179-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-27 13:50                                   ` Wiles, Keith
     [not found]                                     ` <D163A67A.1DF78%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-27 15:23                                       ` Neil Horman
2015-04-27  2:29                           ` Jim Thompson
     [not found]                             ` <6F92C985-29AC-48D0-A6A5-14738F04E313-jiyf0hk6h8BBDgjK7y7TUQ@public.gmane.org>
2015-04-27 13:07                               ` Neil Horman
2015-04-27 16:07                               ` Stephen Hemminger
2015-04-28  7:20                               ` Dor Laor
2015-04-27 12:38                           ` Dave Neary
     [not found]                             ` <553E2DD8.6080908-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2015-04-27 13:41                               ` Neil Horman
2015-04-27 16:09                               ` Stephen Hemminger
2015-04-24 18:12           ` Matt Laswell
     [not found]             ` <CA+GnqAr=RG_hrtdm9MP5UkOt-GmOZB=HKJHJJKJG4UGgvdXNMA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-24 18:51               ` Neil Horman
     [not found]                 ` <20150424185123.GD32445-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-24 19:55                   ` Jay Rolette
     [not found]                     ` <CADNuJVpRciO61kvCkjFEbQDRiVpgMgnT2VhbzXNTQp-eLnHNAw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-25 12:10                       ` Neil Horman
     [not found]                         ` <20150425121030.GA26734-0o1r3XBGOEbbgkc5XkKeNuvMHUBZFtU3YPYVAmT7z5s@public.gmane.org>
2015-04-27 13:46                           ` Jay Rolette
     [not found]                             ` <CADNuJVqvgbJW1p80tc2Oy1q5ovFNbtO3r=irtEzLLRvsDUPUfg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-28 17:26                               ` Neil Horman
     [not found]                                 ` <20150428172618.GA26098-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org>
2015-04-28 20:02                                   ` Jay Rolette
2015-04-28  6:22                           ` Matthew Hall
2015-04-28 17:48       ` Stephen Hemminger
  -- strict thread matches above, loose matches on Subject: below --
2015-04-30 21:31 Wiles, Keith
     [not found] ` <D1680195.1E739%keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2015-04-30 21:38   ` Wiles, Keith

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=554B85D5.6010808@cloudius-systems.com \
    --to=avi-rmzwmc9putnjc61us3ad9latqe2ktcn/@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=keith.wiles-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=tim.o'driscoll-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).