| | |
Summary: Object Sharing in Pfairscheduled Multiprocessor
Systems #
Philip Holman and James H. Anderson
Department of Computer Science
University of North Carolina
Chapel Hill, NC 275993175
Phone: (919) 9621757
Fax: (919) 9621799
Email: {holman, anderson}@cs.unc.edu
December 2001
Abstract
We consider various techniques for implementing shared objects and for accounting for object
sharing overheads in Pfairscheduled multiprocessor systems. We primarily focus on the use of lockfree
objects, though some lockbased alternatives are briefly considered as well. Lockfree objects are more
economical for implementing relatively simple objects such as bu#ers, stacks, queues, and lists; locking
techniques are preferable for more complicated objects and for sychronizing accesses to physical devices.
We present schedulability conditions for Pfairscheduled systems in which lockfree objects are used.
In addition, using shared queues as an example, we show how one can exploit the tight synchrony that
exists in Pfairscheduled systems to optimize lockfree implementations. We also show that lockfree
objectsharing overheads can be reduced by combining tasks into supertasks; this is because, within a
|