| | |
Summary: ReaderWriter Synchronization for
SharedMemory Multiprocessor RealTime Systems #
Bj orn B. Brandenburg and James H. Anderson
Department of Computer Science, University of North Carolina at Chapel Hill
Abstract
Reader preference, writer preference, and taskfair reader
writer locks are shown to cause undue blocking in multipro
cessor realtime systems. A new phasefair readerwriter lock
is proposed as an alternative that significantly reduces worst
case blocking for readers and an efficient localspin imple
mentation is provided. Both task and phasefair locks are
evaluated and contrasted to mutex locks in terms of hard and
soft realtime schedulability under consideration of runtime
overheads on a multicore computer.
1 Introduction
With the transition to multicore architectures by most (if not
all) major chip manufacturers, multiprocessors are now a stan
dard deployment platform for (soft) realtime applications.
This has led to renewed interest in realtime multiprocessor
scheduling and synchronization algorithms (see [11, 14, 15,
|