skip to main content
10.1145/232973.232992acmconferencesArticle/Chapter ViewAbstractPublication PagesiscaConference Proceedingsconference-collections
Article
Free access

Polling watchdog: combining polling and interrupts for efficient message handling

Published: 01 May 1996 Publication History

Abstract

Parallel systems supporting multithreading, or message passing in general, have typically used either polling or interrupts to handle incoming messages. Neither approach is ideal; either may lead to excessive overheads or message-handling latencies, depending on the application. This paper investigates a combined approach---Polling Watchdog, where both are used depending on the circumstances. The Polling Watchdog is a simple hardware extension that limits the generation of interrupts to the cases where explicit polling fails to handle the message quickly. As an added benefit, this mechanism also has the potential to simplify the interaction between interrupts and the network accesses performed by the program.We present the resulting performance for the EARTH-MANNA-S system, an implementation of the EARTH (Efficient Architecture for Running THreads) execution model on the MANNA multiprocessor. In contrast to the original EARTH-MANNA system, this system does not use a dedicated communication processor. Rather, synchronization and communication tasks are performed on the same processor as the regular computations. Therefore, an efficient message-handling mechanism is essential to good performance. Simulation results and performance measurements show that the Polling Watchdog indeed performs better than either polling or interrupts alone. In fact, this mechanism allows the EARTH-MANNA-S system to achieve the same level of performance as the original EARTH-MANNA multithreaded system.

References

[1]
Anant Agarwal, Ricardo Bianchini, David Chaiken, Kirk L. Johnson, David Kranz, John Kubiatowicz, Beng-Hong Lim, Kenneth Mackenzie, and Donald Yeung, "The MIT Alewife Machine: Architecture and Performance," in Proc. of the 22nd Ann. Intl. Syrup. on Computer Architecture, Santa Margherita Ligure, Italy, pp. 2-13, Jun. 1995.
[2]
Eric A. Brewer, Frederic T. Chong, Lok T. Liu, Shamik D. Sharma, and John D. Kubiatowicz, "Remote Queues: Exposing Message Queues for Optimization and Atomicity," in Proc. o.f the 7th Ann. A CM Syrup. on Parallel Algorithms and Architectures, Santa Barbara, Calif., pp. 42-53, Jul. 1995.
[3]
Eugene Brooks, "The attack of the killer micros." Presentation in the Teraflop Computing Panel Discussion at Supercomputing '89, Reno, Nev., Nov. 1989.
[4]
U. Bruening, W. K. Giloi, and W. Schroeder- Preikschat, "Latency Hiding in Message-Passing Architectures," in Proc. of the 8th Intl. Parallel Processing Syrup., Cancfin, Mexico, pp. 704-709, IEEE Comp. Soc., Apr. 1994.
[5]
Derek Chiou, Boon S. Ang, Robert Greiner, Arvind, James C. Hoe, Michael J. Beckerle, James E. Hicks, and Andy Boughton, "StarT-NG: Delivering Seamless Parallel Computing," in Proc. of the First Intl. EURO-PAR Conf., no. 966 in Lec. Notes in Comp. Sci., Stockholm, Sweden, pp. 101-116, Springer-Verlag, Aug. 1995.
[6]
David E. Culler, Seth C. Goldstein, Klaus E. Schauser, and Thorsten von Eicken, "TAM- A Compiler Controlled Threaded Abstract Machine," J. o} Parallel and Distrib. Computing, 18:347-370, Jul. 1993.
[7]
Jack B. Dennis and Guang R. Gao, "Multithreaded Architectures: Principles, Projects, and Issues," in Multithreaded Computer Architecture: A Summary of the State of the Art (Robert A. Iannucci, Guang R. Gao, Robert H. Halstead, Jr., and Burton Smith, eds.), ch. 1, pp. 1-72, Norwell, Mass.: Kluwer Academic Pub., 1994.
[8]
Dana S. Henry and Christopher F. Joerg, "A Tightly- Coupled Processor-Network Interface," in Proc. of the Fifth Intl. Con}. on Architectural Support for Programming Languages and Operating Systems, Boston, Mass., pp. 111-122, Oct. 1992.
[9]
Herbert H. J. Hum, Olivier Maquelin, Kevin B. Theobald, Xinmin Tian, Guang R. Gao, and Laurie 3. Hendren, "A Study of the EARTH-MANNA Multithreaded System," Intl. J. of Parallel Programming, 1996. To appear.
[10]
Herbert H. 5. Hum, Olivier Maquelin, Kevin B. Theobald, Xinmin Tian, Xinan Tang, Guang R. Gao, Phil Cupryk, Nasser Elmasri, Laurie J. Hendren, Alberto Jimenez, Shoba Krishnan, Andres Marquez, bhamlr Merall, bhashank ~ emawarkar, Prakash Panangaden, Xun Xue, and Yingchun Zhu, "The Multi-Threaded Architecture Multiprocessor," ACAPS Tech. Memo 88, Sch. of Comp. Sci., McGill U., Montr6al, Qua., Dec. 1994. In ftp://ftpacaps, cs. mcgill, c a/p u b / doc / memos.
[11]
Herbert H. J. Hum, Kevin B. Theobald, and Guang R. Gao, "Building Multithreaded Architectures with Offthe-Shelf Microprocessors," in Proc. of the 8th intl. Parallel Processing Syrup., Cancfin, Mexico, pp. 288- 294, IEEE Comp. Soc., Apr. 1994.
[12]
Yuetsu Kodama, Hirohulni Sakane, Mitsuhisa Sato, Hayato Yamana, Shuichi Sakai, and Yoshinori Yamaguchi, "The EM-X Parallel Computer: Architecture and Basic Performance," in Proc. of the 22nd Ann. Intl. Syrup. on Computer Architecture, Santa Margherita Ligure, Italy, pp. 14-23, Jun. 1995.
[13]
Olivier C. Maquefin, Herbert H. J. Hum, and Guang R. Gao, "Costs and Benefits of Multithreading with Offthe-Shelf RISC Processors," in Proc. of the First Intl. EURO-PAR Con}., no. 966 in Lec. Notes in Comp. Sci., Stockholm, Sweden, pp. 117-128, Springer-Verlag, Aug. 1995.
[14]
Michael D. Noakes, Deborah A. Wallah, and William j. Dally, "The J-Machine Multicomputer: An Architectural Evaluation," in Proc. of the 20th Ann. Intl. Syrup. on Computer Architecture, San Diego, Calif., pp. 224- 235, May 1993.
[15]
Shuichi Sakai, Kazuaki Okamoto, Hiroshi Matsuoka, Hideo Hirono, Yuetsu Kodama, and Mitsuhisa Sato, "Super-Threading: Architectural and Software Mechanisms for Optimizing Parallel Computation," in Conf. Proc., 1993 Intl. Conj. on Supercomputing, Tokyo, Japan, pp. 251-260, Jul. 1993.
[16]
Ellen Spertus and William J. Dally, "Evaluating the Locality Benefits of Active Messages," in Proc. of the Fifth A CM SIGPLAN Syrup. on Principles ~_4 Practice of Parallel Programming (PPOPP), Santa Barbara, Calif., pp. 189-198, Jul. 1995.
[17]
Ellen Spertus, Seth Copen Goldstein, Klaus Erik Schauser, Thorsten yon Eicken, David E. Culler, and William J. Dally, "Evaluation of Mechanisms for Fine- Grained Parallel Programs in the J-Machine and the CM-5," in Proc. of the 20th Ann. intl. Syrup. on Computer Architecture, San Diego, Calif., pp. 302-313, May 1993.
[18]
Daniel Stodolsky, J. Bradley Chen, and Brian N. Bershad, "Fast Interrupt Priority Management in Operating System Kernels," in Proc. o} the 2nd Usenix Symposium on Microkernels and other Kernel Architectures, 1993.
[19]
Andrew S. Tanenbaum, Operating Systems: Design and Implementation. Englewood Cliffs, N. Jersey: Prentice- Hall, Inc., 1987.
[20]
Thorsten von Eicken, David E. Culler, Sech Copen Goldstein, and Klaus Eric Schauser, "Active Messages: a Mechanism for Integrated Communication and Computation," in Proc. of the 19th Ann. Intl. Syrup. on Computer Architecture, Gold Coast, Australia, pp. 256- 266, May 1992.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ISCA '96: Proceedings of the 23rd annual international symposium on Computer architecture
May 1996
318 pages
ISBN:0897917863
DOI:10.1145/232973
  • cover image ACM SIGARCH Computer Architecture News
    ACM SIGARCH Computer Architecture News  Volume 24, Issue 2
    Special Issue: Proceedings of the 23rd annual international symposium on Computer architecture (ISCA '96)
    May 1996
    303 pages
    ISSN:0163-5964
    DOI:10.1145/232974
    Issue’s Table of Contents

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 May 1996

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

ISCA96
Sponsor:
ISCA96: International Conference on Computer Architecture
May 22 - 24, 1996
Pennsylvania, Philadelphia, USA

Acceptance Rates

Overall Acceptance Rate 543 of 3,203 submissions, 17%

Upcoming Conference

ISCA '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)318
  • Downloads (Last 6 weeks)65
Reflects downloads up to 12 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media