Richard W.M. Jones
2021-Mar-31 17:07 UTC
[Libguestfs] [libnbd] GSoC21: IO_uring optimization questions
On Wed, Mar 31, 2021 at 05:55:34PM +0100, Stefan Hajnoczi wrote:> On Tue, Mar 30, 2021 at 06:05:57PM +0100, Richard W.M. Jones wrote: > > [Adding Stefan: Have we retro-fitted io_uring into any other libraries?] > > Not that I'm aware of. You could check Fedora or another Linux distro's > packages to find what depends on liburing and then investigate those > packages.Yes that's a good point - it's likely they would depend on liburing. A few queries like: # dnf repoquery --whatrequires 'liburing' --qf '%{SOURCERPM}' # dnf repoquery --whatrequires 'liburing.so.1()(64bit)' --qf '%{SOURCERPM}' shows only: folly-2021.03.15.00-1.fc33.src.rpm mpd-0.22.6-1.fc33.src.rpm qemu-5.1.0-9.fc33.src.rpm samba-4.13.5-0.fc33.src.rpm - "folly" is "An open-source C++ library developed and used at Facebook" (https://github.com/facebook/folly). Usage seems to be confined to a couple of experimental backends. - "mpd" "Music Player Daemon (MPD)" (https://www.musicpd.org). Fairly extensive use of io_uring for as an optional event backend. However it's a server so not directly relevant to us. qemu & samba we know about. Abhay: It might be worth looking at qemu's use of io_uring in block/file-posix.c Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Abhay Raj Singh
2021-Mar-31 17:17 UTC
[Libguestfs] [libnbd] GSoC21: IO_uring optimization questions
> >qemu & samba we know about. Abhay: It might be worth looking at> qemu's use of io_uring in block/file-posix.c >Thank Rich and Stefan. I will look at their transitions and update in a few days of what they did and their similarities with our use case. -- Abhay (rathod-sahaab)>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libguestfs/attachments/20210331/4e3816e9/attachment.htm>
Abhay Raj Singh
2021-Apr-09 18:23 UTC
[Libguestfs] [libnbd] GSoC21: IO_uring optimization questions
Hello again! Sorry for the late update I have family functions so had to travel. I have prepared a draft proposal which you can visit here: https://docs.google.com/document/d/14gEFCA9vc59fqnZB_TxZ2ILcjk90o8_z0fEKtSP3b2o/edit?usp=sharing I have also submitted the draft on the GSoC site. Please suggest if I should add something more or present it differently. Humble Regards, -- Abhay (rathod-sahaab)