Comparison of fast-acting of Java on microcomputer Raspberry Pi

Authors

  • O. I. Didukh National Technical University of Ukraine, Kyiv Politechnic Institute, Kiev
  • V. V. Tyshchenko National Technical University of Ukraine, Kyiv Politechnic Institute, Kiev

DOI:

https://doi.org/10.20535/RADAP.2015.60.107-113

Keywords:

Raspberry Pi, Java, microcomputer, comparing performance, Oracle Java, OpenJDK

Abstract

Introduction. The speed of a specific set of instructions is important working with highlevel programming language for microcomputers. The method of comparing execution times of two functionally different programs on different versions of Virtual Machine Java is used to determine the performance of Java on Raspberry Pi microcomputer. Application of modern fast search algorithm primes up to a given integer N (Atkin sieve) and a program to perform basic operations on floating point numbers are implemented.
Results. Two algorithms microcomputer operating frequencies: 700 MHz, 900 MHz, 1000 MHz are tested. Two versions of Java for Raspberry Pi: Oracle Java and OpenJDK are used.
Conclusions. In microcomputer Raspberry Pi elementary operations on floating-point run are faster than with complex search algorithm primes. It is established that Java from Oracle is 13-14 times is faster than OpenJDK. Oracle Java on Raspberry Pi gives good performance and it is recommended for installation and use on microcomputer.

Author Biographies

O. I. Didukh, National Technical University of Ukraine, Kyiv Politechnic Institute, Kiev

Didukh O. I.

V. V. Tyshchenko, National Technical University of Ukraine, Kyiv Politechnic Institute, Kiev

Tyshchenko V. V.

References

Перелік посилань

З початку продажів по світу розійшлося вже 5 млн мікрокомп'ютерів Raspberry Pi [Електронний ресурс]. – Режим доступу: http://mikrotik.kpi.ua/index.php/component/k2/item/24-5-billion-raspberry-pi. — Назва з екрану.

Rainer E. Raspberry Pi and Java – Love At First Sight [Електронний ресурс] / Eschrich Rainer // M2M Summit 2013 ; September, 2013. – Режим доступу : http://m2m-summit.com/files/m2m_oracle_java___raspberry_pi_v2.pdf. – Назва з екрану.

Java theory and practice: Dynamic compilation and performance measurement [Електронний ресурс] / DeveloperWorks. – Режим доступу : http://www.ibm.com/developerworks/library/j-jtp12214/?S_TACT=105AGX99&S_CMP=CP. – Назва з екрану.

Atkin A. O. L. Prime Sieves Using Binary Quadratic Forms / A. O. L. Atkin, D. J. Bernstein // Mathematics of Computation. – 2004. – Vol. 73, No. 246. – pp. 1023-1030.

Акиньшин А. Учимся писать правильные C#-бенчмарки / Андрей Акиньшин ; Хабрахабр, 28 августа 2013. – Режим доступу : http://habrahabr.ru/company/enterra/blog/191636. – Назва з екрану.

Monk S. Raspberry Pi Cookbook / Simon Monk. – O'Reilly Media Inc., 2014. – 408 p.

Могильний С. Б. Мікрокомп’ютер Raspberry Pi – інструмент дослідника / С. Б. Могильний. – К. : Талком, 2014. – 340 с. – ISBN 978-617-7133-48-2

References

Z pochatku prodazhiv po svitu roziishlosia vzhe 5 mln mikrokomp'iuteriv Raspberry Pi [From sales beginning in the world have already dispersed 5 million microcomputers Raspberry Pi]. – Available at: http://mikrotik.kpi.ua/index.php/component/k2/item/24-5-billion-raspberry-pi.

Rainer Eschrich (2013) Raspberry Pi and Java - Love At First Sight. M2M Summit 2013. Avaible at: http://m2m-summit.com/files/m2m_oracle_java___raspberry_pi_v2.pdf.

Java theory and practice: Dynamic compilation and performance measurement. – Available at: http://www.ibm.com/developerworks/library/j-jtp12214/?S_TACT=105AGX99&S_CMP=CP.

Atkin A. O. L. and Bernstein D. J. (2004) Prime Sieves Using Binary Quadratic Forms. Mathematics of Computation, Vol. 73, No. 246, pp. 1023-1030.

Akin'shin A. (2013) Uchimsya pisat' pravil'nye C#-benchmarki [Learn to write correctly C# - benchmarks]. – Available at : http://habrahabr.ru/company/enterra/blog/191636.

Monk S. (2014) Raspberry Pi Cookbook. O'Reilly Media, Inc., 408 p.

Mohylnyi S. B. (2014) Mikrokomp’iuter Raspberry Pi – instrument doslidnyka [Microcomputer Raspberry Pi - a tool for researcher]. Kyiv, Talkom Publ., 340 p. – ISBN 978-617-7133-48-2

Published

2015-03-30

How to Cite

Дідух, О. І. and Тищенко, В. В. (2015) “Comparison of fast-acting of Java on microcomputer Raspberry Pi”, Visnyk NTUU KPI Seriia - Radiotekhnika Radioaparatobuduvannia, 0(60), pp. 107-113. doi: 10.20535/RADAP.2015.60.107-113.

Issue

Section

Theory and Practice of Radio Measurements