User-Space Solutions to Thread Switching Overhead

Writing communication software, which spends a significant amount of time on handling incoming messages, is difficult: Active Messages are fast, but awkward to use; traditional popup threads are easy to use, but expensive. Therefore, we have implemented a portable, hybrid upcall mechanism that is ea...

Full description

Bibliographic Details
Main Authors: Raoul Bhoedjang, Koen Langendoen
Other Authors: The Pennsylvania State University CiteSeerX Archives
Format: Text
Language:English
Published: 1995
Subjects:
Online Access:http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.4983
id ftciteseerx:oai:CiteSeerX.psu:10.1.1.38.4983
record_format openpolar
spelling ftciteseerx:oai:CiteSeerX.psu:10.1.1.38.4983 2023-05-15T17:53:28+02:00 User-Space Solutions to Thread Switching Overhead Raoul Bhoedjang Koen Langendoen The Pennsylvania State University CiteSeerX Archives 1995 application/postscript http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.4983 en eng http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.4983 Metadata may be used without restrictions as long as the oai identifier remains attached to it. ftp://ftp.cs.vu.nl/pub/raoul/papers/asci95.ps.gz text 1995 ftciteseerx 2016-09-18T00:19:14Z Writing communication software, which spends a significant amount of time on handling incoming messages, is difficult: Active Messages are fast, but awkward to use; traditional popup threads are easy to use, but expensive. Therefore, we have implemented a portable, hybrid upcall mechanism that is easier to use than Active Messages, yet avoids unnecessary thread switching. We allow upcalls to block on locks protecting shared data, but disallow blocking on synchronous communication and condition variables. To deal with the latter restriction we use continuations as in [Draves91]. We have incorporated this hybrid upcall mechanism into the runtime system of Orca,an object-based Distributed Shared Memory system. This paper describes the modifications and the performance improvement obtained with the restricted upcall model and continuations. Comparison with the previous version of the Orca runtime system, which uses blocking upcalls, shows that the code restructuring has improved communica. Text Orca Unknown
institution Open Polar
collection Unknown
op_collection_id ftciteseerx
language English
description Writing communication software, which spends a significant amount of time on handling incoming messages, is difficult: Active Messages are fast, but awkward to use; traditional popup threads are easy to use, but expensive. Therefore, we have implemented a portable, hybrid upcall mechanism that is easier to use than Active Messages, yet avoids unnecessary thread switching. We allow upcalls to block on locks protecting shared data, but disallow blocking on synchronous communication and condition variables. To deal with the latter restriction we use continuations as in [Draves91]. We have incorporated this hybrid upcall mechanism into the runtime system of Orca,an object-based Distributed Shared Memory system. This paper describes the modifications and the performance improvement obtained with the restricted upcall model and continuations. Comparison with the previous version of the Orca runtime system, which uses blocking upcalls, shows that the code restructuring has improved communica.
author2 The Pennsylvania State University CiteSeerX Archives
format Text
author Raoul Bhoedjang
Koen Langendoen
spellingShingle Raoul Bhoedjang
Koen Langendoen
User-Space Solutions to Thread Switching Overhead
author_facet Raoul Bhoedjang
Koen Langendoen
author_sort Raoul Bhoedjang
title User-Space Solutions to Thread Switching Overhead
title_short User-Space Solutions to Thread Switching Overhead
title_full User-Space Solutions to Thread Switching Overhead
title_fullStr User-Space Solutions to Thread Switching Overhead
title_full_unstemmed User-Space Solutions to Thread Switching Overhead
title_sort user-space solutions to thread switching overhead
publishDate 1995
url http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.4983
genre Orca
genre_facet Orca
op_source ftp://ftp.cs.vu.nl/pub/raoul/papers/asci95.ps.gz
op_relation http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.38.4983
op_rights Metadata may be used without restrictions as long as the oai identifier remains attached to it.
_version_ 1766161176192876544