Concurrency control for multiprocessor event-driven systems
Year: 2002
Type: dissertation
Abstract: This thesis describes libasync-mp, an extension of the libasync asynchronous programming library that allows event-driven applications to take advantage of multiprocessors by running code for event handlers in parallel. To control concurrency between events, the programmer can specify a color for each event: events with the same color (the default case) are handled serially; events with different colors can be handled in parallel. Parallelism in existing event-driven applications can be incrementally exposed by assigning different colors to computationally-intensive events that don't share mutable state. An evaluation of libasync-mp shows that applications achieve multi-processor speedup with little programming effort. For example, parallelizing the cryptography in the SFS file server required about 90 lines of changed code in two modules, out of a total of 12,000 lines. Multiple clients were able to read files from this SFS server running on a 4-CPU machine 2.55 times faster than from an unmodified SFS server on one CPU.
Author: Nickolai Zeldovich
Institution: Massachusetts Institute of Technology
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W2283222969
