ACM Home Page
Please provide us with feedback. Feedback
Tuning garbage collection for reducing memory system energy in an embedded java environment
Full text PdfPdf (740 KB)
Source ACM Transactions on Embedded Computing Systems (TECS) archive
Volume 1 ,  Issue 1  (November 2002) table of contents
Pages: 27 - 55  
Year of Publication: 2002
ISSN:1539-9087
Authors
G. Chen  Microsystems Design Lab, The Pennsylvania State University, University Park, PA
R. Shetty  Microsystems Design Lab, The Pennsylvania State University, University Park, PA
M. Kandemir  Microsystems Design Lab, The Pennsylvania State University, University Park, PA
N. Vijaykrishnan  Microsystems Design Lab, The Pennsylvania State University, University Park, PA
M. J. Irwin  Microsystems Design Lab, The Pennsylvania State University, University Park, PA
M. Wolczko  Sun Microsystems, Inc., Palo Alto, CA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 17,   Downloads (12 Months): 98,   Citation Count: 7
Additional Information:

abstract   references   cited by   index terms   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/581888.581892
What is a DOI?

ABSTRACT

Java has been widely adopted as one of the software platforms for the seamless integration of diverse computing devices. Over the last year, there has been great momentum in adopting Java technology in devices such as cellphones, PDAs, and pagers where optimizing energy consumption is critical. Since, traditionally, the Java virtual machine (JVM), the cornerstone of Java technology, is tuned for performance, taking into account energy consumption requires reevaluation, and possibly redesign of the virtual machine. This motivates us to tune specific components of the virtual machine for a battery-operated architecture. As embedded JVMs are designed to run for long periods of time on limited-memory embedded systems, creating and managing Java objects is of critical importance. The garbage collector (GC) is an important part of the JVM responsible for the automatic reclamation of unused memory. This article shows that the GC is not only important for limited-memory systems but also for energy-constrained architectures.This article focuses on tuning the GC to reduce energy consumption in a multibanked memory architecture. Tuning the GC is important not because it consumes a sizeable portion of overall energy during execution, but because it influences the energy consumed in the memory during application execution. In particular, we present a GC-controlled leakage energy optimization technique that shuts off memory banks that do not hold live data. Using two different commercial GCs and a suite of thirteen mobile applications, we evaluate the effectiveness of the GC-controlled energy optimization technique and study its sensitivity to different parameters such as bank size, the garbage collection frequency, object allocation style, compaction style, and compaction frequency. We observe that the energy consumption of an embedded Java application can be significantly more if the GC parameters are not tuned appropriately. Further, we notice that the object allocation pattern and the number of memory banks available in the underlying architecture are limiting factors on how effectively GC parameters can be used to optimize the memory energy consumption.


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
2
 
3
 
4
 
5
chaivm. Chaivm for jornado. http://www.hp.com/products1/embedded/jornado/index.html.
 
6
7
8
9
10
 
11
 
12
 
13
Diwan, A., H. Li, D. G., and Farkas, K. Energy consumption and garbage collection in low powered computing. http://www.cs.colorado.edu/∼diwan University of Colorado-Boulder.
14
15
 
16
 
17
Jou, S. and Chen, T. 1998. On-chip voltage down converter for low-power digital systems. IEEE Trans. Circuits Systems-II: Analog and Digital Signal Processing 5 (May), 617--625.
18
19
20
 
21
 
22
KVM. Cldc and the k virtual machine (kvm). http://java.sun.com/products/cldc/.
23
24
 
25
Paulson, L. D. 2001. Handheld-to-handheld fighting over java. IEEE Comput. 34, 7 (July), 253--257.
 
26
 
27
28
 
29
Takahashi, D. 2001. Java chips make a comeback. Red Herring.
30
 
31
Vijaykrishnan, N., Kandemir, M., Tomar, S., Kim, S., Sivasubramaniam, A., and Irwin, M. J. 2001. Energy characterization of java applications from a memory perspective. In Proceedings of USENIX Java Virtual Machine Research and Technology Symposium.
 
32
Wilton, S. and Jouppi, N. 1994. An enhanced access and cycle time model for on-chip caches. Tech. Rep. 93/5, DEC WRL Research Report.
 
33
 
34

CITED BY  7

Collaborative Colleagues:
G. Chen: colleagues
R. Shetty: colleagues
M. Kandemir: colleagues
N. Vijaykrishnan: colleagues
M. J. Irwin: colleagues
M. Wolczko: colleagues