Extending Data Prefetching to Cope with Context Switch Misses

dc.contributor.advisorEdward Gehringer, Committee Memberen_US
dc.contributor.advisorEric Rotenberg, Committee Memberen_US
dc.contributor.advisorYan Solihin, Committee Memberen_US
dc.contributor.advisorSuleyman Sair, Committee Chairen_US
dc.contributor.authorCui, Hanyuen_US
dc.date.accessioned2010-04-02T18:29:05Z
dc.date.available2010-04-02T18:29:05Z
dc.date.issued2009-03-18en_US
dc.degree.disciplineComputer Engineeringen_US
dc.degree.leveldissertationen_US
dc.degree.namePhDen_US
dc.description.abstractAmong the various costs of a context switch, its impact on the performance of L2 caches is the most significant because of the resulting high miss penalty. To mitigate the impact of context switches, several OS approaches have been proposed to reduce the number of context switches. Nevertheless, frequent context switches are inevitable in certain cases and result in severe L2 cache performance degradation. Moreover, traditional prefetching techniques are ineffective in the face of context switches as their prediction tables are also subject to loss of content during a context switch. To reduce the impact of frequent context switches, we propose restoring a program's locality by prefetching into the L2 cache the data a program was using before it was swapped out. A Global History List is used to record a process' L2 read accesses in LRU order. These accesses are saved along with the process' context when the process is swapped out and loaded to guide prefetching when it is swapped in. We also propose a feedback mechanism that greatly reduces memory traffic incurred by our prefetching scheme. A phase guided prefetching scheme was also proposed to complement GHL prefetching. Experiments show significant speedup over baseline architectures with and without traditional prefetching in the presence of frequent context switches.en_US
dc.identifier.otheretd-03132009-023731en_US
dc.identifier.urihttp://www.lib.ncsu.edu/resolver/1840.16/3328
dc.rightsI hereby certify that, if appropriate, I have obtained and attached hereto a written permission statement from the owner(s) of each third party copyrighted matter to be included in my thesis, dis sertation, or project report, allowing distribution as specified below. I certify that the version I submitted is the same as that approved by my advisory committee. I hereby grant to NC State University or its agents the non-exclusive license to archive and make accessible, under the conditions specified below, my thesis, dissertation, or project report in whole or in part in all forms of media, now or hereafter known. I retain all other ownership rights to the copyright of the thesis, dissertation or project report. I also retain the right to use in future works (such as articles or books) all or part of this thesis, dissertation, or project report.en_US
dc.subjectcomputer architectureen_US
dc.subjectprefetchingen_US
dc.subjectcontext switchingen_US
dc.titleExtending Data Prefetching to Cope with Context Switch Missesen_US

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
etd.pdf
Size:
3.93 MB
Format:
Adobe Portable Document Format

Collections