Abhay Raj Singh
2021-Jul-09 21:33 UTC
[Libguestfs] nbdcpy: from scratch nbdcopy using io_uring
Sent the message by reply instead of reply all so wasn't delivered to the list sending it again, sorry ^-^ ------ I managed to get the reading from the server part of nbdcpy working (queuing new requests after a socket gets free etc.), the writing to destination part is not being executed due to some sneaky bug I hope to find it soon. This zero-copy TCP receive API looks promising should I pursue it further https://lwn.net/Articles/752188/ Thanks and regards, Abhay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210710/ad80387d/attachment.htm>
Richard W.M. Jones
2021-Jul-10 07:57 UTC
[Libguestfs] nbdcpy: from scratch nbdcopy using io_uring
On Sat, Jul 10, 2021 at 03:03:19AM +0530, Abhay Raj Singh wrote:> I managed to get the reading from the server part of nbdcpy working > (queuing new requests after a socket gets free etc.), the writing to > destination part is not being executed due to some sneaky bug I hope > to find? it soon.Cool! I was following your git repo and watching some of the changes you'd made. Just to let you know I'm on holiday until Thursday, but you can keep looking at the write bug and sending emails and I'll catch up as soon as I get back.> This zero-copy TCP receive API looks promising should I pursue it further > https://lwn.net/Articles/752188/I wonder how this interacts (if at all?) with io_uring. I'm not committed to any particular way to make nbdcopy faster. Any method that makes it faster on Linux is good as far as I'm concerned. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW