On a multi-tasked system, the CPU cycles through a number of processes every few milliseconds. Some of the processes are memory-intensive, but most are non-intensive support processes and other user programs such as text-editors, email clients, and instant messengers. A typical system cycles through a few memory-intensive processes, each of which replaces several cache blocks from the level-2 cache from other processes. This results in a large number of demand misses for the L2, and ties up the memory subsystem preventing effective prefetching.

This project investigates a possible solution to this problem by modifying the OS to prefetch to the L2 out of context, i.e. when the CPU is executing a non memory-intensive process. (ideally, just before the memory-intensive process will be brought in for execution). Thus, when this process resumes execution, it will have low L2 cache misses which in turn will keep the memory-bus free in order to prefetch even more blocks. Out-of-context prefetching aims to shift from a predominantly demand-fetched paradigm to a predominantly prefetched paradigm.

In conjunction with accurate predictors for prefetching, this work has the potential to greatly mitigate the performance CPU-memory gap problem on a system-wide level. The expected outcome of the project is a Linux implementation of out-of-context prefetching on a full-system simulator, and a website that documents all the assumptions, the source code, and extensive project results beyond those published in the corresponding research literature. All researchers, operating system designers, and processor manufacturers will have access to the website and the research findings to freely incorporate them as they wish.

Agency
National Science Foundation (NSF)
Institute
Division of Computer and Network Systems (CNS)
Application #
0720741
Program Officer
Krishna Kant
Project Start
Project End
Budget Start
2007-08-01
Budget End
2010-07-31
Support Year
Fiscal Year
2007
Total Cost
$222,000
Indirect Cost
Name
Oklahoma State University
Department
Type
DUNS #
City
Stillwater
State
OK
Country
United States
Zip Code
74078