DOI QR코드

DOI QR Code

Performance Comparison of Android Dalvik and Java Virtual Machines

안드로이드 달빅과 자바 가상머신의 성능비교

  • Lee, Jong-Hyuk (Department of Computer Science and Engineering, Chungnam National University) ;
  • Kim, Hyung-Shin (Department of Computer Science and Engineering, Chungnam National University)
  • Received : 2010.12.08
  • Accepted : 2011.01.13
  • Published : 2011.01.31

Abstract

In this paper we analyzed performance of Andriod's Davik virtual machine(VM) using standard benchmark and compared the result with the embedded Java virtual machine. We used a well known benchmark suit named SPECJVM for the measurement. For the fair comparison, Sun Java embedded JVM is ported and the same benchmark is ported on it. The Odriod smartphone hardware platform is used as the target hardware. We have added a Just-In-Time compiler to Dalvik, which is not supported in the recent Android release, and measured performance improvement. The experiment result show that Dalvik achieved 15% and Dalvik with JIT shows 63% of the Sun's JVM performance.

본 논문에서는 안드로이드에 탑재되는 가상머신인 달빅(Dalvik) 가상머신의 성능을 벤치마크를 구현하여 측정하고 기존 임베디드 자바 가상머신과의 성능을 비교한다. 달빅 가상머신의 성능 측정을 위하여 가상머신 성능 측정에 널리 사용되는 SPECJVM 벤치마크를 사용하였다. 달빅과의 성능 비교를 위하여 임베디드 자바 가상머신인 SUN Java 임베디드 버전을 비교 대상으로 선정하여 동일한 벤치마크를 사용하여 실행시간을 비교하였다. 성능 측정은 스마트폰 개발 하드웨어인 오드로이드(Odroid)에 가상머신과 벤치마크 프로그램들을 포팅하여 이루어 졌다. 또한, 달빅 가상머신의 최근 버전에서 구현되지 않은 적시(Just-In-Time) 컴파일 기능을 달빅에 추가하여 성능 개선 정도를 분석하였다. 분석 결과 안드로이드 달빅 가상머신은 SUN 가상머신 성능의 15% 수준을 보였으며, 적시 컴파일 기법을 적용한 달빅은 63% 수준에 도달함을 보였다.

Keywords

References

  1. T Suganuma, T Ogasawara, M Takeuchi, "Overview of the IBM Java just-in-time compiler", IBM SYSTEMS JOURNAL, VOL 39, NO 1, 2000.
  2. Matthew Arnold, Stephen Fink, David Grove, Michael Hind, Peter F. Sweeney "Adaptive optimization in the Jalapeno JVM", OOPSLA, 2000.
  3. Joshua Auerbach, David F. Bacon, Bob Blainey, Perry Cheng, "Design and implementation of a comprehensive real-time java virtual machine", EMSOFT''07, September 30 October 3, 2007.
  4. http://www.arm.com/pdfs/JazelleDBX_WhitePaper_20 07v1p1.pdf
  5. http://www.android.com/
  6. http://java.sun.com/
  7. http://www.hardkernel.org/
  8. http://www.spec.org/
  9. http://www.dalvikvm.com/
  10. http://www.kandroid.org/
  11. Ramesh Radhakrishnan, N. Vijaykrishnan, Lizy Kurian John, "Java Runtime Systems: Characterization and Architectural Implications", ACM SIGMETRICS, 2001.
  12. http://www.androlib.com/
  13. http://androidbenchmark.com/
  14. 정성화, 노태정, "SELinux 기반 안드로이드 보안시스템 구축에 관한 연구", 한국산학기술학회논문지, Vol. 11, No. 8, pp. 3005-3011, 2010. https://doi.org/10.5762/KAIS.2010.11.8.3005