ACM Home Page
Please provide us with feedback. Feedback
Automated reduction of the memory footprint of the Linux kernel
Full text PdfPdf (1.43 MB)
Source
ACM Transactions on Embedded Computing Systems (TECS) archive
Volume 6 ,  Issue 4  (September 2007) table of contents
Special Section LCTES'05
Article No. 23  
Year of Publication: 2007
ISSN:1539-9087
Authors
Dominique Chanet  Ghent University, Gent, Belgium
Bjorn De Sutter  Ghent University, Gent, Belgium
Bruno De Bus  Ghent University, Gent, Belgium
Ludo Van Put  Ghent University, Gent, Belgium
Koen De Bosschere  Ghent University, Gent, Belgium
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 15,   Downloads (12 Months): 144,   Citation Count: 1
Additional Information:

abstract   references   cited by   index terms   review   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1274858.1274861
What is a DOI?

ABSTRACT

The limited built-in configurability of Linux can lead to expensive code size overhead when it is used in the embedded market. To overcome this problem, we propose the application of link-time compaction and specialization techniques that exploit the a priori known, fixed runtime environment of many embedded systems. In experimental setups based on the ARM XScale and i386 platforms, the proposed techniques are able to reduce the kernel memory footprint with over 16%. We also show how relatively simple additions to existing binary rewriters can implement the proposed techniques for a complex, very unconventional program, such as the Linux kernel. We note that even after specialization, a lot of seemingly unnecessary code remains in the kernel and propose to reduce the footprint of this code by applying code-compression techniques. This technique, combined with the previous ones, reduces the memory footprint with over 23% for the i386 platform and 28% for the ARM platform. Finally, we pinpoint an important code size growth problem when compaction and compression techniques are combined on the ARM platform.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Anckaert, B., Vandeputte, F., De Bus, B., De Sutter, B., and De Bosschere, K. 2004. Link-time optimization of IA64 binaries. In Proceedings of the 2004 Euro-Par Conference. 284--291.
2
3
4
5
 
6
7
 
8
Cours, J., Navarro, N., and Hwu, W. 2004. Using coverage-based analysis to automate the customization of the Linux kernel for embedded applications. M.S. thesis, University of Illinois at Urbana-Champaign.
 
9
De Bus, B. 2005. Reliable, retargetable and extensible link-time program rewriting. Ph.D. thesis, Ghent University.
10
11
12
13
14
15
16
17
18
19
20
21
 
22
 
23
Flower, R., Luk, C.-K., Muth, R., Patil, H., Shakshober, J., Cohn, R., and Lowney, G. 2001. Kernel optimizations and prefetch with the spike executable optimizer. In Proc of the 4th Workshop on Feedback-Directed and Dynamic Optimization (FDDO-4).
24
 
25
26
27
28
29
 
30
 
31
 
32
 
33
Lee, C.-T., Lin, J.-M., Hong, Z.-W., and Lee, W.-T. 2004. An application-oriented Linux kernel customization for embedded systems. Journal of Information Science and Engineering 20, 6, 1093--1107.
34
 
35
Levine, J. 2000. Linkers & Loaders. Morgan Kaufmann, San Matco, CA.
 
36
Linn, C., Debray, S., Andrews, G., and Schwarz, B. 2004. Stack analysis of x86 executables. Available from http://www.cs.arizona.edu/people/debray.
 
37
Madou, M., De Sutter, B., De Bus, B., Van Put, L., and De Bosschere, K. 2004. Link-time optimization of MIPS programs. In Proceedings of the 2004 International Conference on Embedded Systems and Applications (ESA'04).
38
 
39
 
40
 
41
42
43
44
 
45
 
46
Schwarz, B., Debray, S., Andrews, G., and Legendre, M. 2001. PLTO: A link-time optimizer for the Intel IA-32 architecture. In Proc. 2001 Workshop on Binary Rewriting (WBT-2001).
 
47
48
 
49
 
50
Tamches, A. and Miller, B. P. 2001. Dynamic kernel code optimization. In Workshop on Binary Translation (WBT-2001).
 
51
TriMedia Technologies Inc. 2000. TriMedia32 Architecture. TriMedia Technologies Inc.



REVIEW

"Olivier Louis Marie Lecarme : Reviewer"

Nowadays, when one gigabyte (GB) of memory storage is considered much too small, one would be surprised to know that it is important to reduce the size of a program when it reaches about one megabyte (MB). To an old computer scientist, this may re  more...

Collaborative Colleagues:
Dominique Chanet: colleagues
Bjorn De Sutter: colleagues
Bruno De Bus: colleagues
Ludo Van Put: colleagues
Koen De Bosschere: colleagues