In progressarmThe first thing that needs to be done before the platform migration work is to prepare. One of the most important steps is to choose the right oneHardware configurationand ensure alignment with the previous server. In this process, the alignment of CPU performance features needs to be considered as well:Operating systemChoice. For example, if migrating from an Intel platform toHuaweiKunpengplatform, you need to select the CPU model that matches the previous server, and select the corresponding oneOperating system。At the same time, you also need to pay attention to some functional differences, such as:Hyper-threadingThe turbo frequency function is inKunpengIt is not supported on the platform, so you need to compare by core when making comparisons. In addition,Operating systemThe choice also needs to be considered, such as **adaptationKunpengversion of the installation, as well as the choice of alternate alternatives.
Before proceeding with the migration work, make a full selection of technologies andHardware configurationThe alignment is very important. Make sure that the new platform is functionally and performantly aligned with the old platform to avoid later delaysCompatibilityIssue. At the same time, choose the right oneOperating systemIt is also very important because it is differentOperating systemcorrespondingSoftwareEcological environments are different. Therefore, in the choiceOperating systemtime, to take into accountSoftwareofCompatibilityand adaptability to ensure proper operation after migration.
In progressarmBefore the platform is migrated, the system needs to be alignedSoftwarestack evaluates and analyzes and develops a corresponding migration plan. systemSoftwareThe stack mainly includes application open sourceSoftware, compiledSoftwarejdkand related dependencies. During the migration process, you need to determine whether you use the C library file or the component written in C, and analyze itjdkWhether or not to shield withInstruction setRelated sections. For open sourceSoftware, you need to get an adaptationKunpengofSource codeCompile and replace the original application's invocation instructions. In addition, the referenced dynamic library files need to be recompiled to resolve possible errors. For commercial useSoftwareif it is not supportedarmInstruction set, which can be done through open source firstSoftwareReplace it, build the environment and then move forward.
For pre-migration analysis, consider the systemSoftwareThe various components of the stack ensure that they are compatible and run properly in the newarmplatform. Among them, for open sourceSoftwareThe handling should be treated with extra care, because it is open sourceSoftwareofSource codeis public, so it can be adaptedKunpengofSource codeCompile to ensure compatibility and adaptation to the new platform. For commercial useSoftwareIf it is not supported at the momentarmInstruction set, which can be done through open source firstSoftwareReplace it, and then carry out follow-up after the environment is set up.
In progressarmThe migration of the platform needs to be rightSoftwarepackage for compilation and installation. Due toarmThe ecology of the platform is relatively limitedHuaweiLaunchedEulerOpen source community, with the aim of expandingarmThe ecology of the platform. So, for open sourceSoftware, which can be found inEulerSearch for relevant resources on the community. InSoftwareIn the process of compiling a package, there are two main scenarios: one is the migration of **, where different compiled languages need to be modified differently, such as c c needs to be recompiled and referencedHuaweiThe provided documents are replaced with instructions;The other is to compile itrpmdeb package to check andRefactoringto ensure the correctness of the dependency.
When compiling and installing software packages, you need to fully consider the differencesProgramming languagescharacteristics and requirements, and refer to the specified documents for corresponding modifications and replacements. In order to ensureSoftwareThe correctness and stability of the need to be checked andRefactoringto eliminate possible dependency issues.
In the endSoftwareAfter compiling and installing, you need to tune the performance of the system. This includes two aspects of testing: benchmarking and testing of business application systems. The benchmark test is mainly on the computing performance of the systemMemory bandwidth, stability, network performance, and system performance. The test of business application systems mainly focuses on network performance, IO performance, andDatabasesperformance, etc. When tuning, you need to work with:HuaweiKunpengThe team interconnects and binds the core memory and optimizes the kernel policy according to the actual situation.
Performance tuning is a very important part of the migration processPerformance testingThe stability and performance of the system can be evaluated. Benchmark testing evaluates the overall performance of the system, while testing of business application systems focuses more on how well the system performs in actual operation. By tuning the performance, the stability and performance of the system can be further improved, and the user experience can be improved.
In progressarmAfter the platform migration work, there needs to be an ongoing processStress testand carry out follow-up O&M work. Stress testMainly by givingKunpengarmThe server applies pressure, observes the performance of the system under pressure, and monitors each function. In the process, you may encounter situations where some tools are not available, such as the turbostat tool for monitoring the frequency of each core. In addition,KunpengarmThe server does not support pstate frequency modulation, so during the stress process, the frequency is fixed. During O&M, you can use tools such as cpupower to tune performance.
ContinuousStress testand follow-up O&M work, which is an important part of ensuring the stable operation of the system after migration. PassedStress testYou can understand the performance of the system under different workloads and tune the performance accordingly. At the same time, in the process of operation and maintenance, the status of the system should be monitored regularly, and corresponding maintenance and optimization should be carried out to ensure the stability of the systemReliability
armAlthough the migration of the platform is challenging, through proper preparation, analysis, and tuning, the migration can be completed smoothly and the stability and performance of the system can be ensured. Summary: The article describes the migration from the Intel platform toarmplatformSoftwareMigration workflows. First of all, you need to make preparations, including choosing the right oneHardware configurationwithOperating system。A pre-migration analysis is then conducted to assess the systemSoftwarestack and develop a corresponding migration plan. And then proceedSoftwareCompilation and installation of packages, including migration andRefactoringand address dependency issues. After that, performance tuning, including benchmark testing and testing of business application systems, is performed to improve the performance and stability of the system. Finally, carry out the continuationStress testand follow-up operation and maintenance work to ensure the stable operation of the system. With the above steps, it can be completed smoothlyarmMigration of the platform and ensure the performance and stability of the system.