Overview
Workload Accelerator is a tool provided by Huawei Cloud for application optimization.
It works in two ways:
- Static acceleration
Static acceleration collects the PMU monitoring information on the CPU when an application is running, and statically builds a new high-performance binary based on the collected information. It may require only adjustments to compiler parameters, without involving any other code modifications. There are two optimization methods in static acceleration.
- Use the native BOLT tool: Only fixed parameter combinations can be used to optimize applications.
- Run the hce-wae-auto commands: Different parameter combinations can be generated based on the user-defined parameter range for application optimization.
- Dynamic acceleration
Dynamic acceleration directly accelerates the application process without interrupting services.
Optimization Method |
Pros |
Cons |
---|---|---|
Static acceleration |
Applications are optimized on the basis of binary executable files, and the program code does not need to be modified. |
After the optimization, you need to restart the applications. |
Dynamic acceleration |
Application processes are optimized directly. Applications do not need to be restarted. Optimization results can be saved using application snapshots. In addition, binary file source tracing can be ensured, and application processes can be continuously optimized for iteration until the performance improvement reaches the bottleneck. |
Data can only be collected using instrumentation, and optimization can be performed only once. |
Constraints
- Workload Accelerator can be used only with HCE 2.0 of the x86 architecture.
- Only the root user can use Workload Accelerator.
Process for Using Workload Accelerator to Optimize Applications
- Install the Workload Accelerator.
- Optimize the application through static acceleration or dynamic acceleration.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot