Please use this identifier to cite or link to this item:
http://arks.princeton.edu/ark:/88435/dsp012j62s493v
Full metadata record
DC Field | Value | Language |
---|---|---|
dc.contributor.advisor | Malik, Sharad | en_US |
dc.contributor.author | Schwartz-Narbonne, Daniel | en_US |
dc.contributor.other | Electrical Engineering Department | en_US |
dc.date.accessioned | 2013-05-21T13:33:41Z | - |
dc.date.available | 2013-05-21T13:33:41Z | - |
dc.date.issued | 2013 | en_US |
dc.identifier.uri | http://arks.princeton.edu/ark:/88435/dsp012j62s493v | - |
dc.description.abstract | Software engineering is facing a crisis. For decades, computer programs doubled in speed every 18 months, enabling powerful new applications which have literally changed the way we communicate and think. However, the ever-increasing hardware speed that drove this exponential growth also led to an unsustainable increase in power consumption. Modern hardware attempts to side-step this problem by using many slow processors functioning in parallel. Unfortunately, our ability to develop and debug parallel software to take advantage of parallel hardware has not kept pace with the need. In order to reap the benefits offered by parallel computing, we require new tools. In particular, a parallel program must execute correctly even in the presence of unpredictable thread interleavings. This interleaving makes it hard to write correct parallel programs, and also makes it hard to find bugs in incorrect parallel programs. A range of tools have been developed to help debug parallel programs, ranging from atomicity-violation and data-race detectors to model-checkers and theorem provers. One technique that has been successful for debugging sequential programs, but less effective for parallel programs, is running the program using assertion predicates provided by the developer. These assertions allow programmers to specify and check their assumptions. In a multi-threaded program, the programmer's assumptions include both the current state, and any actions (e.g., access to shared memory) that other, parallel executing threads might take. This dissertation introduces parallel assertions which allow programmers to express these assumptions for parallel programs using simple and intuitive syntax and semantics. I present an implementation and demonstrate its performance using PARSEC benchmarks. I discuss the challenges of evaluating assertions in the presence of weak memory models, and show how my work formalizing the semantics under weak memory models leads to an optimization that gives a 2x speedup while allowing more bugs to be exposed. I measure the effectiveness of parallel assertions using the University of Michigan Collection of Concurrency Bugs. In 14/17 cases, I was able to write a parallel assertion that would detect the cause of the real-world bug. My research suggests that parallel assertions are a powerful and practical debugging tool. | en_US |
dc.language.iso | en | en_US |
dc.publisher | Princeton, NJ : Princeton University | en_US |
dc.relation.isformatof | The Mudd Manuscript Library retains one bound copy of each dissertation. Search for these copies in the <a href=http://catalog.princeton.edu> library's main catalog </a> | en_US |
dc.subject | Assertions | en_US |
dc.subject | Concurrency | en_US |
dc.subject | Debugging | en_US |
dc.subject | Parallel Programming | en_US |
dc.subject | Verification | en_US |
dc.subject.classification | Electrical engineering | en_US |
dc.subject.classification | Computer engineering | en_US |
dc.subject.classification | Computer science | en_US |
dc.title | Assertions for Debugging Parallel Programs | en_US |
dc.type | Academic dissertations (Ph.D.) | en_US |
pu.projectgrantnumber | 690-2143 | en_US |
Appears in Collections: | Electrical Engineering |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
SchwartzNarbonne_princeton_0181D_10556.pdf | 2.07 MB | Adobe PDF | View/Download |
Items in Dataspace are protected by copyright, with all rights reserved, unless otherwise indicated.