Show simple item record

dc.contributor.authorDemaine, Erik D
dc.contributor.authorLiu, Quanquan C.
dc.date.accessioned2020-11-10T16:33:27Z
dc.date.available2020-11-10T16:33:27Z
dc.date.issued2018-07
dc.identifier.isbn9781450357999
dc.identifier.urihttps://hdl.handle.net/1721.1/128439
dc.description.abstractThe red-blue pebble game was formulated in the 1980s [14] to model the I/O complexity of algorithms on a two-level memory hierarchy. Given a directed acyclic graph representing computations (vertices) and their dependencies (edges), the red-blue pebble game allows sequentially adding, removing, and recoloring red or blue pebbles according to a few rules, where red pebbles represent data in cache (fast memory) and blue pebbles represent data on disk (slow, external memory). Specifically, a vertex can be newly pebbled red if and only if all of its predecessors currently have a red pebble; pebbles can always be removed; and pebbles can be recolored between red and blue (corresponding to reading or writing data between disk and cache, also called I/Os or memory transfers). Given an upper bound on the number of red pebbles at any time (the cache size), the goal is to compute a game execution with the fewest pebble recolorings (memory transfers) that finish with pebbles on a specified subset of nodes (outputs get computed). In this paper, we investigate the complexity of computing this trade-off between red-pebble limit (cache size) and number of recolorings (memory transfers) in general DAGs. First we prove this problem PSPACE-complete through an extension of the proof PSPACE-hardness of black pebbling complexity [13]. Second, we consider a natural restriction on the red-blue pebble game to forbid pebble deletions, or equivalently, forbid discarding data from cache without first writing it to disk. This assumption both simplifies the model and immediately places the trade-off computation problem within NP. Unfortunately, we show that even this restricted version is NP-complete. Finally, we show that the trade-off problem parameterized by the number of transitions is W[1]-hard, meaning that there is likely no algorithm running in a fixed polynomial for constant number of transitions.en_US
dc.description.sponsorshipNSF (Grant 1122374)en_US
dc.language.isoen
dc.publisherAssociation for Computing Machinery (ACM)en_US
dc.relation.isversionofhttp://dx.doi.org/10.1145/3210377.3210387en_US
dc.rightsCreative Commons Attribution-Noncommercial-Share Alikeen_US
dc.rights.urihttp://creativecommons.org/licenses/by-nc-sa/4.0/en_US
dc.sourceMIT web domainen_US
dc.titleRed-Blue Pebble Gameen_US
dc.title.alternativeComplexity of Computing the Trade-Off between Cache Size and Memory Transfersen_US
dc.typeArticleen_US
dc.identifier.citationDemaine, Erik D. and Quanquan C. Liu. "Complexity of Computing the Trade-Off between Cache Size and Memory Transfers." SPAA '18: Proceedings of the 30th ACM Symposium on Parallelism in Algorithms and Architectures, Vienna, Austria, Association for Computing Machinery, July 2018. © 2018 The Authorsen_US
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratoryen_US
dc.contributor.departmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Scienceen_US
dc.relation.journalSPAA '18: Proceedings of the 30th ACM Symposium on Parallelism in Algorithms and Architecturesen_US
dc.eprint.versionAuthor's final manuscripten_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2019-06-10T11:44:42Z
dspace.date.submission2019-06-10T11:44:43Z
mit.metadata.statusComplete


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record