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 条
  • [31] Concurrent Evolution of Hardware and Software for Application-Specific Microprogrammed Systems
    Minarik, Milos
    Sekanina, Lukas
    PROCEEDINGS OF THE 2013 IEEE INTERNATIONAL CONFERENCE ON EVOLVABLE SYSTEMS (ICES), 2013, : 43 - 50
  • [32] A Fault Tolerant Approach for Application-Specific Network-on-Chip
    Khoroush, Somayeh
    Reshadi, Midia
    2013 NORCHIP, 2013,
  • [33] Scaling up biomass gasifier use: an application-specific approach
    Ghosh, D
    D Sagar, A
    Kishore, VVN
    ENERGY POLICY, 2006, 34 (13) : 1566 - 1582
  • [34] A Generative Approach to the Construction of Application-Specific XML Processing Components
    Sarasa-Cabezuelo, Antonio
    Martinez-Aviles, Alberto
    Sierra, Jose-Luis
    Fernandez-Valmayor, Alfredo
    2009 35TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2009, : 345 - 352
  • [35] An Approach to Customization of Compiler Directives for Application-Specific Code Transformations
    Xiao, Xiong
    Hirasawa, Shoichi
    Takizawa, Hiroyuki
    Kobayashi, Hiroaki
    2014 IEEE 8TH INTERNATIONAL SYMPOSIUM ON EMBEDDED MULTICORE/MANYCORE SOCS (MCSOC), 2014, : 99 - 106
  • [36] SYNTHESIS OF APPLICATION-SPECIFIC MULTIPROCESSOR SYSTEMS INCLUDING MEMORY COMPONENTS
    PRAKASH, S
    PARKER, AC
    JOURNAL OF VLSI SIGNAL PROCESSING, 1994, 8 (02): : 97 - 116
  • [37] Introduction to the Special Issue on Application-Specific Systems, Architectures and Processors
    Hannig, Frank
    Koch, Dirk
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2021, 93 (12): : 1363 - 1364
  • [38] Introduction to the Special Issue on Application-Specific Systems, Architectures and Processors
    Hayden Kwok-Hay So
    Warren J. Gross
    Journal of Signal Processing Systems, 2018, 90 : 1 - 2
  • [39] INDUSTRIAL VISION SYSTEMS BASED ON APPLICATION-SPECIFIC IC CHIPS
    MASAKI, I
    IEICE TRANSACTIONS ON COMMUNICATIONS ELECTRONICS INFORMATION AND SYSTEMS, 1991, 74 (06): : 1728 - 1734
  • [40] Application-specific routing scheme for indoor wireless localization systems
    Kasza, T
    Chen, CW
    DIGITAL WIRELESS COMMUNICATIONS VII AND SPACE COMMUNICATION TECHNOLOGIES, 2005, 5819 : 237 - 248