DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK?
@ 2014-09-24 20:10 Malveeka Tewari
  2014-09-24 21:18 ` Matthew Hall
  0 siblings, 1 reply; 2+ messages in thread
From: Malveeka Tewari @ 2014-09-24 20:10 UTC (permalink / raw)
  To: dev

Hi all,

I've been trying to run unmodified applications with the DPDK framework.
I used the KNI module and while it allowed me to run stock applications
with DPDK infrastructure, it was not optimized for performance.

There is already a rump-kernel based  TCP/IP stack for DPDK
https://github.com/rumpkernel/dpdk-rumptcpip/.

and another userland IP stack
http://ipaugenblick.net/

But these solutions are again too heavy weight.
I am looking for something much simpler -- a lightweight  library that can
intercept the "sendto" calls made by the application (through LD_PRELOAD),
create corresponding rte_mbuf structures from the data buffer and pass it
to the NIC directly using the DPDK API, completely bypassing the kernel.
I realize this bypassing will not work for TCP, but perhaps such an
interposing library can be hooked to a user-space TCP implementation in
order to support TCP.

Does this approach sound reasonable or am I missing something?
And has this been done already?

Any thoughts/suggestions are welcome.

Malveeka

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK?
  2014-09-24 20:10 [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK? Malveeka Tewari
@ 2014-09-24 21:18 ` Matthew Hall
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Hall @ 2014-09-24 21:18 UTC (permalink / raw)
  To: Malveeka Tewari; +Cc: dev

On Wed, Sep 24, 2014 at 01:10:32PM -0700, Malveeka Tewari wrote:
> 
> There is already a rump-kernel based  TCP/IP stack for DPDK
> https://github.com/rumpkernel/dpdk-rumptcpip/.
...
> But these solutions are again too heavy weight.

Try using this along with https://github.com/rumpkernel/rumprun-posix .

Matthew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-24 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-24 20:10 [dpdk-dev] LD_PRELOAD libraries for DPDK to run unmodified applications with DPDK? Malveeka Tewari
2014-09-24 21:18 ` Matthew Hall

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).