我要评分
获取效率
正确性
完整性
易理解

Environment Requirements

This document provides guidance based on the Kunpeng server and openEuler OS. Before performing operations, ensure that your hardware and software meet the requirements.

Table 1 Hardware requirements

Item

Specifications

CPU

Kunpeng 920

NIC

2 × 25GE NIC

Table 2 OS and software requirements

Item

Version

How to Obtain

OS

openEuler 22.03 LTS SP4

Link

Container

openEuler-docker.aarch64.tar.xz

Link

Redis

6.0.20

Link

7.0.15

Link

KRAIO affinity kernel

kernel-5.10.0-275.0.0.178.oe2203sp4.aarch64.rpm or later

Click the link, search for kernel-5.10.0 on the page, and download the latest kernel version.

The kernel file name is in the format of kernel-5.10.0-xxx.0.0.xxx.oe2203sp4.aarch64.rpm, where xxx indicates the version. A larger value of xxx indicates a later version.

KRAIO patch

redis-6.0.20-adapt-iouring.patch

Only Redis 6.0.20 is supported.

Link

redis-7.0.15-adapt-iouring.patch

Only Redis 7.0.15 is supported.

Link

KRAIO library

libkraio.so and kraio.h

Redis 7.0.15 and Redis 6.0.20 are supported.

Link

  • This document verifies Redis performance optimization in a Docker-based environment with bond4 and IPVLAN configurations.
  • This document uses Redis 7.0.15 as an example to describe how to install and enable this feature, as well as how to test its functions and performance. For Redis 6.0.20, you may follow the same instructions, but be sure to update the version number accordingly in all commands.
  • If the OS uses an openEuler kernel, kernel-5.10.0-275.0.0.178 or later is required. For earlier versions, the patches of bugfix and features such as affinity and timer wakeup must be installed.
  • If the OS uses a non-openEuler kernel, the kernel version 5.10 or later is required, and the patches of bugfix and features such as affinity and timer wakeup must be installed.