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 条
  • [41] Synthesis of application-specific memories for power optimization in embedded systems
    Benini, L
    Macii, A
    Macii, E
    Poncino, M
    37TH DESIGN AUTOMATION CONFERENCE, PROCEEDINGS 2000, 2000, : 300 - 303
  • [42] Introduction to the Special Issue on Application-Specific Systems, Architectures and Processors
    So, Hayden Kwok-Hay
    Gross, Warren J.
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2018, 90 (01): : 1 - 2
  • [43] Application-specific sensor systems based on CMOS chemical microsensors
    Hierlemann, A
    Lange, D
    Hagleitner, C
    Kerness, N
    Koll, A
    Brand, O
    Baltes, H
    SENSORS AND ACTUATORS B-CHEMICAL, 2000, 70 (1-3): : 2 - 11
  • [44] Application-Specific Design of Assistance Systems for Manual Work in Production
    Merkel, L.
    Berger, C.
    Schultz, C.
    Braunreuther, S.
    Reinhart, G.
    2017 IEEE INTERNATIONAL CONFERENCE ON INDUSTRIAL ENGINEERING AND ENGINEERING MANAGEMENT (IEEM), 2017, : 1189 - 1193
  • [45] Application-Specific and QoS-Aware Scheduling for Wireless Systems
    He, Chao
    Gitlin, Richard D.
    2014 IEEE 25TH ANNUAL INTERNATIONAL SYMPOSIUM ON PERSONAL, INDOOR, AND MOBILE RADIO COMMUNICATION (PIMRC), 2014, : 1147 - 1151
  • [46] Component-based constructing approach for application specific embedded operating systems
    Zhu, LX
    Wang, FY
    2003 IEEE INTELLIGENT TRANSPORTATION SYSTEMS PROCEEDINGS, VOLS. 1 & 2, 2003, : 1338 - 1343
  • [47] A Systematic Approach for Optimized Bypass Configurations for Application-Specific Embedded Processors
    Jungeblut, Thorsten
    Huebener, Boris
    Porrmann, Mario
    Rueckert, Ulrich
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2013, 13 (02)
  • [48] Application-specific Architecture Selection for Embedded Systems via Schedulability Analysis
    Liu, Han
    Zhang, Hehua
    Jiang, Yu
    Song, Xiaoyu
    Gu, Ming
    Sun, Jiaguang
    2014 THEORETICAL ASPECTS OF SOFTWARE ENGINEERING CONFERENCE (TASE), 2014, : 131 - 134
  • [49] A Spectral Clustering Approach to Application-Specific Network-on-Chip Synthesis
    Todorov, Vladimir
    Mueller-Gritschneder, Daniel
    Reinig, Helmut
    Schlichtmann, Ulf
    DESIGN, AUTOMATION & TEST IN EUROPE, 2013, : 1783 - 1788
  • [50] An Optimization Approach for Creating Application-specific Ultrasound Speckle Tracking Algorithms
    Kuder, Isabelle M.
    Rock, Mick
    Jones, Gareth G.
    Amis, Andrew A.
    Cegla, Frederic B.
    van Arkel, Richard J.
    ULTRASOUND IN MEDICINE AND BIOLOGY, 2024, 50 (08): : 1108 - 1121