A Real-Time Scheduling Method Based on the Wayland Protocol

View at publisher Summarise with VIRAT
Authors: Dawei Wang, Yongjia Mei, Yan Wang
Cited by: 0
References: 2

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Widely adopted in modern Linux graphics systems, Wayland is a display server protocol whose epoll-based event handling mechanism treats all client events with equal priority, failing to distinguish the importance of critical clients. This paper proposes wlr_scheduler, a protocol extension mechanism that introduces the event_node data structure and two key interfaces: wl_event_source_set_priority and wl_event_loop_add_fd_with_priority. This mechanism allows clients to register for prioritized handling, enabling the server to dynamically assign them SCHED_RR (Scheduling Round Robin) real-time policies and specific event priorities. The server prioritizes client events using a dual-queue architecture (high and low priority) combined with intra-queue weight-based sorting. This research provides an extensible solution for guaranteeing real-time interaction within the Wayland architecture. It enhances the responsiveness of critical UI modules while maintaining system stability and compatibility. Tests on the Loongson 3A5000 platform demonstrate a significant frame rate improvement for critical clients compared to standard clients. The solution is compatible with various Wayland-based compositors and holds significant technical value for optimizing graphics performance in embedded automotive systems and desktop environments.

Fields of Study & Subjects

Real-Time Systems Scheduling Computer Graphics and Visualization Techniques Parallel Computing and Optimization Techniques

Publication details

Journal / source
International Conference on Artificial Intelligence and Social Network Systems (AISNS)
Pages
31–35
Publication date
9 January 2026
Language
EN