Академический Документы
Профессиональный Документы
Культура Документы
Abstract— The process of CPU scheduling is a fundamental requirement in the operating system. One of the most important aspects of
determining a reliable operating system for an Internet of Things (IoT) device can be observed from the performance of the scheduling
process. The process especially runs in the G-connect project which focuses on Early Warning System (EWS) is real-time from multi-
sensors so that scheduling algorithms that support the real-time process are needed so that the incoming process can be scheduled more
effectively and efficiently. This study aims to analyse the performance of Round Robin (RR) and First in First Out (FIFO) scheduling
processes on Linux-based operating systems on ARM-based Single Board Computer (SBC), the Raspberry Pi3. This research was
conducted by implementing multi-processes on the Arch Linux and Raspbian operating systems on Raspberry Pi3; the parameters
being compared were CPU usage and waiting time. From the results of experiments that have been carried out, Arch Linux is better
than Raspbian. CPU usage in the Arch Linux operating system with RR and FIFO scheduling for the g-connect process is 103% and
102%, motion 57.6% and 54.1% the percentage achieved is higher than the CPU usage on the Raspbian operating system with RR
scheduling and FIFO for the g-connect process is 102% and 101%, motion 9.5% and 7.9%. The waiting time on the Arch Linux
operating system for the g-connect and motion process is 26µs for RR and 28µs for FIFO, the waiting time used is smaller than the
waiting time on the Raspbian operating system for the g-connect process, and the motion is 34µs for RR and 36µs for FIFO.
Keywords— Internet of Things, Operating System, CPU Scheduling, FIFO, Round Robin, CPU Utilization, Waiting Time, G-Connect.
Resolution VGA
Focus Fixed
Lens Standard
Microphone Mono
Software
The software needed in this study are:
TABLE IV Fig. 1 General testing planning flow
SPECIFICATION OF SOFTWARE’S
Figure 4.4 describes the testing design flow in general,
Raspbian Oparating System Kernel support based on starting from the hardware configuration consisting of
Debian distribution.
Raspberry Pi3 as a server and webcam as a tool to capture
images if there is ground movement in the field. After
Arch Linux ARM Operating Targeted kernel and software configuring the hardware, a software configuration will
System support for hard-float ARMv6 then be carried out which starts with customizing the kernel
and ARMv7, ARMv5te, and for each scheduling and the operating system to be tested.
ARMv8 AArch64. So the expected output is to be able to choose the right
scheduling and operating system for the g-connect project
architecture.
Programming Language Supports custom kernel when
scheduling settings to be used. III. RESULTS AND DISCUSSION
A. CPU Utilization Parameter
The results of the CPU utilization parameter when the
multisensory process is running in real-time are presented in
this section. Monitoring and testing of CPU utilization for
In Table IV the specifications of the software used are
multiprocessing consisting of are carried out 30 times. Each
explained. The Raspbian Operating System is supported by a
process will be carried out in two schedules, Round Robin and
kernel based on Debian distribution. Arch Linux is supported
FIFO. Each schedule will be implemented on two operating
by the kernel and software targeted for ARMv6 hard-float and
systems, Raspbian and Arch Linux. The total data that must
ARMv7, ARMv5te, and ARMv8 AArch64 as well as the C
be monitored for CPU utilization parameters are 7.200 data.
programming language that is used for the scheduling process
Parameter CPU Utilization (%)
The graph in Figure 2 is an overview of the comparison of N Para Raspbian Arch Linux
CPU Utilization for multiprocessing real-time g-connect and O mete
motion on 2 Raspbian and Arch Linux operating systems. The r
graph in Figure 6.11 shows that the CPU Utilization process FIFO RR FIFO RR
is g-connect, and the motion for Round Robin scheduling on g- m g- m g- m g- m
co oti con oti con oti con oti
the Arch Linux operating system is much busier, namely
nn on nec on nec on nec on
achieving 103% for g-connect and 57.6% for motion ect t t t
compared to FIFO scheduling on the operating system 1. CPU 10 7,9 102 9,5 102 54, 103 57,
Raspbian is 102% for G-connect FIFO and 9.5% for FIFO Utili
motion. 1 % % % % 1 % 6
zatio
n % % %
B. Waiting Time Parameter
4. Wait 36 µs 34 µs 28 µs 26 µs
The results of the waiting time parameter during a ing
multisensor process run in real-time presented in this section. time
Monitoring and testing of waiting times for multi-processes
were carried out in 30 trials in each experiment. At this stage, TABLE II is a summary of the overall test results obtained
the process will be run simultaneously on two schedules, from each scheduling and operating system used. It is seen in
Round Robin and FIFO. Each schedule will be implemented Table 6.3 that the differences between process parameters that
on two operating systems, Raspbian and Arch Linux. The are run on the Arch Linux operating system far better meet the
total data that must be monitored for response time parameters best scheduling criteria when compared to Raspbian and
is 3.600 data. between the two RR scheduling is more effective and efficient
in scheduling the g-connect and motion processes. The results
Sistem Operasi Raspbian dan Arch Linux of the comparison Table 6.5 show the testing of each
60.000000 parameter using the CPU, and the waiting time for the results
50.000000
is as follows:
interval wakttu tunggu (µs)
40.000000
30.000000
120
100
20.000000
80
10.000000
60
0.000000
g-connect
g-connect dan motion
g-connect
g-connect dan motion
40
(%)
0.00001
0.000005 REFERENCES
0
g-connect, g-connect, [1] I. H. Santoso and K. Ramli, “Internet of Things : Visi, Arah
motion FIFO motion RR Kedepan, Dan Teknologi Kunci,” vol. 2016, no. Santika, pp. 18–
Penggunaan waktu 19, 2016.
0.000036 0.000034 [2] A. Musaddiq, Y. Bin Zikria, O. Hahm, H. Yu, A. K. Bashir, and
tunggu Raspbian
S. W. Kim, “A Survey on Resource Management in IoT
Penggunaan waktu
0.000028 0.000026 Operating Systems,” IEEE Access, vol. 6, pp. 8459–8482, 2018.
tunggu Arch Linux [3] P. Singh, V. Singh, A. Pandey, and R. Robin, “Analysis and
Fig.5 Comparison summary graph of the use of waiting time for the g- Comparison of CPU Scheduling Algorithms,” Int. J. Emerg.
connect and motion processes with scheduling FIFO and RR on the Technol. Adv. Eng., vol. 4, no. 1, pp. 91–95, 2014.
Raspbian and Arch Linux operating systems [4] L. Datta, “Efficient Round Robin Scheduling Algorithm with
Dynamic Time Slice,” Int. J. Educ. Manag. Eng., vol. 5, no. 2, pp.
Figure 5 is a summary of the comparison of the g-connect 10–19, 2015.
[5] P. Gaur and M. P. Tahiliani, “Operating systems for IoT devices:
and motion waiting times with scheduling FIFO and RR on A critical survey,” Proc. - 2015 IEEE Reg. 10 Symp. TENSYMP
the Raspbian and Arch Linux operating systems. It can be 2015, pp. 33–36, 2015.
seen in Figure 6.17 that the waiting time with Round Robin [6] A. R. Dash, S. Kumar Sahu, and S. K. Samanta, “An optimized
scheduling on the Arch Linux operating system is smaller round-robin CPU scheduling algorithm with dynamic time
quantum,” Int. J. Comput. Sci. Eng. Inf. Technol., vol. 5, no. 1, pp.
compared to FIFO scheduling due to Round Robin. The 7–26, 2015.
characteristics of a preemptive process that causes a process [7] Y. Te Tsai, S. C. Wang, K. Q. Yan, and C. W. Chen, “Availability
to be stopped, if another process is interrupted while non- enhancement in a four-layer based IoT use three-phase
preemptive FIFO requires a process that is being carried out scheduling,” J. Ambient Intell. Humaniz. Comput., vol. 9, no. 4,
pp. 1275–1291, 2018.
must be completed to the end so that the next incoming [8] P. P. Ray, “A survey on the Internet of Things architectures,” J.
process must wait a long time until the process is finished. King Saud Univ. - Comput. Inf. Sci., vol. 30, no. 3, pp. 291–319,
2018.
IV. CONCLUSIONS [9] S. Almakdi, M. Aleisa, and M. Alshehri, “Simulation and
Performance Evaluation of CPU Scheduling Algorithms,” Ijarcce,
From the results of the overall test, it has been showing that no. March, pp. 1–6, 2015.
Arch Linux is better than Raspbian which can be seen from [10] A. Silberschatz, P. B. Galvin, and G. Gagne, “Operating Systeme
Concepts,” Wiley, vol. 32, p. 575, 2005.
CPU Utilization on the Arch Linux operating system with RR [11] I. Singh Rajput and D. Gupta, “A Priority based Round Robin
and FIFO. Scheduling for the g-connect process is 103% and CPU Scheduling Algorithm for Real-Time Systems,” J. Adv. Eng.
102%, motion 57.6% and 54.1% percentages which are Technol., vol. Vol2, no. Issue3, pp. 120–124, 2013.
achieved higher than CPU Utilization on the Raspbian [12] C. Jayavarthini, A. Chattopadhyay, P. Banerjee, and S. Dutta,
“Performance analysis of CPU scheduling algorithms with the
operating system with the RR and FIFO scheduling for the g- DFRRS algorithm,” ARPN J. Eng. Appl. Sci., vol. 12, no. 12, pp.
connect process being 102% and 101%, motion 9.5% and 3757–3761, 2017.
7.9%. The waiting time on the Arch Linux operating system