public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andreas Karlsson <[email protected]>
To: Jakub Wartak <[email protected]>
To: Steven Niu <[email protected]>
Cc: Pierre <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [PATCH] check kernel version for io_method
Date: Wed, 14 Jan 2026 18:26:27 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKZiRmy3xrsju81b-fzUjtwn_dHR-744eJ31KYzo8hiyGnxMBA@mail.gmail.com>
References: <[email protected]>
	<[email protected]>
	<MN2PR15MB30219C300249CA008F144614A78FA@MN2PR15MB3021.namprd15.prod.outlook.com>
	<CAKZiRmy3xrsju81b-fzUjtwn_dHR-744eJ31KYzo8hiyGnxMBA@mail.gmail.com>

On 1/14/26 12:14 PM, Jakub Wartak wrote:
> I haven't looked at this patch, however the above statement is not
> completely true. There is a parallel problem [1] related to kernel
> version, where if you do not run proper kernel version (>= 6.5) or
> proper liburing version, then fork() (-> all connections established)
> are going to be slow slugging under more than basic load due to lack
> of "combined memory mapping creation" (so technically speaking
> recommending someone to go to 5.6.x but < 6.5 IMHO is also not good
> advice). See first message in that [1] for a performance report about
> this. IMHVO if we are checking for kernel versions we could also warn
> about performance regression (something like merge those two patches
> if one wants to have a good io_uring experience).

We can probe for that too, which we already do. If you call 
pgaio_uring_ring_shmem_size() it will return 0 on Linux <6.5. Which I 
think eve further supports probing for the features we need rather than 
looking at the kernel version.

Andreas







view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: [PATCH] check kernel version for io_method
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox