News for hackers. Stuff that matters.
Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by RMPR on Monday March 08, 2021 @11:24AM (#26387432)
That's great stuff, I wonder how it compares to wdt[0] when there's only one TCP path. This has been my go-to tool to transfer files on the network.

0: https://github.com/facebook/wdt

Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by wheybags on Monday March 08, 2021 @11:58AM (#26388055)
Looks like a cool project! There's no network functionality in wcp at the moment, but it's definitely something I'd consider adding in the future.
Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by PaulHoule on Sunday March 07, 2021 @08:59AM (#26375869)
I'd like to see more performance analysis.

10 years ago I found there was little benefit for async i/o to a disk, even though it great for networking.

With SSD it coukd he different if you have a very long q depth, but he shows charts for copies over nfs where async i/o might find a lot of latency to hide.

Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by wheybags on Sunday March 07, 2021 @09:08AM (#26375933)
The chart is showing data from an NFS copy, but the listed speeds in the blog and on github[1] are from a copy on a local SSD. That is a bit confusing though, maybe I should make it more clear. I used the network copy for ETA calculation because it was an easy way to make the transfer take longer - if the whole copy is only a few seconds long it's difficult to meaningfully compare ETA estimation accuracy between two approaches. I would like to have more performance data though.

1: https://github.com/wheybags/wcp/#how-fast

Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by abvr on Monday March 08, 2021 @04:07AM (#26383611)
I would love to see a comparison between scp and wcp over NFS, more specifically large single file sizes, if folks are looking to discern more performance parameters.

wcp is good stuff!

Re:Show HN: wcp – a reimplementation of cp using io_uring. W... by wheybags on Monday March 08, 2021 @07:00AM (#26384783)
I would expect pretty much any plain copying program over NFS to beat scp, since scp has the overhead of encryption. On a slow disk with a fast CPU it might roughly match though.