Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM67590
Volume:
10 |
9 |
Sep 2026
Pages:
1-8
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

ELECTRONICS AND COMMUNICATION ENGINEERING
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY–GURAJADA VIZIANAGARAM

ELECTRONICS AND COMMUNICATION ENGINEERING
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY–GURAJADA VIZIANAGARAM
Real-time systems require predictable response behavior because excessive and unpredictable execution delays can affect the reliability of time-sensitive applications. This paper presents the development of a Linux-based real-time latency monitoring, storage, and visualization system using the Real-Time Linux Analysis (RTLA) framework. The proposed system uses the RTLA timerlat tracer to measure operating-system timer latency and obtain IRQ, thread, and user-level latency observations. A Python-based collector continuously reads the RTLA output, extracts the required current latency values, and stores the measurements in an SQLite database. A Flask-based web backend retrieves the stored measurements and provides them to a web dashboard through an application programming interface. The dashboard presents the current IRQ, thread, and user latency values together with historical graphs and threshold-based status information. This architecture provides a continuous path from kernel-level latency measurement to persistent storage and web-based visualization, reducing the need for manual observation of terminal output. The experimental observations demonstrate that latency can vary significantly under system activity, highlighting the importance of monitoring both current and historical measurements rather than relying only on average values. A documented cyclictest experiment produced a minimum latency of 26 µs, an average latency of 973 µs, and a maximum latency of 16 ms. The proposed system provides a foundation for further studies involving machine-learning-based latency prediction, hardware performance-counter correlation, virtualization analysis, and automated alert notification.
KEYWORDS
This paper presented the development of a Linux-based real-time latency monitoring, storage, and visualization system using RTLA timerlat. The proposed architecture integrates RTLA-based latency measurement with a Python data collector, SQLite database, Flask backend, and web-based dashboard. This provides a continuous data path from operating-system-level latency measurement to persistent storage and graphical visualization. The experimental results demonstrate the practical operation of the developed system. The documented cyclictest experiment produced a minimum latency of 26 µs, an average latency of 973 µs, and a maximum latency of 16 ms. The project also demonstrated the use of the RTLA timerlat top and timerlat hist interfaces and the subsequent processing of latency information through collector.py, SQLite, app.py, and the dashboard. The normal- and high-latency experiments further demonstrated the ability of the system to classify and visualize different latency conditions through the web dashboard. The documented results show the complete processing sequence involving the collector, database, Python application, and dashboard for both conditions. The developed system therefore provides a practical foundation for continuous Linux latency observation without depending solely on manual inspection of command-line output. The current implementation focuses on measurement, collection, storage, threshold-based classification, and visualization, while machine-learning prediction, hardware performance-counter integration, virtualization analysis, and automated notification remain potential areas for future development.
[1] The Linux Kernel Documentation, “rtla—Real-time Linux Analysis tool,” Linux Kernel Documentation, accessed Sep. 2026. [2] The Linux Kernel Documentation, “rtla-timerlat—Measures the operating system timer latency,” Linux Kernel Documentation, accessed Sep. 2026. [3] Python Software Foundation, “sqlite3—DB-API 2.0 interface for SQLite databases,” Python Documentation, accessed Sep. 2026. [4] Pallets Projects, “Quickstart—Flask Documentation,” Flask Documentation, accessed Sep. 2026. [5] Linux Foundation, “Cyclictest,” Real-Time Linux Documentation, accessed Sep. 2026. [6] The Linux Kernel Documentation, “Scheduler,” Linux Kernel Documentation, accessed Sep. 2026. [7] The Linux Kernel Documentation, “Real-time preemption,” Linux Kernel Documentation, accessed Sep. 2026. [8] S. Rostedt, “ftrace—Function Tracer,” The Linux Kernel Documentation, Linux Kernel Documentation, accessed Sep. 2026. [9] The Linux Kernel Documentation, “Performance Counters for Linux,” Linux Kernel Source Documentation, accessed Sep. 2026. [10] J. M. Domingos, P. Tomas, and L. Sousa, “Supporting RISC-V performance counters through performance analysis tools for Linux (Perf),” arXiv preprint arXiv:2112.11767, 2021.
Publication Date
9/30/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
0
Total views since publication
PDF Downloads
5
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...