A proportional share resource allocation algorithm for real-time, time-shared systems

被引:107
|
作者
Stoica, I
AbdelWahab, H
Jeffay, K
Baruah, SK
Gehrke, JE
Plaxton, CG
机构
关键词
D O I
10.1109/REAL.1996.563725
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
We propose and analyze a proportional share resource allocation algorithm for realizing real-time performance in time-shared operating systems. Processes are assigned a weight which determines a share (percentage) of the resource they are to receive. The resource is then allocated in discrete-sized time quanta in such a manner that each process males progress at a precise, uniform rate. Proportional share allocation algorithms are of interest because (1) they provide a natural means of seamlessly integrating real- and non-real-time processing, (2) they are easy to implement, (3) they provide a simple and effective means of precisely controlling the real-time performance of a process, and (4) they provide a natural mean of policing so that processes that use more of a resource than they request have no ill-effect on well-behaved processes. We analyze our algorithm in She context of an idealized system in which a resource is assumed to be granted in arbitrarily small intervals of time and show that our algorithm guarantees that the difference between the service time that a process should receive in the idealized system and the service time it actually receives in the real system is optimally bounded by the size of a time quantum. In addition, the algorithm provides support for dynamic operations, such as processes joining or leaving the competition, and for both fractional and non-uniform time quanta. As a proof of concept we have implemented a prototype of a CPU scheduler under FreeBSD. The experimental results shows that our implementation performs within the theoretical bounds and hence supports real-time execution in a general purpose operating system.
引用
收藏
页码:288 / 299
页数:12
相关论文
共 50 条
  • [1] REAL-TIME, TIME-SHARED COMPUTER PROJECT
    TEAGER, HM
    COMMUNICATIONS OF THE ACM, 1962, 5 (01) : 62 - 62
  • [2] A shared resource-aware real-time task allocation algorithm
    Yang, Mao-Lin
    Lei, Hang
    Liao, Yong
    Jisuanji Xuebao/Chinese Journal of Computers, 2014, 37 (07): : 1455 - 1465
  • [3] Real-Time Resource Allocation for Tracking Systems
    Satsangi, Yash
    Whiteson, Shimon
    Oliehoek, Frans A.
    Bouma, Henri
    CONFERENCE ON UNCERTAINTY IN ARTIFICIAL INTELLIGENCE (UAI2017), 2017,
  • [4] RESOURCE-ALLOCATION IN REAL-TIME SYSTEMS
    STANKOVIC, JA
    REAL-TIME SYSTEMS, 1993, 5 (2-3) : R1 - R6
  • [5] PERFORMANCE MODELING AND MEASUREMENT OF REAL-TIME MULTIPROCESSORS WITH TIME-SHARED BUSES
    WOODBURY, MH
    SHIN, KG
    IEEE TRANSACTIONS ON COMPUTERS, 1988, 37 (02) : 214 - 224
  • [6] TIME-SHARED COMMUNICATIONS SOFTWARE FOR REAL-TIME DIGITAL CONTROLLERS.
    Preece, C.
    Stewart, T.R.
    Software & Microsystems, 1981, 1 (01): : 3 - 7
  • [7] ON SWAP TIME IN TIME-SHARED SYSTEMS
    KLEINROC.L
    IEEE COMPUTER GROUP NEWS, 1969, 2 (09): : 4 - &
  • [8] A Novel Resource Allocation Algorithm for Real-time Services in Multiuser OFDM Systems
    Yu, Guanding
    Zhang, Zhaoyang
    Chen, Yan
    Shi, Jing
    Qiu, Peiliang
    2006 IEEE 63RD VEHICULAR TECHNOLOGY CONFERENCE, VOLS 1-6, 2006, : 1156 - 1160
  • [9] Holistic resource allocation for multicore real-time systems
    Xu, Meng
    Linh Thi Xuan Phan
    Choi, Hyon-Young
    Lin, Yuhan
    Li, Haoran
    Lu, Chenyang
    Lee, Insup
    25TH IEEE REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2019), 2019, : 345 - 356
  • [10] Multicore real-time task allocation algorithms with shared resource constraints
    Liu, J.-H. (Ljhqyyq@yahoo.com.cn), 1600, Zhejiang University (48):