Design and Implementation of an Efficient I/O Method for a Real-Time User Level Thread Library
نویسندگان
چکیده
We have developed a portable user-level thread library RT-PTL on UNIX, which is intended to be used for soft realtime processings, such as multimedia systems. A user-level thread is known to be more efficient than a kernel-level one because of its small context switch overhead. However, user-level thread has a restriction that if one thread issues a system call that forces the calling process to be entirely blocked (such as disk I/O operation), no other thread is runnable until the system call has completed. This characteristic is undesirable for real-time processing. In this article, we have shown a method to overcome this restriction. Using this method, if one thread requests a system call such as disk I/O operation, only the thread that issues the request is blocked and other threads can continue execution. We have implemented this method and have confirmed by some experiments that the method is widely usable and is also efficient.
منابع مشابه
User-Level Real-Time Threads
Continuous-media applications require more efficient and flexible support from real-time threads than traditional real-time systems. It includes functionalities such as the dynamic management of thread attributes and the support of multiple thread models. In this paper, we will describe the design and implementation of user-level real-time threads on the RT-Mach micro kernel. Since they are imp...
متن کاملOn the Integration of Real-time Asynchronous Event Handling Mechanisms with Existing Operating System Services
This paper presents an asynchronous event handling mechanism for real-time applications that leverages existing system services in COTS systems. In our implementation, event dispatching is initiated within bottom-half interrupt handling routines, in order to support predictable, safe, and efficient event handling functionality at user-level. We compare our asynchronous I/O mechanism with existi...
متن کاملFUM Students' Understanding of the Terms Used in User Interface of SIMAD Library Software
Background and Aim: The main objective of the research is to determine the understanding level of the students of Ferdowsi University of Mashhad in the terms used in user interface of SIMAD library software. Methods: The study is an applied research with survey descriptive method. Research population was Ferdowsi University of Mashhad, including 24346 students of whom 164 were selected as sampl...
متن کاملControlling Kernel Scheduling from User Space: An Approach to Enhancing Applications' Reactivity to I/O Events
In this paper, we present a sophisticated mechanism that allows an application to tightly control the way I/O events are handled within the underlying operating system’s kernel. The goal is to provide an efficient user-level interface to allow applications to quickly detect and handle asynchronous I/O events. Reactivity is obviously a crucial property for many time-critical applications. For in...
متن کاملMassiveThreads: A Thread Library for High Productivity Languages
An efficient implementation of task parallelism is important for high productivity languages. Specifically, it requires a tasking layer that fulfills following requirements: (i) its performance scales to high core counts, and (ii) it is seamlessly integrated into a runtime system that performs inter-node communication and synchronization. More specifically, it should facilitate interactions bet...
متن کامل