Javascript must be enabled to continue!
AOBO: A Fast-Switching Online Binary Optimizer on AArch64
View through CrossRef
As the complexity of real-world server applications continues to grow, performance optimizations for large-scale applications are becoming increasingly challenging. The success of online optimization offered by OCOLOS and Dynimize proves that binary rewriting based on edge profiling data can significantly accelerate these applications. However, no similar online binary optimizer is currently available on the AArch64 platform. In response to the growing adoption of the AArch64 platform, this article introduces AOBO, a fast-switching online binary optimizer specifically designed for AArch64. In addition to providing practical and efficient engineering support for AArch64-specific features, AOBO overcomes the challenge of lacking hardware counters for edge profiling on most commercially available AArch64 servers. In particular, AOBO embraces a novel edge weight estimation scheme to deliver more accurate edge estimation, which in turn allows AOBO’s binary rewriter to generate more efficient code. Furthermore, time spent on AOBO’s online code replacement stage is optimized to work at a subsecond level, thus enabling a fast switch from running the original binary to running the optimized one. We evaluate AOBO with CINT2017, GCC, MySQL and MongoDB, measuring the accuracy and coverage of the estimated edge weights, the performance improvements of the optimized binaries, and the online optimization cost. To make a fair comparison, we are using the performance data of the binaries generated by the default compilation scripts in the software packages as a baseline. Experimental data shows that AOBO can offer a more accurate edge weight estimation and generate binaries with superior performance. Furthermore, AOBO achieves online optimization with a very small overhead and significantly improves the performance of large-scale applications. Compared with the baselines, AOBO’s online optimization can achieve 24.7% and 31.11% performance improvement respectively for MySQL and MongoDB. Notably, application pause time is reduced from 1,599.8 milliseconds to 462.1 milliseconds for MySQL, and from 1,765.9 milliseconds to 507.1 milliseconds for MongoDB.
Association for Computing Machinery (ACM)
Title: AOBO: A Fast-Switching Online Binary Optimizer on AArch64
Description:
As the complexity of real-world server applications continues to grow, performance optimizations for large-scale applications are becoming increasingly challenging.
The success of online optimization offered by OCOLOS and Dynimize proves that binary rewriting based on edge profiling data can significantly accelerate these applications.
However, no similar online binary optimizer is currently available on the AArch64 platform.
In response to the growing adoption of the AArch64 platform, this article introduces AOBO, a fast-switching online binary optimizer specifically designed for AArch64.
In addition to providing practical and efficient engineering support for AArch64-specific features, AOBO overcomes the challenge of lacking hardware counters for edge profiling on most commercially available AArch64 servers.
In particular, AOBO embraces a novel edge weight estimation scheme to deliver more accurate edge estimation, which in turn allows AOBO’s binary rewriter to generate more efficient code.
Furthermore, time spent on AOBO’s online code replacement stage is optimized to work at a subsecond level, thus enabling a fast switch from running the original binary to running the optimized one.
We evaluate AOBO with CINT2017, GCC, MySQL and MongoDB, measuring the accuracy and coverage of the estimated edge weights, the performance improvements of the optimized binaries, and the online optimization cost.
To make a fair comparison, we are using the performance data of the binaries generated by the default compilation scripts in the software packages as a baseline.
Experimental data shows that AOBO can offer a more accurate edge weight estimation and generate binaries with superior performance.
Furthermore, AOBO achieves online optimization with a very small overhead and significantly improves the performance of large-scale applications.
Compared with the baselines, AOBO’s online optimization can achieve 24.
7% and 31.
11% performance improvement respectively for MySQL and MongoDB.
Notably, application pause time is reduced from 1,599.
8 milliseconds to 462.
1 milliseconds for MySQL, and from 1,765.
9 milliseconds to 507.
1 milliseconds for MongoDB.
Related Results
Code-switching: Types and Functions in Fathia Izzati's Vlog
Code-switching: Types and Functions in Fathia Izzati's Vlog
Abstract. This study analyzed the code-switching used in Fathia Izzati's YouTube videos channel according to the types and their functions. This study used a qualitative descriptiv...
Code-switching used by English teachers in teaching EFL students
Code-switching used by English teachers in teaching EFL students
This study aims to investigate: (1) the types of code-switching used by English teachers in teaching the classroom; and (2) the frequency of code-switching functions used by Englis...
Linguistic Types of Code-Switching as a Medium of Solidarity in Eat, Pray, Love Movie
Linguistic Types of Code-Switching as a Medium of Solidarity in Eat, Pray, Love Movie
Accommodation theorists argue that speakers use different varieties of language to express solidarity with or social distance from their interlocutors (Howard Giles et al, 1991; Mu...
CODE-SWITCHING IN ENGLISH CLASSROOM
CODE-SWITCHING IN ENGLISH CLASSROOM
Code-switching is one of sociolinguitics phenomenon when a a speaker of bilingual or multilingual switch from a language to another one. The research aims to figure out types of te...
Code Switching in Communication in Donggala Community
Code Switching in Communication in Donggala Community
The focus of the problems for this research are: (1) Determining the form of code-switching in communication in the community of Gunung Bale Village, Donggala, (2) The factors caus...
AN ANALYSIS OF CODE-SWITCHING IN THE MOVIE “LUCA”
AN ANALYSIS OF CODE-SWITCHING IN THE MOVIE “LUCA”
Code-switching is a socio-linguistic phenomenon that often happens in our daily life. This study is conducted to analyse code-switching that happen in the movie “Luca”, which is th...
CODE CHOICE USED BY CHIYU TAMADE (CHU2) CHARACTER IN THE ANIME “BANG DREAM! SEASON 2 EP 3, 8, AND 9”
CODE CHOICE USED BY CHIYU TAMADE (CHU2) CHARACTER IN THE ANIME “BANG DREAM! SEASON 2 EP 3, 8, AND 9”
In the field of Sociolinguistics, phenomenons of language use such as code-switching and code-mixing are often found in our daily lives. BanG Dream is a multimedia project that foc...
CODE-SWITCHING BETWEEN INDONESIAN AND ENGLISH ON A TELEVISION TALK SHOW
CODE-SWITCHING BETWEEN INDONESIAN AND ENGLISH ON A TELEVISION TALK SHOW
This study looked into Sarah Sechan's use of Indonesian-English code-switching on the private-run Net TV talk show host. The study looked at the different kinds of code-switching, ...

