Rate This Document
Findability
Accuracy
Completeness
Readability

Overview

The underlying chip architecture of Kunpeng servers is different from that of the traditional x86 chip. During service software porting, you need to modify the code. The modified code may maintain two code forks, which increase the code maintenance cost. This method is not recommended. Code normalization is the process of combining the code of two forks into one set of code. This section provides the common code normalization methods and suggestions.

From the technical perspective, the two sets of code in all scenarios can be normalized after the porting. The service decision-maker can determine whether to normalize the code or when to normalize the code based on the normalization workload and maintenance cost. It is recommended that the services are ported based on the same set of code or the code be normalized as soon as possible after the service is ported using software fork.