arrow
返回

Multithreading in Java: Performance and Scalability on Multicore Systems

delete2011-11-01
delete22
delete
OA
AI
K
Kuo-Yi Chen *
J
J. Morris Chang
T
Ting‐Wei Hou
DOI:10.1109/TC.2010.232delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
The performance and scalability issues of multithreaded Java programs on multicore systems are studied in this paper. First, we examine the performance scaling of benchmarks with various numbers of processor cores and application threads. Second, by correlating low-level hardware performance data to JVM threads and system components, the detail analyses of performance and scalability are presented, such as the hardware stall events and memory system latencies. Third, the usages of memory resource are detailed to observe the potential bottlenecks. Finally, the JVM tuning techniques are proposed to alleviate the bottlenecks, and improve the performance and scalability. Several key findings are revealed through this study. First, the lock contentions usually lead to a strong limitation of scalability. Second, in terms of memory access latencies, the most of memory stalls are produced by L2 cache misses and cache-to-cache transfers. Finally, the overhead of minor garbage collections could be an important factor of throughput reductions. Based on these findings, the appropriate Java Virtual Machine (JVM) tuning techniques are examined in this study. We observe that the use of a parallel garbage collector and an appropriate ratio of young to old generation can alleviate the overhead of minor collection and improve the efficiency of garbage collections. Moreover, the cache utilizations could be enhanced with the use of thread-local allocation buffer, and then leads to the performance improvements significantly.
Keyword:
Garbage collection
Java
lock contention
multicore
performance counter
scalability
virtual machine

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.3K
被引数:
9.8K

机构

N
National Cheng Kung University
学者数:
2.6W
论文数: 2.3W
被引数: 1.7W
I
Iowa State University
学者数:
2.1W
论文数: 1.8W
被引数: 2.5W
引用论文

引用论文

Characterization, In Vitro Culture, and Molecular Analysis of Thecaphora solani, the Causal Agent of Potato Smut
err2004-08-01
err0
PREAI
errOrlando Andrade; Gastón Muñoz; Rafael Galdames; Paola Durán; Rodrigo Honorato
err分享
err收藏
Stable isotope evidence for crustal recycling as recorded by superdeep diamonds
err2015-12-01
err0
errOAAI
errA.D. Burnham; A.R. Thomson; G.P. Bulanova; S.C. Kohn; C.B. Smith; M.J. Walter
err分享
err收藏
err分享
err收藏