* [SPDK] disk read and network push
@ 2016-03-14 10:52 Saravana Kumar
0 siblings, 0 replies; 2+ messages in thread
From: Saravana Kumar @ 2016-03-14 10:52 UTC (permalink / raw)
To: spdk
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
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
[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 600 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [SPDK] disk read and network push
@ 2016-03-14 17:04 Walker, Benjamin
0 siblings, 0 replies; 2+ messages in thread
From: Walker, Benjamin @ 2016-03-14 17:04 UTC (permalink / raw)
To: spdk
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-14 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14 17:04 [SPDK] disk read and network push Walker, Benjamin
-- strict thread matches above, loose matches on Subject: below --
2016-03-14 10:52 Saravana Kumar
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.