• Re: [gentoo-dev] [RFC] New global USE flag: io-uring

    From Jaco Kroon@21:1/5 to Filip Kobierski on Fri Nov 15 10:10:02 2024
    Hi,

    On 2024/11/08 19:20, Filip Kobierski wrote:
    Hello everyone,

    lately I have been looking into the io_uring functionality in the
    kernel and apps that I use -- what could be a non-generic USE flag
    shared by mpd and qemu?

    I have noticed that currently 9 packages[1] have an io-uring USE
    flag. All of them use it for enabling the use of io_uring
    system calls.

    https://packages.gentoo.org/useflags/uring

    So that's 12 packages.

    And sys-apps/syd already uses io-uring unconditionally looks like.

    I'm in support of this being a global.

    Kind regards,
    Jaco

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Filip Kobierski@21:1/5 to All on Fri Nov 8 18:30:01 2024
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) -----------------------dd565164ff005092b4add5a8f36e39d3 Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;charset=utf-8

    Hello everyone,

    lately I have been looking into the io_uring functionality in the
    kernel and apps that I use -- what could be a non-generic USE flag
    shared by mpd and qemu?

    I have noticed that currently 9 packages[1] have an io-uring USE
    flag. All of them use it for enabling the use of io_uring
    system calls.

    The feature was introduced in 5.1 and the oldest we ship is 5.10
    so I think there will be no compatibility issues.

    Introducing a new io-uring global USE flag would encourage users
    to enable it globally and simplify the configuration.

    The USE description that I propose is
    "Enable the use of io_uring system calls for efficient async IO".
    Of course if there is something more fitting it should be chosen,
    I have no hard opinions here.

    What do you think about it?

    Kind regards
    Filip Kobierski

    [1]: https://packages.gentoo.org/useflags/io-uring -----------------------dd565164ff005092b4add5a8f36e39d3--

    -----BEGIN PGP SIGNATURE-----
    Version: ProtonMail

    wnUEARYKACcFgmcuSEoJkAUVAewu4JXrFiEEDDuAKD1tNsX0bzf/BRUB7C7g lesAAHjHAP9FnHRhNlg24NIljjFrJTmAj8xlmIjaRZOTNRGhBBZ35gEAwDGD 7SkSOA7DJhRBcjxAXcsSYVMI5g/zbze2pZByvwM=
    =//qD
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)