2006 · 29 citations · 21 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureDatabasesHardware-software Co-designCache Behavior AnalysisCachingHardware AccelerationMemory Hierarchy OptimizationMulticore Processor DesignParallel ArchitecturesCache Miss AnalysisCache PrefetchingJoinJoin AlgorithmsMemory LatencyMultithreadingPrefetchingSimultaneous Multithreading
As the performance gap between main memory and modern processors widens, database algorithms must be adapted to be "architecture-aware" for optimal performance. We address this issue using the computation of hash join, one of the most important operations in database query processing, to study the impact of simultaneous multithreading (SMT) and main-memory latency (cache misses) on performance.Prior work [8] has studied cache misses on a simulation based on the Compaq ES40. Our results are obtained by measuring the performance of actual hardware (Intel Pentium and Xeon, and AMD Opteron) first for the single-threaded version of the hash-join algorithm used in the prior work and a new version designed for multiple threads.We found that hardware prefetching from main-memory data into CPU cache as implemented in the architectures we tested significantly reduces the real-world benefit of software prefetching (contrary to prior work on simulated systems). We found that SMT achieved significant speedup for our thread-aware hash join algorithm when compared with a single-threaded execution on the same single processor. Software prefetching also proved beneficial in this environment.
21
Dean M. Tullsen, Susan J. Eggers, Henry M. Levy · 1995 · 1.4K citations · Full text
Scott Rixner, William J. Dally, Ujval J. Kapasi et al. · 2000 · 966 citations · Full text
Dean M. Tullsen, Susan J. Eggers, Joel Emer et al. · 1996 · 782 citations
The microarchitecture of the Pentium 4 processor
G. Hinton · Medical Entomology and Zoology · 2001 · 592 citations