Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/195473.195515acmconferencesArticle/Chapter ViewAbstractPublication PagesasplosConference Proceedingsconference-collections
Article
Free access

Hardware and software support for efficient exception handling

Published: 01 November 1994 Publication History

Abstract

Program-synchronous exceptions, for example, breakpoints, watchpoints, illegal opcodes, and memory access violations, provide information about exceptional conditions, interrupting the program and vectoring to an operating system handler. Over the last decade, however, programs and run-time systems have increasingly employed these mechanisms as a performance optimization to detect normal and expected conditions. Unfortunately, current architecture and operating system structures are designed for exceptional or erroneous conditions, where performance is of secondary importance, rather than normal conditions. Consequently, this has limited the practicality of such hardware-based detection mechanisms.
We propose both hardware and software structures that permit efficient handling of synchronous exceptions by user-level code. We demonstrate a software implementation that reduces exception-delivery cost by an order-of-magnitude on current RISC processors, and show the performance benefits of that mechanism for several example applications.

References

[1]
A. Agarwal, B.-H. Lim, D. Kranz, and j. Kubiatowicz. APRIL: A processor architecture for multiprocessing, in Proceedings of the 17th International Symposium on Computer Architecture, pages 104- I 14, May 1990.
[2]
R. Alverson, D. Callahan, D. Cummings, B. Koblenz, A. Porterfield, and B. Smith. The Tera computer system. International Conference on Supercomputing, pages 1-6, June 1990.
[3]
T E. Anderson, H. M. Levy, B. N. Bershad, and E. D. Lazowska. The interaction of architecture and operating system design. In Proceedings of the 4th International Conference on Architectural Support for Programming Languages and Operating Systems, pages 108-120, April 1991.
[4]
A. W. Appel and K. Li. Virtual memory primitives for user programs. In Proceedings of the 4th International Conference on Architecture Support for Programming Languages and Operating Systems, pages 96-107, April 1991.
[5]
A. W. Appel, J. R. Ellis, and K. Li. Real-time concurrent collection on stock multiprocessors. In Proceedings of the ACM SIGPLAN '88 Conference on Programming Language Design and Implementation, pages 11-20, June 1988.
[6]
H.-J. Boehm and M. Weiser. Garbage collection in an uncooperative environment. Software-- Practice and Experience, 18(9):807-820, September 1988.
[7]
A. Chang and M. F. Mergen. 801 storage: Architecture and programming. A CM Transactions on Computer Systems, 6(1):28-50, Febmary 1988.
[8]
W. Cockshot, M. Atkinson, K. Chisholm, P. Bailey, and R. Morrison. Persistent object management system. Software--Practice and Experience, 14(1 ):251-272, January 1984.
[9]
A. L. Hosking and J. E. B. Moss. Protection traps and alternatives for memory management of an object-oriented language. In Proceedings of the Fourteenth ACM Symposium on Operating, pages 106-119, December 1993.
[10]
G. Kane and J. Heinrich. MIPS RISCArchitecture. Prentice Hall, Englewood Cliffs, New Jersey 07632, 1992.
[11]
D.A. Kranz, R. H. Halstead, and E. Mohr. Mul- T: A high-performance parallel Lisp. In Proceedings of SIGPLAN '89 Symposium on Progamming Languages Design and Implementation, pages 81- 90, June 1989.
[12]
K. Li and P. Hudak. Memory coherence in shared virtual memory systems. ACM Transactions on Computer Systems, 7(4):321-359, November 1989.
[13]
H. Lieberman and C. Hewitt. A realtime garbage collector based on the lifetimes of objects. Communications of the ACM, 26(6):419-429, June 1983.
[14]
H. Massalin and C. Pu. Threads and input/output in the Synthesis kernel. In Proceedings of the 12th ACM Symposium on Operating Systems Principles, pages 191-201, December 1989.
[15]
J. K. Ousterhout. Why aren't operating systems getting faster as fast as hardware? In Proceedings of the Summer 1990 USENIX Conference, pages 247- 256, June 1990.
[16]
S. Patience. Redirecting system calls in Mach 3.0, an alternative to the emulator. In Proceedings of the USENIX Mach III Symposium, pages 57-74, April 1993.
[17]
D. M. Ungar. Generation scavenging: A nondisruptive high-performance storage reclamation algorithm. In A CM SiGSOFT/SIGPLAN Software Engineering Symposium on Practical Software Development Environments, pages 157-167, April 1984.
[18]
R. Wahbe. Efficient data breakpoints. In Proceedings of the 5th International Conference on Architectural Support for Programming Languages and Operating Systems, pages 200-212, October 1992.
[19]
S.J. White and D. J. DeWitt. A performance study of alternative object faulting and pointer swizzling strategies. In Proceedings of the 18th VLDB Conference, pages 419-431, 1992.
[20]
P. R. Wilson and S. V. Kakkad. Pointer swizzling at page fault time: Efficiently and compatibly supporting huge address spaces on standard hardware. In Proceedings of the 1992 international Workshop on Object Orientation in Operating Systems, pages 364-377, September 1992.
[21]
M.W. Young. Exporting a User Interface to Memory Management from a Communication-Oriented Operating System. Ph.D. dissertation, Camegie Mellon University, November 1989. Technical Report CMU- CS-89-202.

Cited By

View all
  • (2018)An Evaluation of Asynchronous Software Events on Modern Hardware2018 IEEE 26th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)10.1109/MASCOTS.2018.00041(355-368)Online publication date: Sep-2018
  • (2017)HyperkernelProceedings of the 26th Symposium on Operating Systems Principles10.1145/3132747.3132748(252-269)Online publication date: 14-Oct-2017
  • (2013)Architecting against Software Cache-Based Side-Channel AttacksIEEE Transactions on Computers10.1109/TC.2012.7862:7(1276-1288)Online publication date: 1-Jul-2013
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ASPLOS VI: Proceedings of the sixth international conference on Architectural support for programming languages and operating systems
November 1994
341 pages
ISBN:0897916603
DOI:10.1145/195473
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 November 1994

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

ASPLOS94
Sponsor:

Acceptance Rates

Overall Acceptance Rate 535 of 2,713 submissions, 20%

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)205
  • Downloads (Last 6 weeks)42
Reflects downloads up to 10 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2018)An Evaluation of Asynchronous Software Events on Modern Hardware2018 IEEE 26th International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS)10.1109/MASCOTS.2018.00041(355-368)Online publication date: Sep-2018
  • (2017)HyperkernelProceedings of the 26th Symposium on Operating Systems Principles10.1145/3132747.3132748(252-269)Online publication date: 14-Oct-2017
  • (2013)Architecting against Software Cache-Based Side-Channel AttacksIEEE Transactions on Computers10.1109/TC.2012.7862:7(1276-1288)Online publication date: 1-Jul-2013
  • (2013)The von Neumann computer model on the mirror of new technologiesProceedings of the 14th International Carpathian Control Conference (ICCC)10.1109/CarpathianCC.2013.6560579(411-416)Online publication date: May-2013
  • (2009)Hardware-software integrated approaches to defend against software cache-based side channel attacks2009 IEEE 15th International Symposium on High Performance Computer Architecture10.1109/HPCA.2009.4798277(393-404)Online publication date: Feb-2009
  • (2008)PangaeaProceedings of the 17th international conference on Parallel architectures and compilation techniques10.1145/1454115.1454125(52-61)Online publication date: 25-Oct-2008
  • (2006)Exception handling in the choices operating systemAdvanced Topics in Exception Handling Techniques10.5555/2124243.2124248(42-61)Online publication date: 1-Jun-2006
  • (2006)Design Trade-Offs for User-Level I/O ArchitecturesIEEE Transactions on Computers10.1109/TC.2006.12255:8(962-973)Online publication date: 1-Aug-2006
  • (2006)Exception Handling in the Choices Operating SystemAdvanced Topics in Exception Handling Techniques10.1007/11818502_3(42-61)Online publication date: 2006
  • (2005)Low-Overhead Interactive Debugging via Dynamic Instrumentation with DISEProceedings of the 11th International Symposium on High-Performance Computer Architecture10.1109/HPCA.2005.18(303-314)Online publication date: 12-Feb-2005
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media