All of lore.kernel.org
 help / color / mirror / Atom feed
From: Walker, Benjamin <benjamin.walker at intel.com>
To: spdk@lists.01.org
Subject: Re: [SPDK] disk read and network push
Date: Mon, 14 Mar 2016 17:04:56 +0000	[thread overview]
Message-ID: <1457975096.2884.85.camel@intel.com> (raw)
In-Reply-To: CAA=abZ_2wyfV6QSzf7Ej0GNK9Bu1L9VaDX8Dc3_=1_fn1zM2QQ@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]

Hi Sara,

Can you elaborate and provide some background context? Are you writing a dedicated storage application based on SPDK and DPDK? How does this application serve data to its clients (TCP, UDP, something else)?. Does the NIC you are using support scatter gather and TSO?

Generally speaking, zero copy (defined as one DMA from disk to host memory and then another DMA from host memory to the NIC) is possible given the right hardware.

Thanks,
Ben

On Mon, 2016-03-14 at 03:52 -0700, Saravana Kumar wrote:


Hi SPDK team

                 I want to know whether disk read(spdk) to network send(dpdk) can be done...if so how data can be read from disk and sent on network. lets say 2MB of data needs to be sent from disk to network then 2MB needs to be read and split on the dpdk send buffers or make 2MB/( number of dpdk send buffer)  calls to spdk ?
                 In the latter case copy can be avoided but number of spdk calls increases. Thanks team..

Regards,
Sara

_______________________________________________
SPDK mailing list
SPDK(a)lists.01.org<mailto:SPDK(a)lists.01.org>
https://lists.01.org/mailman/listinfo/spdk


             reply	other threads:[~2016-03-14 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-14 17:04 Walker, Benjamin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-03-14 10:52 [SPDK] disk read and network push Saravana Kumar

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=1457975096.2884.85.camel@intel.com \
    --to=spdk@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.