Please use this identifier to cite or link to this item:
http://hdl.handle.net/11375/9011
Title: | A Comparison of Scalable Multi-Threaded Stack Mechanisms |
Authors: | Moore-Oliva, Joshua I. |
Advisor: | Sekerinski, Emil |
Department: | Computing and Software |
Keywords: | Computing and Software;Computer Engineering;Computer Sciences;Software Engineering;Computer Engineering |
Publication Date: | 2010 |
Abstract: | <p>The traditional "stack grows from the top, heap grows from the bottom" memory layout allows a single-threaded process to make use of all available address space. This layout is not ideal when multiple threads of execution need to share one address space, for memory exhaustion is no longer signified by the heap meeting the stack. In the commonly used multi-threaded memory layout where each thread has its "worst case" stack memory exclusively reserved, a process may prematurely run out of memory when one thread's stack collides with another's, even if there is unused address space elsewhere. This problem is exacerbated as the number of threads in a process increases since there is less stack space available per thread.<br />In this thesis, alternative stack mechanisms that attempt to alleviate this problem are reviewed, and a new stack mechanism is put forward that utilizes the MMU to detect stack overflow. An experimental compiler implementing a subset of the C language is used to implement promising stack mechanisms, and a suite of test programs are used to compare their performance and scalability under varying usage patterns.</p> |
URI: | http://hdl.handle.net/11375/9011 |
Identifier: | opendissertations/4172 5190 2029968 |
Appears in Collections: | Open Access Dissertations and Theses |
Files in This Item:
File | Size | Format | |
---|---|---|---|
fulltext.pdf | 3.14 MB | Adobe PDF | View/Open |
Items in MacSphere are protected by copyright, with all rights reserved, unless otherwise indicated.