Preventing interrupt overload

被引:23
作者
Regehr, J [1 ]
Duongsaa, U [1 ]
机构
[1] Univ Utah, Sch Comp, Salt Lake City, UT 84112 USA
关键词
interrupts; overload; scheduling; embedded;
D O I
10.1145/1070891.1065918
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Performance guarantees can be given to tasks in an embedded system by ensuring that access to each shared resource is mediated by an appropriate scheduler. However, almost all previous work on CPU scheduling has focused on thread-level scheduling, resulting in systems that are vulnerable to a lower-level form of overload that occurs when too many interrupts arrive. This paper describes three new techniques, two software-based and one hardware-based, for creating systems that delay or drop excessive interrupt requests before they can overload a processor. Our interrupt schedulers bound both the amount of work performed in interrupt context and its granularity, making it possible to provide strong progress guarantees to thread-level processing. We show that our solutions work and are efficient when implemented on embedded processors. We have also taken a description for a microprocessor in VHDL, modified it to include logic that prevents interrupt overload, synthesized the processor, and verified that it works using simulation. By allowing developers to avoid making assumptions about the worst-case interrupt rates of peripherals, our work fills an important gap in the chain of reasoning leading to a validated system. These techniques cannot replace careful system design, but they do provide a last-ditch safety guarantee in the presence of a serious malfunction.
引用
收藏
页码:50 / 58
页数:9
相关论文
共 26 条
[1]  
ABENI L, 2001, P 3 REAL TIM LIN WOR
[2]  
[Anonymous], 2003, International Journal on Software Tools for Technology Transfer
[3]   An analysable bus-guardian for event-triggered communication [J].
Broster, I ;
Burns, A .
RTSS 2003: 24TH IEEE INTERNATIONAL REAL-TIME SYSTEMS SYMPOSIUM, PROCEEDINGS, 2003, :410-419
[4]  
CLIFFORD W, 1994, P IEEE INT C MULT CO
[5]  
DANHILDEBRAND, 1992, P USENIX WORKSH MICR, P113
[6]   Policing offloaded [J].
Dannowski, U ;
Härtig, H .
SIXTH IEEE REAL-TIME TECHNOLOGY AND APPLICATIONS SYMPOSIUM, PROCEEDINGS, 2000, :218-227
[7]  
Druschel P, 1996, PROCEEDINGS OF THE SECOND SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '96), P261, DOI 10.1145/248155.238786
[8]  
George L., 1996, Preemptive and Non-Preemptive Real-Time Uniprocessor Scheduling
[9]  
HILL J, 2000, P 9 INT C ARCH SUPP, P93, DOI DOI 10.1145/356989.356998
[10]  
Jeffay K., 1999, Proceedings 20th IEEE Real-Time Systems Symposium (Cat. No.99CB37054), P304, DOI 10.1109/REAL.1999.818858