Rate This Document
Findability
Accuracy
Completeness
Readability

Installing and Uninstalling the Data I/O SDK

Data I/O applications are built based on the Kunpeng Storage Acceleration Library (KSAL). This Huawei-developed algorithm library contains the EC algorithm, CRC16 T10DIF algorithm, CRC32C algorithm, memcpy optimization algorithm, and DAS smart prefetch algorithm. These algorithms deliver higher storage performance than mainstream open source algorithms.

Prerequisites

  • Processor architecture: Kunpeng 920
  • Server: Kunpeng server
  • OS: openEuler 20.03 LTS SP1, openEuler 22.03 LTS SP1, or Kylin V10 SP1

Installation Directory Structure

Table 1 Structure of the kunpeng-dio installation directory

File Type

Installation Path

Description

SO file

/usr/lib64/libdas.so

Installation paths of SO files.

Table 2 Structure of the kunpeng-dio-devel installation directory

File Type

Installation Path

Description

Header file

/usr/include/ksal/das.h

Installation path of the header file.

Installing and Uninstalling the Data I/O SDK

  1. Obtain the DIO SDK installation packages.
  2. Decompress the installation packages.
    1
    2
    tar -zxvf kunpeng-dio-xxx.aarch64.tar.gz
    tar -zxvf kunpeng-dio-devel-xxx.aarch64.tar.gz
    
  3. Go to the decompressed directories and install the SDK packages.

    kunpeng-dio:

    1
    rpm -ivh kunpeng-dio-xxx.aarch64.rpm
    
    kunpeng-dio-devel:
    1
    rpm -ivh kunpeng-dio-devel-xxx.aarch64.rpm
    
  4. Uninstall the SDK.

    kunpeng-dio-devel:

    1
    rpm -e kunpeng-dio-devel
    
    kunpeng-dio:
    1
    rpm -e kunpeng-dio
    
  • xxx indicates the version number.
  • Obtain the latest TAR.GZ installation packages from the URLs given above, decompress the packages, and install the software.
  • The kunpeng-dio-devel and kunpeng-dio software packages are dependent on each other. You must install the kunpeng-dio software package before installing the kunpeng-dio-devel software package. Before uninstalling the kunpeng-dio software package, ensure that the kunpeng-dio-devel software package has been uninstalled.
  • Ensure that kunpeng-dio and kunpeng-dio-devel software packages are of the same version.