DPDK usage discussions
 help / color / mirror / Atom feed
* DPDK for File Transfer and Writing
       [not found] <1091299300.1853887.1749545342300.ref@mail.yahoo.com>
@ 2025-06-10  8:49 ` Isaac Lim
  2025-06-10 13:36   ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Isaac Lim @ 2025-06-10  8:49 UTC (permalink / raw)
  To: users

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

Dear all,
We are using DPDK to transfer files and write to SSD on the receiver side.
On the sender side, we are splitting the files into 1024-byte packets before sending over to the receiver.
Currently, on the sender side, we are using a worker lcore to retrieve the packets and storing the file data in a buffer while the main lcore writes the data to file using write().
However, we are realizing that the write speed is not fast enough to keep up with the number of packets being received.
We have tried using io_uring to aid speeding up the writing but it seems to be even slower than just writing the file normally.
We would like to check with the community if you have any DPDK compatible suggestions that would help improve file transfer and write performance?
Thank you very much in advance.
Best Regards,Isaac LIM

[-- Attachment #2: Type: text/html, Size: 1927 bytes --]

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

* Re: DPDK for File Transfer and Writing
  2025-06-10  8:49 ` DPDK for File Transfer and Writing Isaac Lim
@ 2025-06-10 13:36   ` Stephen Hemminger
  2025-06-11  8:08     ` Isaac Lim
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2025-06-10 13:36 UTC (permalink / raw)
  To: Isaac Lim; +Cc: users

On Tue, 10 Jun 2025 08:49:02 +0000 (UTC)
Isaac Lim <izlim@yahoo.com> wrote:

> Dear all,
> We are using DPDK to transfer files and write to SSD on the receiver side.
> On the sender side, we are splitting the files into 1024-byte packets before sending over to the receiver.
> Currently, on the sender side, we are using a worker lcore to retrieve the packets and storing the file data in a buffer while the main lcore writes the data to file using write().
> However, we are realizing that the write speed is not fast enough to keep up with the number of packets being received.
> We have tried using io_uring to aid speeding up the writing but it seems to be even slower than just writing the file normally.
> We would like to check with the community if you have any DPDK compatible suggestions that would help improve file transfer and write performance?
> Thank you very much in advance.
> Best Regards,Isaac LIM

You could try SPDX to get faster storage, but networking is faster than storage.

At some point you need a full network stack with real protocols like TCP.

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

* Re: DPDK for File Transfer and Writing
  2025-06-10 13:36   ` Stephen Hemminger
@ 2025-06-11  8:08     ` Isaac Lim
  2025-06-11 15:32       ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Isaac Lim @ 2025-06-11  8:08 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: users

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

Dear Stephen,
Thank you so much.
Regarding SPDX, I did a Google search. Is it Software Package Data Exchange?
Best Regards,Isaac 

    On Tuesday, June 10, 2025 at 09:36:45 PM GMT+8, Stephen Hemminger <stephen@networkplumber.org> wrote:  
 
 On Tue, 10 Jun 2025 08:49:02 +0000 (UTC)
Isaac Lim <izlim@yahoo.com> wrote:

> Dear all,
> We are using DPDK to transfer files and write to SSD on the receiver side.
> On the sender side, we are splitting the files into 1024-byte packets before sending over to the receiver.
> Currently, on the sender side, we are using a worker lcore to retrieve the packets and storing the file data in a buffer while the main lcore writes the data to file using write().
> However, we are realizing that the write speed is not fast enough to keep up with the number of packets being received.
> We have tried using io_uring to aid speeding up the writing but it seems to be even slower than just writing the file normally.
> We would like to check with the community if you have any DPDK compatible suggestions that would help improve file transfer and write performance?
> Thank you very much in advance.
> Best Regards,Isaac LIM

You could try SPDX to get faster storage, but networking is faster than storage.

At some point you need a full network stack with real protocols like TCP.
  

[-- Attachment #2: Type: text/html, Size: 2932 bytes --]

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

* Re: DPDK for File Transfer and Writing
  2025-06-11  8:08     ` Isaac Lim
@ 2025-06-11 15:32       ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2025-06-11 15:32 UTC (permalink / raw)
  To: Isaac Lim; +Cc: users

On Wed, 11 Jun 2025 08:08:20 +0000 (UTC)
Isaac Lim <izlim@yahoo.com> wrote:

> Dear Stephen,
> Thank you so much.
> Regarding SPDX, I did a Google search. Is it Software Package Data Exchange?
> Best Regards,Isaac 
> 
>     On Tuesday, June 10, 2025 at 09:36:45 PM GMT+8, Stephen Hemminger <stephen@networkplumber.org> wrote:  
>  
>  On Tue, 10 Jun 2025 08:49:02 +0000 (UTC)
> Isaac Lim <izlim@yahoo.com> wrote:
> 
> > Dear all,
> > We are using DPDK to transfer files and write to SSD on the receiver side.
> > On the sender side, we are splitting the files into 1024-byte packets before sending over to the receiver.
> > Currently, on the sender side, we are using a worker lcore to retrieve the packets and storing the file data in a buffer while the main lcore writes the data to file using write().
> > However, we are realizing that the write speed is not fast enough to keep up with the number of packets being received.
> > We have tried using io_uring to aid speeding up the writing but it seems to be even slower than just writing the file normally.
> > We would like to check with the community if you have any DPDK compatible suggestions that would help improve file transfer and write performance?
> > Thank you very much in advance.
> > Best Regards,Isaac LIM  
> 
> You could try SPDX to get faster storage, but networking is faster than storage.
> 
> At some point you need a full network stack with real protocols like TCP.
>   

SPDK https://spdk.io/

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

end of thread, other threads:[~2025-06-11 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1091299300.1853887.1749545342300.ref@mail.yahoo.com>
2025-06-10  8:49 ` DPDK for File Transfer and Writing Isaac Lim
2025-06-10 13:36   ` Stephen Hemminger
2025-06-11  8:08     ` Isaac Lim
2025-06-11 15:32       ` Stephen Hemminger

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