Kernel Configuration Infographic Based on Multi-Label and Its Application
Hou Pengpeng, Zhang Heng, Wu Yanjun, Yu Jiageng, Tai Yang, Miao Yuxia
Related Articles |
The Linux kernel provides flexible configuration items to customize the kernel for various application scenarios. However, the number of kernel configuration items is huge and growing rapidly, and the values of configuration items often change in different kernel versions, even professional kernel teams face many challenges when setting the values of configuration items. This paper presents an infographic containing a variety of information for kernel configuration items. The infographic contains the dependencies among configuration items, function labels, performance labels, security labels, and configuration item enable rates. In addition, the infographic provides a visualization interface, which is more intuitive, efficient and user-friendly. The infographic can be widely used in scenarios such as kernel startup optimization, kernel size tailoring, kernel security enhancement, kernel performance optimization, kernel configuration item abnormality detection, kernel configuration item intelliqient question and answering, and kernel configuration item recommendation. To verify the validity of the infographic, we have designed a configuration item-oriented retrieval framework KCIR based on the infographic, which implements query expansion based on multi-label information and text extension based on the dependencies between kernel configuration items, and our experiments demonstrate that KCIR is more effective than the traditional retrieval frameworks. The use of the infographic in the information retrieval field illustrates its effectiveness and practicality.