Technical White Paper - Kunpeng BoostKit for ARM Native - HUAWEI TECHNOLOGIES CO., LTD.

Page created by Carmen Gordon
 
CONTINUE READING
Kunpeng BoostKit for ARM Native

Technical White Paper

Issue           09
Date            2021-03-31

HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without prior
written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

      and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.

Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                                  i
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                                                                                                          Contents

                                                                                                                                                          Contents

1 Overview....................................................................................................................................1
2 Architecture.............................................................................................................................. 3
3 Advantages............................................................................................................................... 5
4 Applications.............................................................................................................................. 9
4.1 Cloud Hosting Scenario......................................................................................................................................................... 9
4.1.1 Architecture............................................................................................................................................................................ 9
4.1.2 Network................................................................................................................................................................................ 10
4.1.3 Typical Configuration....................................................................................................................................................... 11
4.2 Cloud Application Scenario............................................................................................................................................... 12
4.2.1 Architecture......................................................................................................................................................................... 12
4.2.2 Network................................................................................................................................................................................ 14
4.2.3 Typical Configuration....................................................................................................................................................... 14
4.3 Cloud Terminal Scenario.....................................................................................................................................................15
4.3.1 Architecture......................................................................................................................................................................... 15
4.3.2 Network................................................................................................................................................................................ 16
4.3.3 Typical Configuration....................................................................................................................................................... 17

5 Feature List............................................................................................................................. 19
6 Software Compatibility........................................................................................................ 22
7 Application Process............................................................................................................... 23
A Change History...................................................................................................................... 24

Issue 09 (2021-03-31)                                    Copyright © Huawei Technologies Co., Ltd.                                                                                           ii
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                     1 Overview

                                                                      1        Overview

                 The shift of China's economic development from the manufacturing sector to the
                 service sector gradually changes people's consumption preferences. As cloud
                 computing is booming and mobile devices become increasingly popular, cloud
                 phones and cloud games come into being. Cloud computing technologies applied
                 on network terminal services make cloud phones available from cloud servers. In
                 fact, a cloud phone is a smartphone that integrates network services. With its
                 built-in operating system (OS) and network terminals provided by its vendor, such
                 a smartphone play its role in a wide range of applications including interactive
                 entertainment, mobile office, online education, terminal companionship, and app
                 hosting. See Table 1-1.

                 Table 1-1 Application scenarios of ARM native solutions
                  Applicati   Sub Scenario
                  on
                  Scenario

                  Interacti   Cloud gaming: game trial and subscription, interactive social cloud
                  ve          games, cloud-native game super apps (free from those resource
                  entertai    constraints on physical mobile phones)
                  nment
                              Interactive advertising: the fourth advertising revolution that
                              features real-time human-screen interaction, following audio,
                              images, and videos

                              Interactive live streaming: massive parallel live streaming across
                              live streaming platforms and real-time interactive live streaming

                  Mobile      Secure mobile office designed for governments and enterprises:
                  office      bring-your-own-device (BYOD), zero data loss, and real-time
                              monitoring

                              Traditional enterprise community applications: comprehensive
                              protection for enterprises' mission-critical data assets and enhanced
                              collaboration among employees

                              Cloud conferencing: quick access through hyperlinks, zero-cost
                              promotion, super interaction, and native sharing of Android apps

Issue 09 (2021-03-31)         Copyright © Huawei Technologies Co., Ltd.                               1
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                     1 Overview

                  Applicati   Sub Scenario
                  on
                  Scenario

                  Online      Online cloud apps: copyright control, low-cost promotion, and
                  educatio    availability optimization based on user behavior analysis
                  n
                              Interactive class: concurrent management of a large number of
                              students, parents' real-time remote control, and real-time
                              interaction between teachers and students

                  Terminal    Mobile phone companion: many-to-many companionship (multiple
                  compani     physical machines to multiple cloud phones), hitless switchover
                  on          between multiple devices, and personal privacy protection

                              Familiarity cloud phone: remote assistance for the children and
                              elderly in your family

                  App         Mobile phone simulation test: simulation test of mobile phone
                  hosting     OSs, apps, and algorithms

                              App test: function, security, and admission tests of apps

                              Automatic app hosting: app service logic automation and web
                              crawlers

                 The previous application scenarios of ARM native solutions are fulfilled mainly on
                 the three types of architecture: cloud hosting, cloud apps, and cloud terminals.

                 Table 1-2 Architecture
                  Architec    Description
                  ture

                  Cloud       There is no need to interact with terminals in real time. Service
                  hosting     computing is centralized in the cloud data center, for example, in an
                              app hosting scenario.

                  Cloud       Real-time interaction with terminals is required. The app is displayed
                  app         through its own user interface on the cloud, which can be used upon
                              clicks or taps, for example, in interactive entertainment and online
                              education scenarios.

                  Cloud       Real-time interaction with terminals is required. The app is displayed
                  terminal    through the Android system user interface on the cloud, which can
                              be used upon clicks or taps, for example, in mobile devices and
                              terminal companions.

Issue 09 (2021-03-31)         Copyright © Huawei Technologies Co., Ltd.                                2
Kunpeng BoostKit for ARM Native
Technical White Paper                                                               2 Architecture

                                                               2         Architecture

                 The architecture of the Kunpeng BoostKit for ARM Native is composed of the
                 hardware platform, host OS, virtualization layer, and guest OS layer.
                 Figure 2-1 shows the overall architecture of the solution.

                 Figure 2-1 Architecture of the Kunpeng BoostKit for ARM Native

                 Table 2-1 Components of the Kunpeng BoostKit for ARM Native
                  Component       Description

                  Guest OS        The guest OS is an OS running on a virtual machine (VM).
                                  It can be the Android Open Source Project (AOSP) or the
                                  Huawei Emotion User Interface (EMUI, used only in device
                                  emulation).

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                          3
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                  2 Architecture

                  Component        Description

                  Virtualization   Virtualization converts physical resources, such as servers,
                                   networks, memory, and storage devices, into visible virtual
                                   resources, implementing resource pooling and elastic resource
                                   scheduling.
                                   Common virtualization solutions are as follows:
                                   ● Android emulator: uses the open-source Quick EMUlator
                                     (QEMU) and kernel-based virtual machine (KVM).
                                   ● Android container: uses the open-source Docker.

                  Host OS          OS used to install the VM software.
                                   Ubuntu and CentOS are supported.

                  Hardware         It uses TaiShan 100/200 servers. The TaiShan servers support
                  platform         GPU, SSD, and PCIe acceleration and expansion and 10GE switch
                                   modules, and can be flexibly configured based on service
                                   requirements.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                             4
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                      3 Advantages

                                                                   3          Advantages

                 The Kunpeng BoostKit for ARM Native uses Huawei servers and open-source
                 software based on the open-source architecture. It has the following advantages:

                 ●      High performance
                        The system performance loss decreases by 40% because the homogeneous
                        computing has no instruction translation.
                 ●      Wide compatibility
                        This solution is fully compatible with the Android ecosystem, eliminating the
                        need for porting mobile applications.
                 ●      Flexible expansion
                        It can use virtualization and container technologies to enable elastic
                        allocation of CPUs, memory, storage, and network resources on demand.
                 ●      High reliability and easy management
                        The hardware platform uses enterprise-class components and system design
                        standards. It is easy to manage and has a long lifecycle.

Compared with the x86 Server Solution
                 ●      Compatibility
                        –   Mobile phones mainly use ARM-based processors, which lead to a large
                            number of ARM-based apps and third-party libraries. It is impossible for
                            the existing ecosystem to encourage app developers to release a large
                            number of x86 versions. Therefore, instruction translation is required for
                            x86 apps.
                        –   The CPU instructions evolve continuously. It is difficult to implement full
                            compatibility through instruction translation (ARM to x86).
                 ●      Performance
                        –   Many apps invoke C++ programming (Android NDK) for higher
                            performance.
                        –   Instruction translation causes performance deterioration due to real-time
                            translation and instruction prediction miss. The performance loss is
                            estimated to be 40%, depending on the specific application behavior.

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                                  5
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                     3 Advantages

Compared with the AP Board Solution
                 ●      Flexible resource allocation
                        The Kunpeng BoostKit for ARM Native can use virtualization and container
                        technologies to enable elastic allocation of CPUs, memory, storage, and
                        network resources.
                 ●      High reliability and easy management
                        –   High-reliability enterprise-class components and hardware design
                            standards
                        –   Standard server management procedures
                        –   Long lifecycle: 3 to 5 years, longer than that of the AP board (1 to 2
                            years)

Compatible with 32-Bit Applications
                 The instruction translation software of ExaGear supports AArch32 features in the
                 Kunpeng BoostKit for ARM Native scenarios, ensuring compatibility with AArch32
                 instructions.

                 Figure 3-1 ExaGear in the software stack

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                             6
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                   3 Advantages

                 Table 3-1 Software stack description
                  Component                  Description

                  ARM64 apps                 64-bit Android apps

                  ARM32 apps                 32-bit Android apps

                  64-bit libraries,          64-bit runtime libraries and environment
                  Runtime, and
                  Framework

                  32-bit libraries,          32-bit runtime libraries and environment
                  Runtime, and
                  Framework

                  Compatibility layer        Implements mapping of 32-bit APIs to 64-bit APIs.

                  Exagear                    Dynamically translates AArch32 instructions into
                                             AArch64 instructions for ARM32 user-mode apps.

                  Android 64-bit kernel      Android kernel
                  space

                  Android Emulator           Android simulator
                  (QEMU)

                  Linux (KVM)                Linux OS

                  TaiShan 200 hardware       TaiShan servers

Container Passthrough Architecture (Kbox)
                 ●      The solution uses the container passthrough architecture to meet high-density
                        and low-cost service requirements.
                 ●      This architecture is compatible with AOSP ecosystem and features simple
                        hierarchy and streamlined code, implementing instruction passthrough, high
                        efficiency, high density, and high compatibility.

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                             7
Kunpeng BoostKit for ARM Native
Technical White Paper                                                   3 Advantages

Issue 09 (2021-03-31)       Copyright © Huawei Technologies Co., Ltd.             8
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                   4 Applications

                                                                 4          Applications

                 4.1 Cloud Hosting Scenario
                 4.2 Cloud Application Scenario
                 4.3 Cloud Terminal Scenario

4.1 Cloud Hosting Scenario

4.1.1 Architecture
                 The hosting mainly applies to mobile phone simulation testing, app testing, and
                 automatic app hosting.
                 ●      Mobile phone simulation test: simulates real phones to perform system
                        tests, such as the ROM test, camera algorithm test, and EMUI test.
                 ●      App testing: function, security, and admission tests of apps.
                 ●      Automatic app hosting: app service logic automation and web crawlers.
                 End user experience is not involved in these scenarios. The solutions focus on data
                 centers and have low requirements on client user interface (UI) connections. The
                 solutions for these application scenarios are similar, with different orientations.
                 Figure 4-1 shows the full-stack architecture of hosting scenarios.

Issue 09 (2021-03-31)           Copyright © Huawei Technologies Co., Ltd.                           9
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                  4 Applications

                 Figure 4-1 Full-stack architecture of cloud hosting

                 Table 4-1 Components in cloud hosting
                  Component              Description

                  Android apps and       The Android apps and tools vary with application
                  tools                  scenarios.

                  Device emulation       Open-source emulators provide only basic simulation
                                         functions such as CPU, memory, storage, and network
                                         simulation.

                  Android VMs/           Physical resources, such as servers, networks, memory,
                  containers             and storage devices, are converted into visible virtual
                                         resources, enabling resources to be used in a more
                                         efficient way.

                  Host OS                OS used to install VM software.

                  TaiShan servers +      Cost-effective professional GPUs support local rendering,
                  professional video     and a server supports multiple video cards.
                  cards

4.1.2 Network
                 The cloud hosting scenario requires professional video cards to support the UI of
                 virtual phones and the rendering of deployed applications. Figure 4-2 shows a
                 typical network of cloud hosting.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                               10
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                  4 Applications

                 Figure 4-2 Typical network of cloud hosting

4.1.3 Typical Configuration
                 Professional video cards are required to support the UI of virtual phones and the
                 rendering of deployed applications.

                  Item            Typical            Typical                Description
                                  Configuration      Configuration
                                  (TaiShan 100)      (TaiShan 200)

                  Server type     2U 2-socket rack   2U 2-socket rack       Determine the server
                                  server (balanced   server (balanced       to be used based on
                                  model)             model)                 the cabinet space,
                                                                            drive size, density, and
                                                                            number of PCIe NICs.
                                                                            The TaiShan rack
                                                                            servers support a
                                                                            variety of drive
                                                                            configurations,
                                                                            multiple PCIe slots,
                                                                            and GPU cards.

                  CPU             2 x Huawei         2 x Huawei             The configuration can
                                  Kunpeng 916        Kunpeng 920 7260       be adjusted based on
                                  5130 processors    processors             service requirements.

                  Memory          8 x 32 GB DIMMs    16 x 32 GB DIMMs       The configuration can
                                                                            be adjusted based on
                                                                            service requirements.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                               11
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                       4 Applications

                  Item             Typical              Typical                 Description
                                   Configuration        Configuration
                                   (TaiShan 100)        (TaiShan 200)

                  Local            2 x 900 GB SAS       2 x 900 GB SAS          The configuration can
                  storage          drives               drives                  be adjusted based on
                                                                                service requirements.

                  GPU              2 GPUs               2 GPUs                  No GPU needs to be
                                                                                configured if rendering
                                                                                is not required.
                                                                                If rendering is
                                                                                required, the customer
                                                                                needs to purchase
                                                                                GPUs and download
                                                                                the open-source GPU
                                                                                driver. Huawei
                                                                                provides the porting
                                                                                and compilation guide.
                                                                                For details about the
                                                                                GPU brands and
                                                                                models supported,
                                                                                contact the project
                                                                                owner.

                  RAID             1 Avago 3508         1 Avago 3508 RAID       Configured based on
                  controller       RAID controller      controller card         service requirements.
                  card             card

                  Riser card       Two 3x16X slots      Two 3x16X slots         Configured based on
                                                                                service requirements.

4.2 Cloud Application Scenario

4.2.1 Architecture
                 Cloud application scenarios include cloud mobile games, interactive
                 advertisements, interactive live streaming, online cloud apps, and interactive
                 classes.

                 ●      Cloud gaming: game trial and subscription, interactive social cloud games,
                        cloud-native game super apps (free from those resource constraints on
                        physical mobile phones)
                 ●      Interactive advertising: the fourth advertising revolution that features real-
                        time human-screen interaction, following audio, images, and videos
                 ●      Interactive live streaming: massive parallel live streaming across live
                        streaming platforms and real-time interactive live streaming
                 ●      Online cloud apps: copyright control, low-cost promotion, and availability
                        optimization based on user behavior analysis

Issue 09 (2021-03-31)           Copyright © Huawei Technologies Co., Ltd.                                12
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                    4 Applications

                 ●      Interactive classes: concurrent management of a large number of students,
                        parents' real-time remote control, and real-time interaction between teachers
                        and students
                 Most cloud applications use the video streaming solution, which has the following
                 features:
                 1.     Low requirements (only video decoding capabilities) for the peer end
                 2.     Automatic adjustment of the video definition based on the network
                        bandwidth and delay
                 3.     Mature ecosystem
                 Figure 4-3 shows the full-stack architecture.

                 Figure 4-3 Full-stack architecture in cloud gaming

                 Table 4-2 Components in cloud gaming
                  Component                Description

                  Android gaming           Cloud games deployed by customers.
                  apps

                  Android VMs/             Visible virtual resources are converted from physical
                  containers               resources such as servers, networks, memory, and storage
                                           devices, which enables resources to be used in a more
                                           efficient way.

                  Host OS                  OS used to install VM software.

                  TaiShan servers +        Cost-effective professional video cards support local
                  professional video       rendering, and a server supports multiple video cards.
                  cards

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                            13
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                   4 Applications

4.2.2 Network
                 Figure 4-4 shows a typical network of cloud applications.

                 Figure 4-4 Typical network of cloud applications

4.2.3 Typical Configuration
                 Cloud games are classified into video streaming games and instruction streaming
                 games. Professional video cards are required for video streaming games.

                  Item            Typical            Typical                 Description
                                  Configuration      Configuration
                                  (TaiShan 100)      (TaiShan 200)

                  Server type     2U 2-socket rack   2U 2-socket rack        Determine what server
                                  server (balanced   server (balanced        to be used based on
                                  model)             model)                  the cabinet space,
                                                                             drive size, density, and
                                                                             number of PCIe NICs.
                                                                             The TaiShan rack
                                                                             servers support a
                                                                             variety of drive
                                                                             configurations,
                                                                             multiple PCIe slots,
                                                                             and GPU cards.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                              14
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                  4 Applications

                  Item            Typical             Typical               Description
                                  Configuration       Configuration
                                  (TaiShan 100)       (TaiShan 200)

                  CPU             2 x Huawei          2 x Huawei            The configuration can
                                  Kunpeng 916         Kunpeng 920 7260      be adjusted based on
                                  5130 processors     processors            service requirements.

                  Memory          8 x 32 GB           16 x 32 GB            The configuration can
                                                                            be adjusted based on
                                                                            service requirements.

                  Local           2 x 900 GB SAS      2 x 900 GB SAS        The configuration can
                  storage         drives              drives                be adjusted based on
                                                                            service requirements.

                  GPU             3 GPUs              4 GPUs in typical     GPUs are required. The
                                                      configuration         customer needs to
                                                      (maximum 6 GPUs)      purchase GPUs and
                                                                            download the open-
                                                                            source GPU driver.
                                                                            Huawei provides the
                                                                            porting and
                                                                            compilation guides.
                                                                            For details about the
                                                                            GPU brands and
                                                                            models supported,
                                                                            contact the project
                                                                            owner.

                  RAID            1 Avago 3508        1 Avago 3508 RAID     Configured based on
                  controller      RAID controller     controller card       service requirements.
                  card            card

                  Riser card      Two 3 x 16X slots   Two 3 x 16X slots     Configured based on
                                                                            service requirements.

4.3 Cloud Terminal Scenario
4.3.1 Architecture
                 Cloud terminals are mainly used in mobile office and terminal companion
                 scenarios.
                 Mobile office: Enable mobile office using cloud phones. Data is stored on the
                 cloud rather than on mobile phones, enhancing data security.
                 Terminal companion: It is an extension to mobile phones, with many-to-many
                 companionship (multiple physical machines to multiple cloud phones), hitless
                 switchover between multiple devices, and personal privacy protection.
                 In this architecture, the cloud is presented in the form of the Android system user
                 interface. Secure mobile office is implemented on the Android OS on the cloud,

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                            15
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                 4 Applications

                 and personal service applications are embedded on the cloud, breaking the
                 constraints of personal terminals and making full use of the computing power on
                 the cloud.
                 Figure 4-5 shows the full-stack architecture.

                 Figure 4-5 Full-stack architecture of cloud terminals

                 Table 4-3 Nodes in the cloud terminal scenario
                  Component              Description

                  Office and personal    Mainstream office apps, such as email, messaging, office,
                  applications           traveling, community, attendance check, and
                                         administration apps, are integrated.

                  Secure mobile office   Secure mobile office features include user management,
                  features               secure access, access control, channel encryption, remote
                                         access protocol, and client security.

                  Android VMs/           Visible virtual resources are converted from physical
                  containers             resources such as servers, networks, memory, and storage
                                         devices, which enables resources to be used in a more
                                         efficient way.

                  Host OS                OS used to install VM software.

                  TaiShan servers        High-performance servers.

4.3.2 Network
                 Figure 4-6 shows a typical network of cloud terminals.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                           16
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                4 Applications

                 Figure 4-6 Typical network of cloud terminals

4.3.3 Typical Configuration
                 Balanced computing servers are generally used for the scenario.

                  Item            Typical            Typical              Description
                                  Configuration      Configuration
                                  (TaiShan 100)      (TaiShan 200)

                  Server type     2U 2-socket rack   2U 2-socket rack     Determine what server
                                  server (balanced   server (balanced     to be used based on
                                  model)             model)               the cabinet space,
                                                                          drive size, density, and
                                                                          number of PCIe NICs.
                                                                          The TaiShan rack
                                                                          servers support a
                                                                          variety of drive
                                                                          configurations,
                                                                          multiple PCIe slots,
                                                                          and GPU cards.

                  CPU             2 x Huawei         2 x Huawei           The configuration can
                                  Kunpeng 916        Kunpeng 920 7260     be adjusted based on
                                  5130 processors    processors           service requirements.

                  Memory          8 x 32 GB          16 x 32 GB           The configuration can
                                                                          be adjusted based on
                                                                          service requirements.

                  Local           2 x 900 GB SAS     2 x 900 GB SAS       The configuration can
                  storage         drives             drives               be adjusted based on
                                                                          service requirements.

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                            17
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                4 Applications

                  Item            Typical             Typical              Description
                                  Configuration       Configuration
                                  (TaiShan 100)       (TaiShan 200)

                  GPU             3 GPUs              4 GPUs in typical    GPUs are required. The
                                                      configuration        customer needs to
                                                      (maximum 6 GPUs)     purchase GPUs and
                                                                           download the open-
                                                                           source GPU driver.
                                                                           Huawei provides the
                                                                           porting and
                                                                           compilation guides.
                                                                           For details about the
                                                                           GPU brands and
                                                                           models supported,
                                                                           contact the project
                                                                           owner.

                  RAID            1 Avago 3508        1 Avago 3508 RAID    Configured based on
                  controller      RAID controller     controller card      service requirements.
                  card            card

                  Riser card      Two 3 x 16X slots   Two 3 x 16X slots    Configured based on
                                                                           service requirements.

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                           18
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                  5 Feature List

                                                                  5        Feature List

                  Feature        Sub Feature     Description

                  Open-          Open-source     Based on the TaiShan 200 server, it uses open-
                  source         QEMU basic      source Android simulators to build a cloud phone
                  QEMU           cloud phone     solution based on Android 7.0/Android 9.0.
                  basic
                  cloud
                  phone

                  Open-          Open-source     Based on the TaiShan 200 server, it uses open-
                  source         Robox basic     source software such as Robox and AOSP to build
                  Robox          cloud phone     a cloud phone solution based on Android 7.1.
                  basic
                  cloud
                  phone

                  Kbox           Kbox closed-    Based on the TaiShan 200 server, it uses the
                  closed-        source          closed-source Kbox and open-source AOSP
                  source         container       software to build a cloud phone solution based on
                  container      basic cloud     Android 7.1/Android 9.
                  basic          phone
                  cloud
                  phone

                  Hardware       GPS Mock        The solution injects predefined data (fixed GPS
                  simulation                     information, which cannot be dynamically
                                                 changed) through the predefined interface of GPS
                                                 Mock. The cloud phone obtains the GPS
                                                 information of Mock during running, ensuring the
                                                 GPS availability of the cloud phone.

                                 IMEI Mock       IMEI Mock enables the IMEI function on cloud
                                                 phones. The solution injects the IMEI information
                                                 provided by users into cloud phones so that IMEI-
                                                 enabled cloud phones can be used properly.

Issue 09 (2021-03-31)          Copyright © Huawei Technologies Co., Ltd.                            19
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                   5 Feature List

                  Feature       Sub Feature     Description

                                Wi-Fi Mock      Wi-Fi Mock (status mock) enables the Wi-Fi
                                                function on cloud phones by forwarding Wi-Fi
                                                traffic. Then upper-layer services can sense the
                                                Wi-Fi usage.

                                Acceleration    Acceleration sensor Mock (status mock) enables
                                sensor Mock     the acceleration sensor function on cloud phones.
                                                Then upper-layer services can sense the
                                                acceleration.

                                Gyroscope       Gyroscope Mock (status mock) enables the
                                Mock            gyroscope function on cloud phones. Then upper-
                                                layer services can sense the gyroscope usage.

                  Video         GPUs for        Based on the GPUs for TaiShan 200 servers, it
                  stream        TaiShan 200     applies to a high-density solution, and supports
                  engine        servers         720p image rendering as well as H.264 video
                                                encoding.
                                                For details about the supported GPU brands and
                                                models, consult the project contact person.

                                Video           Based on the video encoding cards for TaiShan
                                encoding        200 servers, it supports H.264/H.265 video hard
                                cards for       coding and can offload CPU computing power to
                                TaiShan 200     improve the overall system density.
                                servers

                                AOSP cloud      Server: Based on the image quality, cost, and
                                phone video     latency requirements, it builds cloud phone image
                                stream          screenshot and H.264 video encoding (software or
                                encoding        hardware) solutions to provide a basic engine for
                                                video streaming cloud phones.

                                Video stream    Client: It provides the video stream engine client
                                engine client   SDK for Android 8.x and 9.x phones. Additionally,
                                SDK             it can perform the touch synchronization,
                                                hardware passthrough, and audio synchronization
                                                functions.

                                High bit rate   It supports 720p60 and 1080p30 at high bit rates
                                and high        and high frame rates.
                                frame rate

                  Control       Audio SDK       The audio SDK is provided on cloud phones and
                  and audio                     user terminals for the server to capture audio and
                  engine                        for the client to play audio.

                                Control SDK     The control SDK is provided on cloud phones and
                                                user terminals for the client to capture operations
                                                and for the server to inject operations.

Issue 09 (2021-03-31)         Copyright © Huawei Technologies Co., Ltd.                            20
Kunpeng BoostKit for ARM Native
Technical White Paper                                                                     5 Feature List

                  Feature         Sub Feature     Description

                  ExaGear         High-density    The Arm32 instruction translation of the high-
                  32-bit          container       density container solution is available to the new
                  instruction     solution        kernel and Android versions.
                  compatibil
                  ity             Product-based   It supplements the product-based DFX of the
                                  DFX feature     ExaGear prototype code, provides systematic DFX
                                  supplement      functions, completes code quality analysis,
                                                  rectification, and hardening, such as static code
                                                  check, secure code check, and coverage check.

                                  Compatibility   It enhances the compatibility of 32-bit instruction
                                  enhancement     translation and completes compatibility tests of
                                                  top apps.

                                  Fast startup    For Exagear ARM32 instruction translation, it
                                                  supports the pre-translator feature, which
                                                  shortens the time required to start the app after
                                                  the translation.

Issue 09 (2021-03-31)           Copyright © Huawei Technologies Co., Ltd.                              21
Kunpeng BoostKit for ARM Native
Technical White Paper                                                     6 Software Compatibility

                                     6         Software Compatibility

                 Visit Compatibility Checker to obtain information about the software supported
                 by the Kunpeng BoostKit for ARM Native.

Issue 09 (2021-03-31)       Copyright © Huawei Technologies Co., Ltd.                          22
Kunpeng BoostKit for ARM Native
Technical White Paper                                                          7 Application Process

                                              7          Application Process

                 Figure 7-1 shows the end-to-end process of porting, installing, and tuning the
                 application components of the Kunpeng BoostKit for ARM Native.

                 Figure 7-1 Application process of the Kunpeng BoostKit for ARM Native

Issue 09 (2021-03-31)        Copyright © Huawei Technologies Co., Ltd.                            23
Kunpeng BoostKit for ARM Native
Technical White Paper                                                              A Change History

                                                         A            Change History

 Date                             Description

 2021-03-24                       This issue is the ninth official release.
                                  Changed "Kunpeng ARM native solution" to "Kunpeng BoostKit
                                  for ARM Native".

 2021-03-11                       This issue is the eighth official release.
                                  Updated 5 Feature List.

 2021-01-30                       This issue is the seventh official release.
                                  Updated 5 Feature List.

 2020-12-30                       This issue is the sixth official release.
                                  ● Changed the solution name to the Kunpeng ARM native
                                    solution.
                                  ● Updated the ARM native service scenario.
                                  ● Updated the description of the cloud hosting scenario.
                                  ● Updated the description of the cloud application scenario.
                                  ● Updated the description of the cloud terminal scenario.
                                  ● Updated 5 Feature List.

 2020-11-04                       This issue is the fifth official release.
                                  ● Modified 3 Advantages.
                                  ● Modified 4.2 Cloud Application Scenario.
                                  ● Modified 7 Application Process.

 2020-09-23                       This issue is the fourth official release.
                                  Changed the solution name to cloud native solution.

 2020-08-31                       This issue is the third official release.
                                  Deleted the description of Anbox and modified the description of
                                  typical configurations.

Issue 09 (2021-03-31)       Copyright © Huawei Technologies Co., Ltd.                            24
Kunpeng BoostKit for ARM Native
Technical White Paper                                                         A Change History

 Date                             Description

 2020-07-31                       The issue is the second official release.
                                  Modified Figure 3-1.

 2020-06-10                       This issue is the first official release.

Issue 09 (2021-03-31)       Copyright © Huawei Technologies Co., Ltd.                      25
You can also read