Implementation of Multiprocessing and Multithreading for End Node Middleware Control on Internet of Things Devices

Inform

View Publication Info
 
 
Field Value
 
Title Implementation of Multiprocessing and Multithreading for End Node Middleware Control on Internet of Things Devices
Implementation of Multiprocessing and Multithreading for End Node Middleware Control on Internet of Things Devices
 
Creator Wibowo, Iwan Kurnianto
Besari, Adnan Rachmat Anom
Rizqullah, Muh. Rifqi
 
Subject Raspberry Pi, Internet of Things, Multiprocessing, Multithreading, Middleware, Educational robot
Raspberry Pi, Internet of Things, Multiprocessing, Multithreading, Middleware, Educational Robot
 
Description Previously, an educational robot system was built by incorporating Internet of Things (IoT) elements. Over time, this educational robot has been implanted with a middleware. Middleware has a role in receiving command data from the real-time database, access sensors, actuators, and sending feedback. Middleware contains protocols that translate commands between high-level programming and Raspberry Pi hardware. The focus of this research is to improve the performance of the middleware to pursue processing time efficiency. For this reason, it is necessary to implement multiprocessing and multithreading in handling several tasks. The division of tasks on the CPU has been adjusted automatically to not work on just one core or block of memory. Several program functions can run in parallel and reduce program execution time efficiently. The tasks handled are sensor reading and actuator control in the form of a motor. Testing has been carried out to perform multiprocessing and multithreading tasks to process six sensors and five actuators. Multiprocessing requires an average of 1.00% to 15.00% CPU usage and 2.70% memory usage. Meanwhile, multithreading involves an average of 1.00% to 71.00% CPU usage and 3.30% memory usage.
Previously, an educational robot system was built by incorporating Internet of Things (IoT) elements. Over time, this educational robot has been implanted with a middleware. Middleware has a role in receiving command data from the real-time database, access sensors, actuators, and sending feedback. Middleware contains protocols that translate commands between high-level programming and Raspberry Pi hardware. The focus of this research is to improve the performance of the middleware to pursue processing time efficiency. For this reason, it is necessary to implement multiprocessing and multithreading in handling several tasks. The CPU division has been adjusted automatically to not work on just one core or block of memory. Several program functions can run in parallel and reduce program execution time efficiently. The tasks handled are sensor reading and actuator control in the form of a motor. Testing has been carried out to perform multiprocessing and multithreading tasks to process six sensors and five actuators. Multiprocessing requires an average of 1.00% to 15.00% CPU usage and 2.70% memory usage. Meanwhile, multithreading involves an average of 1.00% to 71.00% CPU usage and 3.30% memory usage.
 
Publisher Universitas Dr. Soetomo
 
Contributor

 
Date 2021-01-31
 
Type info:eu-repo/semantics/article
info:eu-repo/semantics/publishedVersion

 
Format application/pdf
 
Identifier https://ejournal.unitomo.ac.id/index.php/inform/article/view/3346
10.25139/inform.v6i1.3346
 
Source Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi; Vol 6, No 1 (2021); 54-60
2581-0367
2502-3470
 
Language eng
 
Relation https://ejournal.unitomo.ac.id/index.php/inform/article/view/3346/pdf
https://ejournal.unitomo.ac.id/index.php/inform/article/downloadSuppFile/3346/788
https://ejournal.unitomo.ac.id/index.php/inform/article/downloadSuppFile/3346/790
https://ejournal.unitomo.ac.id/index.php/inform/article/downloadSuppFile/3346/791
 
Rights Copyright (c) 2021 Inform: Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi
http://creativecommons.org/licenses/by-sa/4.0
 

Contact Us

The PKP Index is an initiative of the Public Knowledge Project.

For PKP Publishing Services please use the PKP|PS contact form.

For support with PKP software we encourage users to consult our wiki for documentation and search our support forums.

For any other correspondence feel free to contact us using the PKP contact form.

Find Us

Twitter

Copyright © 2015-2018 Simon Fraser University Library