Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1869389.1869393acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Optimizing read convoys in main-memory query processing

Published: 07 June 2010 Publication History

Abstract

Concurrent read-only scans of memory-resident fact tables can form convoys, which generally help performance because cache misses are amortized over several members of the convoy. Nevertheless, we identify two performance hazards for such convoys. One hazard is underutilization of the memory bandwidth because all members of the convoy hit the same cache lines at the same time, rather than reading several different lines concurrently. The other hazard is a form of interference that occurs on the Sun Niagara T1 and T2 machines under certain workloads. We propose solutions to these hazards, including a local shuffle method that reduces interference, preserves the beneficial aspects of convoy behavior, and increases the effective bandwidth by allowing different members of a convoy to concurrently access different cache lines. We provide experimental validation of the methods on several modern architectures.

References

[1]
}}D. Abadi, S. Madden, and M. Ferreira. Integrating compression and execution in column-oriented database systems. In SIGMOD '06, pages 671--682, 2006.
[2]
}}M. Blasgen, J. Gray, M. Mitoma, and T. Price. The convoy phenomenon. SIGOPS Oper. Syst. Rev., 13(2):20--25, 1979.
[3]
}}P. A. Boncz, M. Zukowski, and N. Nes. MonetDB/X100: Hyper-pipelining query execution. In CIDR, pages 225--237, 2005.
[4]
}}J. Cieslewicz, K. A. Ross, K. Satsumi, and Y. Ye. Automatic contention detection and amelioration for data-intensive operations. In SIGMOD, 2010.
[5]
}}S. Padmanabhan, T. Malkemus, R. C. Agarwal, and A. Jhingran. Block oriented processing of relational database operations in modern computer architectures. In ICDE, pages 567--574, 2001.
[6]
}}L. Qiao, V. Raman, F. Reiss, P. J. Haas, and G. M. Lohman. Main-memory scan sharing for multi-core CPUs. Proc. VLDB Endow., 1(1):610--621, 2008.
[7]
}}Sun Microsystems. Opensparc T2 core microarchitecture specification, 2007.
[8]
}}J. Zhou et al. Improving database performance on simultaneous multithreading processors. In VLDB, 2005.
[9]
}}J. Zhou and K. A. Ross. Buffering database operations for enhanced instruction cache performance. In SIGMOD, 2004.

Cited By

View all
  • (2017)Cache Hierarchy-Aware Query Mapping on Emerging Multicore ArchitecturesIEEE Transactions on Computers10.1109/TC.2016.260568266:3(403-415)Online publication date: 1-Mar-2017
  • (2012)A comparison of the use of virtual versus physical snapshots for supporting update-intensive workloadsProceedings of the Eighth International Workshop on Data Management on New Hardware10.1145/2236584.2236585(1-8)Online publication date: 21-May-2012
  • (2012)Cache craftiness for fast multicore key-value storageProceedings of the 7th ACM european conference on Computer Systems10.1145/2168836.2168855(183-196)Online publication date: 10-Apr-2012

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
DaMoN '10: Proceedings of the Sixth International Workshop on Data Management on New Hardware
June 2010
56 pages
ISBN:9781450301893
DOI:10.1145/1869389
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 07 June 2010

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Research-article

Funding Sources

Conference

SIGMOD/PODS '10
Sponsor:

Acceptance Rates

Overall Acceptance Rate 94 of 127 submissions, 74%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)1
Reflects downloads up to 30 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2017)Cache Hierarchy-Aware Query Mapping on Emerging Multicore ArchitecturesIEEE Transactions on Computers10.1109/TC.2016.260568266:3(403-415)Online publication date: 1-Mar-2017
  • (2012)A comparison of the use of virtual versus physical snapshots for supporting update-intensive workloadsProceedings of the Eighth International Workshop on Data Management on New Hardware10.1145/2236584.2236585(1-8)Online publication date: 21-May-2012
  • (2012)Cache craftiness for fast multicore key-value storageProceedings of the 7th ACM european conference on Computer Systems10.1145/2168836.2168855(183-196)Online publication date: 10-Apr-2012

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media