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 条
  • [21] Selected Topics in Application-Specific Systems, Architectures and Processors
    Brown, Geoffrey
    Aboulhamid, El Mostapha
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2010, 58 (01): : 1 - 2
  • [22] Application-specific laboratory painting systems provide reproducibility
    JOT, Journal fuer Oberflaechentechnik, 64 (04): : 32 - 33
  • [23] Special Issue on Application-specific Systems, Architectures and Processors
    Liang, Yun
    Fang, Zhenman
    Yin, Jieming
    Yun, Cunxi
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2020, 92 (09): : 885 - 885
  • [24] SOS - SYNTHESIS OF APPLICATION-SPECIFIC HETEROGENEOUS MULTIPROCESSOR SYSTEMS
    PRAKASH, S
    PARKER, AC
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1992, 16 (04) : 338 - 351
  • [25] Data memory organization and optimizations in application-specific systems
    Panda, PR
    Dutt, ND
    Nicolau, A
    Catthoor, F
    Vandecappelle, A
    Brockmeyer, E
    Kulkarni, C
    De Greef, E
    IEEE DESIGN & TEST OF COMPUTERS, 2001, 18 (03): : 56 - 68
  • [26] APPLICATION-SPECIFIC COUPLING OF CAD SYSTEMS WITH NC PROGRAMMING SYSTEMS.
    Gausemeier, J.
    Ajouri, E.
    Roman, H.-H.
    1983, (07):
  • [27] A novel software-based defect-tolerance approach for application-specific embedded systems
    Cheng, Da
    Gupta, Sandeep
    2011 IEEE 29TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD), 2011, : 443 - 444
  • [28] An Application-Specific Approach to Energy Optimization on Android Mobile Devices
    Wang, Jun
    Rao, Karthik
    Ye, Handong
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2020, 19 (07) : 1492 - 1505
  • [29] Application-specific XML processing a parallel approach for optimum performance
    Trujillo, R
    PDPTA '05: Proceedings of the 2005 International Conference on Parallel and Distributed Processing Techniques and Applications, Vols 1-3, 2005, : 959 - 963
  • [30] Introduction to the Special Issue on Application-Specific Systems, Architectures and Processors
    Frank Hannig
    Dirk Koch
    Journal of Signal Processing Systems, 2021, 93 : 1363 - 1364