Rethinking compiler optimizations for the linux kernel: An explorative study | |
Yuan, Pengfei ; Guo, Yao ; Chen, Xiangqun | |
2015 | |
英文摘要 | Performance of the operating system kernel is critical to many applications running on it. Although many efforts have been spent on improving Linux kernel performance, there is not enough attention on GCC, the compiler used to build Linux. As a result, the vanilla Linux kernel is typically compiled using the same -O2 option as most user programs. This paper investigates how different configurations of GCC may affect the performance of the Linux kernel. We have compared a number of compiler variations from different aspects on the Linux kernel, including switching simple options, using different GCC versions, controlling specific optimizations, as well as performing profile-guided optimization. We present detailed analysis on the experimental results and discuss potential compiler optimizations to further improve kernel performance. As the current GCC is far from optimal for compiling the Linux kernel, a future compiler for the kernel should include specialized optimizations, while more advanced compiler optimizations should also be incorporated to improve kernel performance. ? 2015 ACM.; EI |
语种 | 英语 |
出处 | 6th Asia-Pacific Systems Workshop, APSys 2015 |
DOI标识 | 10.1145/2797022.2797030 |
内容类型 | 其他 |
源URL | [http://ir.pku.edu.cn/handle/20.500.11897/436785] ![]() |
专题 | 信息科学技术学院 |
推荐引用方式 GB/T 7714 | Yuan, Pengfei,Guo, Yao,Chen, Xiangqun. Rethinking compiler optimizations for the linux kernel: An explorative study. 2015-01-01. |
个性服务 |
查看访问统计 |
相关权益政策 |
暂无数据 |
收藏/分享 |
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论