Teknik: Jurnal Ilmu Teknik dan Informatika
Vol. 5 No. 2 (2025): Oktober : Teknik: Jurnal Ilmu Teknik dan Informatika

Analisis Perbandingan Algoritma Penjadwalan Prioritas Preemptive dan Non-Preemptive Menggunakan Aplikasi Web Interaktif

Rumahorbo, Gilbert Aldrich (Unknown)
Zulfahmi Indra (Unknown)
Alfarizi Wijaya (Unknown)
Melika Debiyana Putri (Unknown)
Buulolo, Calvin Sahputra (Unknown)



Article Info

Publish Date
07 Nov 2025

Abstract

CPU scheduling is a core function in modern operating systems that significantly impacts system performance and efficiency. Among various scheduling algorithms, Priority Scheduling is widely used and exists in two main variants: non-preemptive and preemptive. The non-preemptive mode allows a process to run to completion, while the preemptive mode can interrupt a running process for a higher-priority one. Understanding the behavioral differences between these modes is crucial but often challenging through manual calculations. To address this, an interactive web-based application was developed to simulate and visualize both preemptive and non-preemptive Priority Scheduling algorithms. The research method involved designing the system logic based on the core principles of each scheduling variant, followed by implementation using standard web technologies: HTML, Tailwind CSS, and JavaScript. The application allows users to input custom process data or load predefined case studies, select the scheduling mode, and instantly receive a comprehensive analysis. The results include a dynamically generated Gantt chart, a detailed performance metrics table (including turnaround time and waiting time), and a step-by-step execution log. Through a comparative analysis of a specific case study, the application is proven to be an effective educational tool. It accurately simulates both modes and visually demonstrates the impact of preemption on execution order, resource utilization, and key performance metrics, thereby simplifying the learning process for students and educators.

Copyrights © 2025






Journal Info

Abbrev

TEKNIK

Publisher

Subject

Computer Science & IT

Description

Jurnal Ilmu Teknik dan Informatika (TEKNIK) menerbitkan satu-satunya makalah yang secara ketat mengikuti pedoman dan template TEKNIK untuk persiapan naskah. Semua manuskrip yang dikirimkan akan melalui proses peer review double-blind. Makalah tersebut dibaca oleh anggota redaksi (sesuai bidang ...