public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [RFC] New global USE flag: io-uring
@ 2024-11-08 17:20 Filip Kobierski
  2024-11-15  9:08 ` Jaco Kroon
  2024-12-12 17:19 ` Florian Schmaus
  0 siblings, 2 replies; 3+ messages in thread
From: Filip Kobierski @ 2024-11-08 17:20 UTC (permalink / raw
  To: gentoo-dev@lists.gentoo.org


[-- Attachment #1.1: Type: text/plain, Size: 885 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* Re: [gentoo-dev] [RFC] New global USE flag: io-uring
  2024-11-08 17:20 [gentoo-dev] [RFC] New global USE flag: io-uring Filip Kobierski
@ 2024-11-15  9:08 ` Jaco Kroon
  2024-12-12 17:19 ` Florian Schmaus
  1 sibling, 0 replies; 3+ messages in thread
From: Jaco Kroon @ 2024-11-15  9:08 UTC (permalink / raw
  To: gentoo-dev, Filip Kobierski

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


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

* Re: [gentoo-dev] [RFC] New global USE flag: io-uring
  2024-11-08 17:20 [gentoo-dev] [RFC] New global USE flag: io-uring Filip Kobierski
  2024-11-15  9:08 ` Jaco Kroon
@ 2024-12-12 17:19 ` Florian Schmaus
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2024-12-12 17:19 UTC (permalink / raw
  To: gentoo-dev


[-- Attachment #1.1.1: Type: text/plain, Size: 1062 bytes --]

On 08/11/2024 18.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.
> 
> 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?

I also think io-uring is a good candidate for a global use flag. Given 
that there where no objections, please feel encouraged to propose a 
tree-wide patch.

- Flow

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 21567 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

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

end of thread, other threads:[~2024-12-12 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-08 17:20 [gentoo-dev] [RFC] New global USE flag: io-uring Filip Kobierski
2024-11-15  9:08 ` Jaco Kroon
2024-12-12 17:19 ` Florian Schmaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox