Skip to main content

CARIC-DA: Core Affinity with a Range Index for Cache-Conscious Data Access in a Multicore Environment

  • Conference paper
Database Systems for Advanced Applications (DASFAA 2014)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 8421))

Included in the following conference series:

Abstract

In recent years,the number of cores on a chip has been growing exponentially, enabling an ever-increasing number of processes to execute in parallel. Having been developed originally for single-core processors, database (DB) management systems (DBMSs) running on multicore processors suffer from cache conflicts as the number of concurrently executing DB processes (DBPs) increases. In this paper, we propose CARIC-DA, middleware for achieving higher performance in DBMSs on multicore processors by reducing cache misses with a new cache-conscious dispatcher for concurrent queries. CARIC-DA logically range-partitions the data set into multiple subsets. This enables different processor cores to access different subsets by ensuring that different DBPs are pinned to different cores and by dispatching queries to DBPs according to the data partitioning information. In this way, CARIC-DA is expected to achieve better performance via a higher cache hit rate for each core’s private cache. It can also balance the loads between cores by changing the range of each subset. Note that CARIC-DA is pure middleware, which avoids any modification to existing operating systems (OSs) and DBMSs, thereby making it more practical. We implemented a prototype that uses unmodified existing Linux and PostgreSQL environments. The performance evaluation against benchmarks revealed that CARIC-DA achieved improved cache hit rates and higher performance.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Adee, S.: The data: 37 years of Moore’s law. IEEE Spectrum 45, 56 (2008)

    Google Scholar 

  2. Cieslewicz, J., Ross, K.A.: Database optimizations for modern hardware. Proceedings of the IEEE 96, 863–878 (2008)

    Article  Google Scholar 

  3. Ailamaki, A., DeWitt, D.J., Hill, M.D., Wood, D.A.: DBMSs on a modern processor: Where does time go? In: VLDB, pp. 266–277 (1999)

    Google Scholar 

  4. Lee, R., Ding, X., Chen, F., Lu, Q., Zhang, X.: MCC-DB: Minimizing cache conflicts in multi-core processors for databases. In: VLDB, pp. 373–384 (2005)

    Google Scholar 

  5. AMD family 10h server and workstation processor power and thermal data sheet, http://support.amd.com/us/Processor_TechDocs/43374.pdf

  6. Hardavellas, N., Pandis, I., Johnson, R., Mancheril, N.G., Ailamaki, A., Falsafi, B.: Database servers on chip multiprocessors: Limitations and opportunities. In: CIDR, pp. 79–87 (2007)

    Google Scholar 

  7. Salomie, T.I., Subasu, I.E., Giceva, J., Alonso, G.: Database engins on multicores, why parallelize when you can distribute? In: EuroSys, pp. 17–30 (2011)

    Google Scholar 

  8. Transaction processing performance council. TPC-C v5.5: On-line transaction processing (OLTP) benchmark

    Google Scholar 

  9. Harizopoulos, S., Ailamaki, A.: STEPS towards cache-resident transaction processing. In: VLDB, pp. 660–671 (2004)

    Google Scholar 

  10. Pandis, I., Johnson, R., Hardavellas, N., Ailamaki, A.: Data-oriented transaction execution. In: VLDB, pp. 928–939 (2010)

    Google Scholar 

  11. Foong, A., Fung, J., Newell, D.: An in-depth analysis of the impact of processor affinity on network performance. In: ICON, pp. 244–250 (2004)

    Google Scholar 

  12. Love, R.: Kernel korner: CPU affinity. Linux Journal (111), 8 (2003)

    Google Scholar 

  13. Oprofile: A system profiler for linux (2004), http://oprofile.sf.net

  14. BKDG for AMD family 10h processors (2010), http://support.amd.com/en-us/search/tech-docs?k=bkdg

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Xi, F., Mishima, T., Yokota, H. (2014). CARIC-DA: Core Affinity with a Range Index for Cache-Conscious Data Access in a Multicore Environment. In: Bhowmick, S.S., Dyreson, C.E., Jensen, C.S., Lee, M.L., Muliantara, A., Thalheim, B. (eds) Database Systems for Advanced Applications. DASFAA 2014. Lecture Notes in Computer Science, vol 8421. Springer, Cham. https://doi.org/10.1007/978-3-319-05810-8_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-05810-8_19

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-05809-2

  • Online ISBN: 978-3-319-05810-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics