Building application-specific operating systems:a profile-guided approach

被引:0
|
作者
Pengfei YUAN [1 ,2 ]
Yao GUO [1 ,2 ]
Lu ZHANG [1 ,2 ]
Xiangqun CHEN [1 ,2 ]
Hong MEI [1 ,2 ]
机构
[1] Key Laboratory of High-Confidence Software Technologies (Ministry of Education), Peking University
[2] School of Electronics Engineering and Computer Science, Peking University
基金
中国国家自然科学基金;
关键词
operating system; Linux kernel; performance; GCC; profile-guided optimization;
D O I
暂无
中图分类号
TP316 [操作系统];
学科分类号
081202 ; 0835 ;
摘要
Although operating system optimization has been studied extensively, previous work mainly focuses on solving performance problems. In the cloud era, many servers only run a single application,making it desirable to provide an application-specific operating system(ASOS) that is most suitable for the application. In contrast to existing approaches that build ASOS by manual redesign and reimplementation,this paper presents Tarax, a compiler-based approach to constructing an ASOS for each application. With profile collected from executing the target application on an instrumented Linux kernel, Tarax recompiles the kernel while applying profile-guided optimizations(PGOs). Although GCC has already implemented the optimization process that can be applied to user applications, it does not work on the Linux kernel directly.We modify the Linux kernel and GCC to support kernel instrumentation and profile collection. We also modify GCC to reduce the size of optimized kernel images. We conduct experiments on six popular server applications: Apache, Nginx, My SQL, Postgre SQL, Redis and Memcached. Experimental results show that application performance improves by 8.8% on average(up to 16%) on the ASOS. We also perform detailed analysis to reveal how the resulting ASOS improves performance, and discuss future directions in ASOS construction.
引用
收藏
页码:21 / 37
页数:17
相关论文
共 50 条
  • [1] Building application-specific operating systems: a profile-guided approach
    Yuan, Pengfei
    Guo, Yao
    Zhang, Lu
    Chen, Xiangqun
    Mei, Hong
    SCIENCE CHINA-INFORMATION SCIENCES, 2018, 61 (09)
  • [2] Building application-specific operating systems: a profile-guided approach
    Pengfei Yuan
    Yao Guo
    Lu Zhang
    Xiangqun Chen
    Hong Mei
    Science China Information Sciences, 2018, 61
  • [3] APPLICATION-SPECIFIC SYSTEMS
    HARADA, T
    FUKUMOTO, M
    MORIKAWA, T
    FUJIWARA, T
    FUJIMOTO, H
    SUGIMOTO, M
    KUBODERA, Y
    ITOH, T
    KISHIDA, Y
    TAKEDA, I
    OHTAKE, Y
    SHUTOH, M
    OGAWA, H
    IMATAKE, Y
    MOCHIZUKI, M
    NEC RESEARCH & DEVELOPMENT, 1990, (96): : 30 - 56
  • [4] Profile-Guided Application Partitioning for Heterogeneous Reconfigurable Platforms
    Ostadzadeh, S. Arash
    Meeuws, Roel
    Ashraf, Imran
    Galuzzi, Carlo
    Bertels, Koen
    2012 16TH CSI INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND DIGITAL SYSTEMS (CADS), 2012, : 37 - 43
  • [5] Automatic generation and targeting of application-specific operating systems and embedded systems software
    Gauthier, L
    Yoo, S
    Jerraya, AA
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2001, 20 (11) : 1293 - 1301
  • [6] Operating System Support for Application-Specific Speculation
    Wester, Benjamin
    Chen, Peter M.
    Flinn, Jason
    EUROSYS 11: PROCEEDINGS OF THE EUROSYS 2011 CONFERENCE, 2011, : 229 - 242
  • [7] Profile-Guided Parallel Task Extraction and Execution for Domain Specific Heterogeneous SoC
    Chang, Liangliang
    Mack, Joshua
    Willis, Benjamin
    Chen, Xing
    Brunhaver, John
    Akoglu, Ali
    Chakrabarti, Chaitali
    2022 IEEE INTL CONF ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, BIG DATA & CLOUD COMPUTING, SUSTAINABLE COMPUTING & COMMUNICATIONS, SOCIAL COMPUTING & NETWORKING, ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM, 2022, : 913 - 920
  • [8] Application-Specific Service Technologies for Commodity Operating Systems in Real-Time Environments
    West, Richard
    Parmer, Gabriel
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2011, 10 (03)
  • [9] Application-specific service technologies for commodity operating systems in real-time environments
    West, Richard
    Parmer, Gabriel
    PROCEEDINGS OF THE 12TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM, 2006, : 3 - +
  • [10] Application-specific data cache systems
    Lee, JH
    Park, GH
    Kim, SD
    COMPUTERS AND THEIR APPLICATIONS, 2003, : 408 - 412