Reference : An Elastic Multi-Core Allocation Mechanism for Database Systems
Scientific congresses, symposiums and conference proceedings : Paper published in a book
Engineering, computing & technology : Computer science
Computational Sciences
http://hdl.handle.net/10993/35822
An Elastic Multi-Core Allocation Mechanism for Database Systems
English
Dominico, Simone mailto [Universidade Federal do Paraná > Informatics]
Almeida, Eduardo Cunha mailto [Universidade Federal do Paraná > Informatics]
Meira, Jorge Augusto mailto [University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > >]
Alves, Marcos A. Z. [Universidade Federal do Paraná > Informatics]
2018
International Conference on Data Engineering (ICDE)
Yes
International Conference on Data Engineering (ICDE)
from 16-04-2018 to 19-04-2018
IEEE
[en] databases ; multi-core ; petrinet
[en] During the parallel execution of queries in Non-Uniform Memory Access (NUMA) systems, he Operating System (OS) maps the threads (or processes) from modern database systems to the available cores among the NUMA nodes using the standard node-local policy. However, such non-smart mapping may result in inefficient memory activity, because shared data may be accessed by scattered threads requiring large data movements or non-shared data may be allocated to threads sharing the same cache memory, increasing its conflicts. In this paper we present a data-distribution aware and elastic multi-core allocation mechanism to improve the OS mapping of database threads in NUMA systems. Our hypothesis is that we mitigate the data movement if we only hand out to the OS the local optimum number of cores in specific nodes. We propose a mechanism based
on a rule-condition-action pipeline that uses hardware counters to promptly find out the local optimum number of cores. Our mechanism uses a priority queue to track the history of the memory address space used by database threads in order to decide about the allocation/release of cores and its distribution among the NUMA nodes to decrease remote memory access. We implemented and tested a prototype of our mechanism when
executing two popular Volcano-style databases improving their NUMA-affinity. For MonetDB, we show maximum speedup of 1.53 × , due to consistent reduction in the local/remote per-query data traffic ratio of up to 3.87 × running 256 concurrent clients in the 1 GB TPC-H database also showing system energy savings of 26.05%. For the NUMA-aware SQL Server, we observed speedup of up to 1.27 × and reduction on the data traffic ratio of 3.70 ×.
http://hdl.handle.net/10993/35822

File(s) associated to this reference

Fulltext file(s):

FileCommentaryVersionSizeAccess
Open access
ICDE2018.pdfAuthor preprint1.03 MBView/Open

Bookmark and Share SFX Query

All documents in ORBilu are protected by a user license.