The BW-Tree: A B-tree for New Hardware Platforms
Presented by: Sidharth Raj
Hardware Platforms Presented by: Sidharth Raj An Alternate Title - - PowerPoint PPT Presentation
The BW-Tree: A B-tree for New Hardware Platforms Presented by: Sidharth Raj An Alternate Title The BW -Tree: A Latch-free, Log- structured B-tree for Multi-core Machines with Large Main Memories and Flash Storage BW = Buzz Word
Presented by: Sidharth Raj
Layer
Layer
Layer
B-tree layer
RAM as necessary
structured storage
exploiting a large number of cores by addressing at least two important aspects:….” What are the aspects that have to be addressed with multi-cores? Why are the aspects not discussed in the KV stores we’ve studied so far?
a page to storage).
Page P
PID Physi sical Address ss
P
Mapping Table
Δ: Insert record 50
Δ: Delete te reco cord 48
compare and swap instructions to update state.” Study the CAS instruction and explain how it enables latch-free (lock-free) memory access?
current address in the mapping table – if they match, the instruction over-writes the delta record
M
Compa mpareAn AndSwa dSwap(& (&M, M, 20, 30)
Address Compare Value New Value
Compar mpareAndSwap AndSwap(&M (&M, 20, 40)
update to an existing page), not via update-in-place (updating the existing page memory).” What does the delta actually refer to?
node links.” Explain the benefit of introducing the indirection (the mapping table).
to the root of the tree.
downward “search” pointers between Bw-tree nodes are PIDs, not physical pointers.” Explain how the tree is stored on the disk or/and in the memory.