Locality Transformations of Computation and Data for Portable Performance
dc.contributor.advisor | Sarkar, Vivek | en_US |
dc.contributor.committeeMember | Mellor-Crummey, John | en_US |
dc.contributor.committeeMember | Warburton, Timothy | en_US |
dc.creator | Sharma, Kamal Gopal | en_US |
dc.date.accessioned | 2016-01-27T17:21:12Z | en_US |
dc.date.available | 2016-01-27T17:21:12Z | en_US |
dc.date.created | 2015-05 | en_US |
dc.date.issued | 2014-08-21 | en_US |
dc.date.submitted | May 2015 | en_US |
dc.date.updated | 2016-01-27T17:21:12Z | en_US |
dc.description.abstract | Recently, multi-cores chips have become omnipresent in computer systems ranging from high-end servers to mobile phones. A variety of multi-core architectures have been developed which vary in the number of cores on a single die, cache hierarchies within a chip and interconnect across chips. This diversity of architectures is likely to continue for the foreseeable future. With these architectural variations, performance tuning of an application becomes a major challenge for the programmer. Code optimizations developed for one architecture may have a different impact, even negative, across other architectures due to the differences in tuning parameters. This problem is compounded when scaling from a single node to multiple nodes in a cluster. Our thesis is that significant performance benefits can be obtained from locality transformations of computation and data that require minimal programmer effort. We establish this thesis by addressing three specific problems — tile size selection, data layout optimization and automatic selection of distribution functions. Tile size selection and data layout optimization improve intra-node performance, whereas automatic selection of distribution functions also enhances inter-node performance. Loop tiling is a well-known locality optimization technique that can increase cache reuse at different levels of a memory hierarchy. Choosing tile sizes for different loop nests is a non-trivial task for a programmer due to the large parameter search space and different architectural parameters for different platforms. In this dissertation, we present analytical bounds for tile size selection. Our approach uses different architectural parameters such as cache size and TLB size to limit the tile size search space, and also includes an automated algorithm to select optimized tile sizes. Another important locality optimization is data layout transformation, which improves cache performance by restructuring program data. An important challenge for a programmer is to select an efficient data layout for a given application and target platform. In the past, selecting a data layout has been limited by the cost of rewriting applications for different layouts and by the effort required to find an optimized layout for a given platform. In this work, we present an automated tool for implementing different layouts for a given program. Using our approach, a programmer can experiment with different layouts across varying platforms for efficient performance. We also provide an automatic algorithm to select an optimized data layout for a given program and its representative executions. When mapping an application onto multiple nodes, one challenge for scalable performance is how to distribute computation and data across the nodes. In this work, we introduce an algorithm to automatically select a task/data distribution function for a set of nodes. We build this solution on Intel CnC’s distributed runtime system. Overall, our approaches for the three problems provide automated methods for locality optimization that enable portable performance while requiring minimal programmer effort. | en_US |
dc.format.mimetype | application/pdf | en_US |
dc.identifier.citation | Sharma, Kamal Gopal. "Locality Transformations of Computation and Data for Portable Performance." (2014) Diss., Rice University. <a href="https://hdl.handle.net/1911/88159">https://hdl.handle.net/1911/88159</a>. | en_US |
dc.identifier.uri | https://hdl.handle.net/1911/88159 | en_US |
dc.language.iso | eng | en_US |
dc.rights | Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder. | en_US |
dc.subject | Locality Transformations | en_US |
dc.subject | Cache Optimization | en_US |
dc.subject | Tile size selection | en_US |
dc.subject | Data Layout Optimization | en_US |
dc.subject | Performance | en_US |
dc.subject | Distributed Function Selection | en_US |
dc.title | Locality Transformations of Computation and Data for Portable Performance | en_US |
dc.type | Thesis | en_US |
dc.type.material | Text | en_US |
thesis.degree.department | Computer Science | en_US |
thesis.degree.discipline | Engineering | en_US |
thesis.degree.grantor | Rice University | en_US |
thesis.degree.level | Doctoral | en_US |
thesis.degree.name | Doctor of Philosophy | en_US |
Files
Original bundle
1 - 1 of 1