benclmnt / papers

Summary of my readings
1 stars 0 forks source link

Staring into the Abyss : An Evaluation of Concurrency Control with 1000 Cores (X.Yu, VLDB 2014) #1

Open benclmnt opened 2 years ago

benclmnt commented 2 years ago

Main Idea

Test whether disk-oriented concurrency control algorithms would scale on extreme many-core chips that enables running hundreds of threads in parallel.

Main Finding

TL;DR: All current concurrency control suffers from different issues with extreme parallelism.

image

Read-Only Workload

Write-Intensive Workload

medium-contention high-contention
image image

System used

A custom main memory OLTP engine with pluggable lock manager running on Graphite, a CPU simulator (single-socket tile-based CPU with shared L2 cache communicating over 2D mesh network). All transactions are using stored procedures to remove client network latency.

7 Concurrency Control are analysed (3 lock-based, 4 lock-free)

  1. 2PL with Lock Detection (DL_DETECT)
  2. 2PL with Non-waiting Deadlock Prevention (NO_WAIT)
  3. 2PL with Waiting Deadlock Prevention (WAIT_DIE)
  4. Basic T/O (TIMESTAMP)
  5. Multi-version Concurrency Control (MVCC)
  6. Optimistic Concurrency Control (OCC)
  7. T/O with Partition-level Locking (H-STORE)

Workloads Evaluated

  1. YCSB (Yahoo! Cloud Serving Benchmark) with variation in contention:
    1. Uniform Access
    2. Medium contention: ~40% of all transactions access 10% of the tuples
    3. High contention: ~60% of all transactions access 10% of the tuples.
  2. TPC-C using only Payment and NewOrder transactions.