Title :
Proportional share scheduling of operating system services for real-time applications
Author :
Jeffay, Kevin ; Smith, F. Donelson ; Moorthy, Arun ; Anderson, James
Author_Institution :
Dept. of Comput. Sci., North Carolina Univ., Chapel Hill, NC, USA
Abstract :
While there is currently great interest in the problem of providing real time services in general purpose operating systems, the issue of real time scheduling of internal operating system activities has received relatively little attention. Without such real time scheduling, the system is susceptible to conditions such as receive livelock-a situation in which an operating system spends all its time processing arriving network packets, and application processes, even if scheduled with a real time scheduler, are starved. We investigate the problem of scheduling operating system activities such as network protocol processing in a proportional share manner. We describe a proportional share implementation of the FreeBSD operating system and demonstrate that it solves the receive livelock problem. Packets are processed within the operating system only at the cumulative rate at which the destination applications are prepared to receive them. If packets arrive at a faster rate then they are discarded after consuming minimal system resources. In this manner the performance of “well behaved” applications is unaffected by “misbehaving” applications. We demonstrate this effect by running a set of multimedia applications under a variety of network conditions on a set of increasingly sophisticated proportional share implementations of FreeBSD and comparing their performance. This work contributes to our knowledge of the engineering of proportional share real time systems
Keywords :
concurrency control; operating systems (computers); protocols; real-time systems; resource allocation; scheduling; FreeBSD; FreeBSD operating system; application processes; arriving network packets; destination applications; general purpose operating systems; internal operating system activities; minimal system resources; misbehaving applications; multimedia applications; network conditions; network protocol processing; operating system services; proportional share implementation; proportional share implementations; proportional share real time systems; proportional share scheduling; real time applications; real time scheduler; real time scheduling; receive livelock; Application software; Computer interfaces; Computer networks; Computer science; Network interfaces; Operating systems; Processor scheduling; Protocols; Real time systems; Resource management;
Conference_Titel :
Real-Time Systems Symposium, 1998. Proceedings., The 19th IEEE
Conference_Location :
Madrid
Print_ISBN :
0-8186-9212-X
DOI :
10.1109/REAL.1998.739781