Re: [PATCH] check kernel version for io_method
| От | Andreas Karlsson |
|---|---|
| Тема | Re: [PATCH] check kernel version for io_method |
| Дата | |
| Msg-id | 10a90d37-3471-4ea4-a492-117c7997d4ed@proxel.se обсуждение исходный текст |
| Ответ на | Re: [PATCH] check kernel version for io_method (Jakub Wartak <jakub.wartak@enterprisedb.com>) |
| Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: