Comparison of fast-acting of Java on microcomputer Raspberry Pi
DOI:
https://doi.org/10.20535/RADAP.2015.60.107-113Keywords:
Raspberry Pi, Java, microcomputer, comparing performance, Oracle Java, OpenJDKAbstract
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.
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
Downloads
Published
How to Cite
Issue
Section
License
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).