下記の論文紹介です。Thesis introduction:
Se Kwon Lee, Jayashree Mohan, Sanidhya Kashyap, Taesoo Kim, and Vijay Chidambaram. 2019. Recipe: converting concurrent DRAM indexes to persistent-memory indexes. In Proceedings of the 27th ACM Symposium on Operating Systems Principles (SOSP ’19). Association for Computing Machinery, New York, NY, USA, 462–477. DOI:https://doi.org/10.1145/3341301.3359635
IT勉強会 Anatomy of IT Study groups, seminars, conferences in Japan
Thesis introduction "RECIPE : Converting Concurrent DRAM Indexes to Persistent-Memory Indexes. "
1. Se Kwon Lee et al, “RECIPE:
Converting Concurrent DRAM
Indexes to Persistent-Memory
Indexes”
SOSP 2019
データベースコア輪読会、第2回、2020/04/21
東京⼤学⼤学院情報理⼯学研究科 吉岡弘隆
hyoshiok@tkl.iis.u-tokyo.ac.jp @hyoshiok
1
2. 概要
• DRAM IndexをPersistent-Memory (PM 不揮発性メモリ) Index
に変換することを提案している
• DRAM IndexをPM Indexの変換する時の条件を⽰し、事例とし
て次のデータ構造をPMを利⽤したものに変換した。B+ tree、
Trie、radix tree、Hash
• 変換は30⾏から200⾏で⼩規模。Intel DC Persistent Memory
で評価した。その結果、最⼤で5.2倍の性能向上を確認した。
2
3. はじめに
• Introduction
• Background
• Motivation
• The RECIPE Approach
• Testing Crash recovery of PM
• Case Studies
• Evaluation
• Discussion
• Related Work
• conclusion
3
4. Introduction
• Persistent Memory (PM、不揮発性メモリ)
• Intel DC Persistent Memory, 2019 April
• 様々な研究がされている
• FAST & FAIR, Level Hashing, CCeH, NV-Tree, wB+Tree, WOART, FPTree
• PM向けのindexの設計は複雑である。(バグの温床)
• RECIPE; DRAM indexが正しければ、RECIPEアプローチで正しく変換
したものも正しい。
• 例えば、以前に挿⼊したキーの値が失われていないならば、検索はそれを返す。
• consistencyはcrash recovery と関連性が深い
• DRAM indexをPM indexに変換するのはPM indexをゼロから作るより
複雑ではない。障害回復⽤の新規のアルゴリズムが必要となるわけで
はない。
4
5. RECIPEによるPM Index構築の利点
• DRAM indexを変更するので複雑ではない
• もとのDRAM indexが⾼性能ならば、その性能をそのまま受け
継ぐ
• 5つのDRAM indexをPM indexに変換してみた
5
DRAM
index
Data structure RECIPE
condition
lines lines core lines
modified
CLHT Hash Table #1 12.6K 2.8K 30(1%)
HOT Trie #1 36K 2K 38(2%)
BwTree B+Tree #2 13K 5.2K 85(1.6%)
ART Radix Tree #3 4.5K 1.5K 52(3.4%)
Masstree B+Tree & Trie #3 25K 2.2K 200(9%)