An automatic compiler optimizations selection framework for embedded applications

Shih Hao Hung, Chia Heng Tu, Huang Sen Lin, Chi Meng Chen

Research output: Chapter in Book/Report/Conference proceedingConference contribution

4 Citations (Scopus)

Abstract

Optimizing compilers provide users with compiler options to maximize program performance. The selection of compiler options is important as the resulted performance can vary significantly. The best combination of compiler options is not only dependent on the program itself, but it also is highly related to the configuration of the system and the architecture of the processor that the program runs on. The determination of the best combination of compiler options is very complicated, as its complexity grows exponentially with the number of the optimization options the compiler offers. Many previous work attempts to shorten the search time by reducing the complexity of the problem. However, most of them focus on computational intensive applications, which run with little or no invocation of kernel functions and device input/output activities, which often dominate system performance in specific embedded environment, such as network appliance. This paper aims at system-wide compiler optimizations selection for embedded applications. We proposed an automated framework to judiciously select the compiler options not only for the control software in the user space but also for the associated kernel functions which perform the I/O operations for an embedded application. For this framework, we implemented compiler optimization selection algorithms and evaluated its efficiencies with and without performance monitoring hardware support. We argue that our framework is a platform-independent and system-level compiler options selection framework. Our experience in optimizing the performance of the embedded application on a production storage appliance show that an I/O-intensive application composed by various kernel modules device drivers under Linux can be optimized effectively and systematically.

Original languageEnglish
Title of host publicationProceedings - 2009 International Conference on Embedded Software and Systems, ICESS 2009
Pages381-387
Number of pages7
DOIs
Publication statusPublished - 2009
Event2009 International Conference on Embedded Software and Systems, ICESS 2009 - Hangzhou, Zhejiang, China
Duration: 2009 May 252009 May 27

Publication series

NameProceedings - 2009 International Conference on Embedded Software and Systems, ICESS 2009

Other

Other2009 International Conference on Embedded Software and Systems, ICESS 2009
CountryChina
CityHangzhou, Zhejiang
Period09-05-2509-05-27

All Science Journal Classification (ASJC) codes

  • Hardware and Architecture
  • Software

Fingerprint Dive into the research topics of 'An automatic compiler optimizations selection framework for embedded applications'. Together they form a unique fingerprint.

Cite this