Huawei Kunpeng HCIA certification notes summary 2 (with question bank)

The road is hindered and long, and the line is approaching. Keep your head down and work hard, if you don't call it, it's a blockbuster! Come on, Sao Nian!

1 Reference

  In the process of preparing for the exam, I have referred to a lot of materials. Thank you very much for your help. The link to organize the information is as follows:

  There is a link in this senior's article, you can take a mock exam, respect the original, thank you senior for your help!

  Reminder: When the browser is reading the article, you can use shortcut keys to search for keywords. Ctrl + F

2 Summary of notes

  This section mainly summarizes the notes during my study and shares the thoughts in the handouts. I hope it will be helpful to you! It should be noted that the lecture content of the training is V1.0, but after 2021, the test version is V1.5. From my own examination, the content of the V1.0 version is probably 60% ~ 70% of the V1.5 version .

2.1 Server related

1. Huawei Kunpeng Partner Program

  • Huawei Kunpeng Gun Partner Program: Huawei cloud services Kunpeng sub-programs;

  • Huawei Kunpeng wings Partner Program: Huawei TaiShan server Kunpeng sub-programs;

  • Huawei Kunpeng Chi number Partner Program: Huawei's intelligent data storage & Kunpeng sub-programs;

  • The main focus is: one cloud, two wings, twin engines

2. Different models of servers and different applicable scenarios

  • Kunpeng 920: suitable for servers

  • Kunpeng 920s: suitable for workstations

  • Kunpeng 920lite: suitable for PC

3. Kunpeng 920 has 3 built-in acceleration engines

  • Built-in SSL acceleration engine
  • Built-in encryption algorithm acceleration engine
  • Built-in compression engine

4. 2280E is weaker than 2280;

5. Water cooling is not real tap water, but water with a special medium, which has better heat dissipation and heat conduction efficiency;

6. The value characteristics of TaiShan200 rack server: calculation, storage, transmission, management, AI (intelligence);

7. ECS: Elastic Cloud Server

8. BMS: bare metal server

  • 2 CPUs, up to 128 cores;

  • All resources are allocated to you for use, but the elastic cloud server ECS will be pooled and only part of it will be allocated to you;

2.2 TPCC

  TPCC transaction types, there are the following types:

  • new order
  • Payment operation
  • Ship
  • Order status query
  • Inventory status query

  Refer to the figure below for specific transaction type analysis

img

  TPCC performance metrics, these values ​​are the larger the better

  • Flow index, tpmc

  • Cost performance, price / tpmc

  • tpmtotal

  • tpmTOTAL

2.3 BenchmarkSQL test tool

1. Compilation and installation requirements: JDK7 or above is required

2. The supported databases are

  • Oracle
  • PostgreSQL
  • EnterpriseDB
  • DB2
  • SQL Server
  • GaussDB, Huawei self-developed database (OpenGauss)

3. Configuration files created by different databases

  • Oracle:props.ora
  • PostgreSQL:props.pg
  • FirebirdSQL:props.fb
  • GaussDB:props.gb

4. Database connection

  • db: database, such as Oracle, PostgreSQL
  • driver: database driver;
  • conn: database connection string
  • user/password: database user name and password

5. Scene configuration parameters

  • warehouse: Specify the number of warehouses.
  • loadWorkers: Specify the number of concurrent loading data.
  • Terminals: Specify the number of concurrent users.
  • runMins: Specify the test time.
  • runTxnsPerTerminal: Specify the number of transactions run by each Terminal, runMins must be equal to 0.
  • limitTxnsPerMin: Specify the total number of transactions per minute.
  • terminalWarehouseFixed: Specify whether each terminal is bound to a fixed warehouse.

6. Measurement indicators

  • tpmC( NewOrders )
  • tpmTOTAL( TPS )

7. Performance optimization ideas, look familiar

img

2.4 HiBench

1. Big data benchmark test suite "HiBench". The basic introduction, supported frameworks, open source version components, etc. are as follows

img

2. HiBench test categories are as follows, there are 6 test categories

  • micro
  • ml (machine learning)
  • sql
  • graph
  • websearch
  • streaming

3. HiBench file configuration is as follows, modify ${HiBench}/conf/hadoop.conf

  • Set the hadoop installation directory (Note: varies with personal environment)
hibench.hadoop.home ${hadoop_home}
  • Set the hadoop execution directory
hibench.hadoop.executable ${hibench.hadoop.home}/bin/hadoop
  • Set the hadoop configuration directory
hibench.hadoop.configure.dir ${hibench.hadoop.home}/etc/hadoop
  • Set the HDFS root path for storing HiBench data
hibench.hdfs.master hdfs://hacluster

4. Test report, measurement standard: Throughput (throughput), the higher the better; the higher the value, the better the performance!

2.5 HPC performance test

1. What is HPC?

  HPC (High Performance Computing) high-performance computing, through high-speed network will be interconnected to form a large number of server computer clusters , and high-performance storage together, solving scientific research, the industry's most complex computational science problems (three scientific research paradigms: theoretical science , Experimental Science, Computational Science).

2. Typical application areas

  • Environmental science
  • life sciences
  • Materials Science/Chemistry
  • Astrophysics
  • energy
  • manufacture

3. Typical HPC application-WRF, please refer to the figure below for specific information

img

img

2.6 Performance Tuning Analysis Tool

1. Huawei Kunpeng performance optimization tool, the name of the V1.5 version: Kunpeng Tuning kit

2. Overview of performance tuning, refer to the figure below

img

3. Huawei Kunpeng performance optimization tool, mainly for the scenario where the application is deployed on the TaiShan server , refer to the following figure for details

img

4. Features of Huawei Kunpeng Performance Optimization Tool

  • Supports the collection of CPU Cycles performance events of the entire system or specified processes, and can quickly locate hot functions.

  • Supports hot functions to be grouped according to CPU cores/threads/modules, and supports viewing hot function call stacks.

  • Support to view hot functions and their call stacks through the flame graph.

  • Support code mapping function, that is, view the hot instructions in the function and the high-level language file and line number corresponding to the instruction.

  • Support display control flow graph of assembly code.

  • Support the analysis of hot functions and hot instructions of Java code.

5, Huawei Kunpeng performance optimization tool currently only supports standalone deployment , Huawei will soon Kunpeng performance optimization tool all the components are deployed on a single server, complete
as performance data acquisition and analysis of the server software. The deployment environment requirements are shown in the following table:

category Subclass Claim
hardware server TaiShan 200 server, using Huawei Kunpeng 920 processor
operating system CentOS
openEuler
1. CentOS 7.6, the kernel version is 4.14.0 or above
2. OpenEuler open source community version

6. Huawei Kunpeng performance optimization tool business process

(1) Input

  • Create performance analysis tasks
  • Configure task attribute parameters (analysis type, application path, CPU sampling period, etc.)
  • Run the software to be analyzed and analysis tasks

(2) Analysis and processing

  • Collect processor performance index data
  • Collection function (C/C++/Java) performance index data
  • Store the collected data files in a database according to different indicator dimensions
  • Statistical analysis and comparison of empirical indicators to locate performance bottlenecks

(3) Output; output results are very important, not just these three categories

  • Top hotspot function
  • Hot code block (source code & assembly display)
  • Flame graph shows the calling relationship between functions

2.7 NUMA

1. Physically, a DDR is only mounted on one node. To access the DDR on this node, other nodes need to communicate through the on-chip bus or the inter-chip bus.

2. Memory access latency from high to low is: 跨Socket > 跨NUMA不跨Socket > NUMA内

2.8 Questions

1. What is the TPCC measurement standard? ( C )

A. QphH

B. Response time

C. tpmC

D. TPS

2. What does loadWorkers refer to in the BenchmarkSQL configuration file ( B ).

A. Number of concurrent users

B. The number of concurrent database loading

C. Number of parallel databases

D. Number of database tables

3. What frameworks does HiBench support? ( ABCD )

A. flinkbench

B. hadoopbench

C. stormbench

D. sparkbench

4. Which of the following options may affect WRF performance ( ABCD )

A. Network bandwidth

B. Number of parallel threads

C. Memory refresh rate

D. Storage read and write speed

5. What dimensions does the Huawei Kunpeng performance optimization tool support to analyze application performance bottlenecks? ( AB )

A. C/C++

B. Java Mixed-Mode

C. Locks and Waits

D. LLC&DDR

6. Huawei Kunpeng performance optimization tool can provide ( ABCD ) performance analysis results.

A. Analyze Top Hotspot Functions

B. Analysis function flame graph

C. Analyze hot function code mapping

D. Analyze the index values ​​of the top-down model corresponding to different functions

3 Question bank sharing

  This time I mainly share the question bank of version V1.0. If you find a question bank of the new version V1.5, you will also share it!

3.1 Resource acquisition

  At present, there are two ways to obtain the question bank of "Huawei Kunpeng HCIA Certification Exam V1.0"

3.2 Mock exam

  [References] There is a question bank for sharing the big guys, and there are also mock exams done by the big guys. I summarized the question bank I recorded and made some mock exams.

  How to get it: Follow the WeChat public account "Embedded Basic Learning" and reply the keyword "Kunpeng Mock Test" in the background to get it for free.

4 Ending Wishes

  Thank you very much for seeing this. Don’t forget to follow the public account "Embedded Basic Learning" for free resources! Finally, I wish you all the best and all the best!

If the content of the article is wrong, please comment / private message a lot of advice! If you think the content of the article is not bad, remember to click the four links (like, bookmark, leave a message, follow), if you can click a follow, that is the greatest encouragement to me, and it will be the motivation for my creation, thank you !

Guess you like

Origin blog.csdn.net/Fighting_Boom/article/details/113145749