[MDEV-24927] Install liburing-dev in the CI environments Created: 2021-02-19  Updated: 2021-03-15  Resolved: 2021-02-24

Status: Closed
Project: MariaDB Server
Component/s: Packaging
Fix Version/s: N/A

Type: Task Priority: Major
Reporter: Marko Mäkelä Assignee: Daniel Bartholomew
Resolution: Done Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-24883 add io_uring support for tpool Closed

 Description   

MDEV-24883 could change a build dependency libaio-dev to liburing-dev in environments where the more modern alternative https://unixism.net/loti/ is available. It is supposed to improve throughput and latency on fast storage, such as NVMe.

I think that there are two aspects of this:

  1. Internally build and test code using liburing instead of libaio
  2. Ship packages that depend on liburing instead of libaio

We might decide that liburing is too 'bleeding edge' due to the underlying Linux distribution kernel and library, or perhaps because someone could run the server in Docker under an older kernel. The first step to find this out is to actually make packages available.



 Comments   
Comment by Daniel Bartholomew [ 2021-02-23 ]

As a first step, I looked into where this package is available.

Available

  • RHEL 8 (liburing but no liburing-devel)
  • Ubuntu 20.10 Groovy (liburing and liburing-dev)
  • Debian Sid (liburing and liburing-dev)
  • Fedora 32 (liburing and liburing-devel)
  • Fedora 33 (liburing and liburing-devel)

Not available

  • CentOS 8
  • CentOS 7
  • Ubuntu 16.04 Xenial
  • Ubuntu 18.04 Bionic
  • Ubuntu 20.04 Focal
  • Debian 9 Stretch
  • Debian 10 Buster
  • SLES 12
  • SLES 15

So it's only available on our newest builders. I also found it interesting that while there is a liburing package available on RHEL 8, I don't see it on CentOS 8 for some reason.

Since it is available on them, I will install the package on our Fedora builders, and our Sid and Groovy builders. I'll skip RHEL 8 for now, since it doesn't appear to have a devel package available, and the lib package isn't available on CentOS 8.

Comment by Daniel Bartholomew [ 2021-02-24 ]

The following now have liburing-dev/devel installed:

  • kvm-rpm-fedora32-amd64
  • kvm-rpm-fedora33-amd64
  • kvm-deb-sid-amd64
  • kvm-deb-sid-x86
  • kvm-deb-groovy-amd64
Comment by Daniel Bartholomew [ 2021-02-24 ]

Also installed liburing-dev on:

  • kvm-deb-groovy-aarch64
  • kvm-deb-groovy-ppc64le
Comment by Daniel Bartholomew [ 2021-02-24 ]

I believe this task is complete, so closing.

Comment by Otto Kekäläinen [ 2021-03-10 ]

Related PR: https://github.com/MariaDB/server/pull/1773

Generated at Thu Feb 08 09:33:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.