1993 · 62 citations · 21 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureParallel ComputingCache Behavior AnalysisCachingCaching StrategiesLatency OptimizationParallel Computer ArchitectureParallel Performance AnalysisCache Miss AnalysisCache Miss RateCache PrefetchingFalse SharingMemory Access LatencyMemory LatencyMemory Latency ReductionPrefetching
Compiler-directed cache prefetching has the potential to hide much of the high memory latency seen by current and future high-performance processors. However, prefetching is not without costs, particularly on a multiprocessor. Prefetching can negatively affect bus utilization, overall cache miss rates, memory latencies and data sharing. We simulated the effects of a particular compiler-directed prefetching algorithm, running on a bus-based multiprocesssor. We showed that, despite a high memory latency, this architecture is not very well-suited for prefetching. For several variations on the architecture, speedups for five parallel programs were no greater than 39%, and degradations were as high as 7%, when prefetching was added to the workload. We examined the sources of cache misses, in light of several different prefetching strategies, and pinpointed the causes of the performance changes. Invalidation misses pose a particular problem for current compiler-directed prefetchers. We applied two techniques that reduced their impact: a special prefetching heuristic tailored to write-shared data, and restructuring shared data to reduce false sharing, thus allowing traditional prefetching algorithms to work well.
21
Jaswinder Singh, Wolf-Dietrich Weber, Anoop Gupta · ACM SIGARCH Computer Architecture News · 1992 · 927 citations · Full text
Design and evaluation of a compiler algorithm for prefetching
Todd C. Mowry, Monica S. Lam, Anoop Gupta · 1992 · 767 citations · Full text
Lockup-free instruction fetch/prefetch cache organization
David Kroft · 1998 · 564 citations · Full text
David Callahan, Ken Kennedy, Allan Porterfield · 1991 · 489 citations