DRAFT: work in progress - - - comments solicited evolving Mach 3.0 to use migrating threads

Update Item Information
Publication Type technical report
School or College College of Engineering
Department Computing, School of
Creator Lepreau, Jay
Other Author Ford, Bryan
Title DRAFT: work in progress - - - comments solicited evolving Mach 3.0 to use migrating threads
Date 1993
Description Like most operating systems, Mach 3.0 views threads as statically associated with a single task. An alternative model is that of migrating threads, in which a single thread abstraction moves between tasks with the logical flow of control, and "server" code is passively executed. We have compatibly replaced Mach's static threads with migrating threads, isolating that aspect of operating system design and implementation. The key element of our design is a decoupling of the thread abstraction into the controllable execution context and the schedulable thread of control, consisting of a chain of contexts. A key element of our implementation is that threads are now "based" in the kernel, and temporarily make excursions into tasks via upcalls. The new system provides cleaner and more powerful semantics for thread manipulation, allows scheduling and accounting attributes to follow threads, simplifies both kernel and server code, and improves RPC performance. We have retained the old thread and IPC interfaces for backwards compatibility, with no changes required to existing client programs and only a minimal change to servers, as demonstrated by a functional Unix single server and clients. Code size along the critical RPC path has been reduced by a factor of three, while its logical complexity has been reduced by an order of magnitude. Initial timings show that the performance of local RPC, doing normal marshaling, has also improved by a factor of three. We conclude that a migrating thread model is superior to a static model, and that it is feasible to improve existing operating systems in this manner.
Type Text
Publisher University of Utah
First Page 1
Last Page 25
Subject DRAFT
Subject LCSH Threads (Computer programs)
Language eng
Bibliographic Citation Ford, B., & Lepreau, J. (1993). DRAFT: work in progress - - - comments solicited evolving Mach 3.0 to use migrating threads. 1-25. UUCS-93-022.
Series University of Utah Computer Science Technical Report
Relation is Part of ARPANET
Rights Management ©University of Utah
Format Medium application/pdf
Format Extent 6,510,046 bytes
Identifier ir-main,16284
ARK ark:/87278/s6jt07jt
Setname ir_uspace
ID 702829
Reference URL https://collections.lib.utah.edu/ark:/87278/s6jt07jt
Back to Search Results