Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-24927

Install liburing-dev in the CI environments

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • N/A
    • Packaging
    • None

    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.

      Attachments

        Issue Links

          Activity

            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.

            dbart Daniel Bartholomew added a comment - 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.

            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
            dbart Daniel Bartholomew added a comment - 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

            Also installed liburing-dev on:

            • kvm-deb-groovy-aarch64
            • kvm-deb-groovy-ppc64le
            dbart Daniel Bartholomew added a comment - Also installed liburing-dev on: kvm-deb-groovy-aarch64 kvm-deb-groovy-ppc64le

            I believe this task is complete, so closing.

            dbart Daniel Bartholomew added a comment - I believe this task is complete, so closing.
            otto Otto Kekäläinen added a comment - Related PR: https://github.com/MariaDB/server/pull/1773

            People

              dbart Daniel Bartholomew
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.