DBMSs on a Modern Processor: Where Does Time Go?
|
Anastassia Ailamaki,
David J. DeWitt,
Mark D. Hill, and
David A. Wood
View Paper (PDF)
Return to Understanding Database Performance
Recent high-performance processors employ sophisticated techniques to overlap and simultaneously execute multiple computation and memory operations. Intuitively, these techniques should help database applications, which are becoming increasingly compute and memory bound. Unfortunately, recent studies report that faster processors do not improve database system performance to the same extent as scientific workloads. Recent work on database systems focusing on minimizing memory latencies, such as cache-conscious algorithms for sorting and data placement, is one step toward addressing this problem. However, to best design high performance DBMSs we must carefully evaluate and understand the processor and memory behavior of commercial DBMSs on today's hardware platforms.
In this paper we answer the question "Where does time go when a database system is executed on a modern computer platform?" We examine four commercial DBMSs running on an Intel Xeon and NT 4.0. We introduce a framework for analyzing query execution time on a DBMS running on a server with a modern processor and memory architecture. To focus on processor and memory interactions and exclude effects from the I/O subsystem, we use a memory resident database. Using simple queries we find that database developers should (a) optimize data placement for the second level of data cache, and not the first, (b) optimize instruction placement to reduce first-level instruction cache stalls, but (c) not expect the overall execution time to decrease significantly without addressing stalls related to subtle implementation issues (e.g., branch prediction).
Note: References link to DBLP on the Web.
-
[1]
-
Andrea C. Arpaci-Dusseau
,
Remzi Arpaci-Dusseau
,
David E. Culler
,
Joseph M. Hellerstein
,
David A. Patterson
: High-Performance Sorting on Networks of Workstations.
SIGMOD Conference 1997
: 243-254
-
[2]
-
Luiz André Barroso
,
Kourosh Gharachorloo
,
Edouard Bugnion
: Memory System Characterization of Commercial Workloads.
ISCA 1998
: 3-14
-
[3]
-
Trishul M. Chilimbi
,
Mark D. Hill
,
James R. Larus
: Cache-Conscious Structure Layout.
PLDI 1999
: 1-12
-
[4]
-
Richard J. Eickemeyer
,
Ross E. Johnson
,
Steven R. Kunkel
,
Mark S. Squillante
,
Shiafun Liu
: Evaluation of Multithreaded Uniprocessors for Commercial Application Environments.
ISCA 1996
: 203-212
-
[5]
-
Jim Gray
: The Benchmark Handbook for Database and Transaction Systems (2nd Edition).
Morgan Kaufmann
1993
-
[6]
-
John L. Hennessy
,
David A. Patterson
: Computer Architecture: A Quantitative Approach, 2nd Edition.
Morgan Kaufmann
1996, ISBN 1-55860-329-8
-
[7]
-
...
-
[8]
-
...
-
[9]
-
...
-
[10]
-
Kimberly Keeton
,
David A. Patterson
,
Yong Qiang He
,
Roger C. Raphael
,
Walter E. Baker
: Performance Characterization of a Quad Pentium Pro SMP using OLTP Workloads.
ISCA 1998
: 15-26
-
[11]
-
...
-
[12]
-
Per-Åke Larson
,
Goetz Graefe
: Memory Management During Run Generation in External Sorting.
SIGMOD Conference 1998
: 472-483
-
[13]
-
Jack L. Lo
,
Luiz André Barroso
,
Susan J. Eggers
,
Kourosh Gharachorloo
,
Henry M. Levy
,
Sujay S. Parekh
: An Analysis of Database Workload Performance on Simultaneous Multithreaded Processors.
ISCA 1998
: 39-50
-
[14]
-
Ann Marie Grizzaffi Maynard
,
Colette M. Donnelly
,
Bret R. Olszewski
: Contrasting Characteristics and Cache Performance of Technical and Multi-User Commercial Workloads.
ASPLOS 1994
: 145-156
-
[15]
-
Chris Nyberg
,
Tom Barclay
,
Zarka Cvetanovic
,
Jim Gray
,
David B. Lomet
: AlphaSort: A RISC Machine Sort.
SIGMOD Conference 1994
: 233-242
-
[16]
-
Parthasarathy Ranganathan
,
Kourosh Gharachorloo
,
Sarita V. Adve
,
Luiz André Barroso
: Performance of Database Workloads on Shared-Memory Systems with Out-of-Order Processors.
ASPLOS 1998
: 307-318
-
[17]
-
Ambuj Shatdal
,
Chander Kant
,
Jeffrey F. Naughton
: Cache Conscious Algorithms for Relational Query Processing.
VLDB 1994
: 510-521
-
[18]
-
...
-
[19]
-
...
-
[20]
-
Tse-Yu Yeh
,
Yale N. Patt
: Two-Level Adaptive Training Branch Prediction.
MICRO 1991
: 51-61
-
[21]
-
Mendel Rosenblum
,
Edouard Bugnion
,
Stephen Alan Herrod
,
Emmett Witchel
,
Anoop Gupta
: The Impact of Architectural Trends on Operating System Performance.
SOSP 1995
: 285-298
-
[22]
-
Shreekant S. Thakkar
,
Mark Sweiger
: Performance of an OLTP Application on Symmetry Multiprocessor System.
ISCA 1990
: 228-238
-
[23]
-
...
@inproceedings{DBLP:conf/vldb/AilamakiDHW99,
author = {Anastassia Ailamaki and
David J. DeWitt and
Mark D. Hill and
David A. Wood},
editor = {Malcolm P. Atkinson and
Maria E. Orlowska and
Patrick Valduriez and
Stanley B. Zdonik and
Michael L. Brodie},
title = {DBMSs on a Modern Processor: Where Does Time Go?},
booktitle = {VLDB'99, Proceedings of 25th International Conference on Very
Large Data Bases, September 7-10, 1999, Edinburgh, Scotland,
UK},
publisher = {Morgan Kaufmann},
year = {1999},
isbn = {1-55860-615-5},
pages = {266-277},
crossref = {DBLP:conf/vldb/99},
bibsource = {DBLP, http://dblp.uni-trier.de} } },
Copyright(C) 2000 ACM
|