上海交通大学:Fast In-memory Transaction Processing using RDMA and HTM

DrIM Fast In-memory Transaction Processing using RDMA and HTM XINDA WEL, JIAXIN SHL YANZHE CHEN RONG CHEN,HAB○CHEN Institute of Parallel and distributed Systems Shanghai Jiao tong University, China SOSP 15 The 25th ACM Symposium on Operating Systems Principles
XINDA WEI, JIAXIN SHI, YANZHE CHEN, RONG CHEN, HAIBO CHEN Institute of Parallel and Distributed Systems Shanghai Jiao Tong University, China Fast In-memory Transaction Processing using RDMA and HTM DrTM

Transaction: Key Pillar for Many Systems Alibaba. com S9.3 billion/day Demand speedy distributed Transaction Over large data volumes VPaL 9.56 million 6 million 12306] tickets/day payments/day 2
2 Transaction: Key Pillar for Many Systems Demand Speedy Distributed Transaction Over Large Data Volumes $9.3 billion/day 9.56 million tickets/day 11. 6 million payments/day

High COSt for Distributed TX Many scalable systems have low performance a Usually 10s-100s of thousands of TX/second n High COST(config. that outperform single thread o e.g., HStore, Calvin SIGMOD'12 Emerging speedy tx systems not scale-out o Achieve over 100s of thousands TX/second o e.g., Silo SosP'13, DBXEurOSys'14 Dilemma single-node perf. vs. scale-ouf i Salability But at what Cost HotoS 2015
3 High COST for Distributed TX Many scalable systems have low performance □ Usually 10s~100s of thousands of TX/second □ High COST1 (config. that outperform single thread) □ e.g., HStore, CalvinSIGMOD’12 1 Salability! But at what Cost? HotOS 2015 Dilemma: single-node perf. vs. scale-out Emerging speedy TX systems not scale-out □ Achieve over 100s of thousands TX/second □ e.g., SiloSOSP’13, DBXEuroSys’14

Why(Distributed TXs are slow? Only 4% of wall-clock time spent on useful data processing while the rest is occupied with buffer pools, locking, latching, recovery. Michael stone braker Useful Work 4% Buffer Pool Recovery 24% 24% Latching Locking% 24% i"The Traditional RDBMS Wisdom is All Wrong
4 Why (Distributed) TXs are Slow? Only 4% of wall-clock time spent on useful data processing, while the rest is occupied with buffer pools, locking, latching, recovery. 1 -- Michael Stonebraker 1 “The Traditional RDBMS Wisdom is All Wrong

Opportunities: (not so) New HW Features HTM: Hardware Transaction Memory n Allow a group of load& store instructions to execute in an atomic, consistent and isolated (ACl)way RDMA: Remote Direct Memory Access n Provide cross-machine accesses with high speed, low latency and low CPU overhead Rethink the design of low-COST scalable in-memory transaction systems
5 RDMA: Remote Direct Memory Access □ Provide cross-machine accesses with high speed, low latency and low CPU overhead Rethink the design of low-COST scalable in-memory transaction systems Opportunities: (not so) New HW Features HTM: Hardware Transaction Memory □ Allow a group of load & store instructions to execute in an atomic, consistent and isolated (ACI) way

Opportunities with htm& RDma HTM: Hardware Transaction Memory a non-transactional code will unconditionally abort a transaction when their accesses conflict Strong RDMA: Remote Direct Memory Access Atomicity
HTM: Hardware Transaction Memory 6 Opportunities with HTM & RDMA RDMA: Remote Direct Memory Access a non-transactional code will unconditionally abort a transaction when their accesses conflict Strong Atomicity

Opportunities with htm& RDma HTM: Hardware Transaction Memory a non-transactional code will unconditionally abort a transaction when their accesses conflict Strong RDMA: Remote Direct Memory Access Atomicity one-sided RDMa operations are cache-coherent with local accesses Strong Consistency
HTM: Hardware Transaction Memory 8 Opportunities with HTM & RDMA RDMA: Remote Direct Memory Access a non-transactional code will unconditionally abort a transaction when their accesses conflict one-sided RDMA operations are cache-coherent with local accesses Strong Atomicity Strong Consistency

Opportunities with htm& RDma HTM: Hardware Transaction Memory a non-transactional code will unconditionally abort a transaction when their accesses conflict RDMA: Remote Direct Memory Access one-sided RDMa operations are cache-coherent with local accesses HTM Strong RDMA Strong Atomicity Consistency DMA ops will abort conflictIng HTM TX
HTM: Hardware Transaction Memory 8 Opportunities with HTM & RDMA RDMA: Remote Direct Memory Access HTM Strong Atomicity RDMA Strong Consistency RDMA ops will abort conflicting HTM TX a non-transactional code will unconditionally abort a transaction when their accesses conflict one-sided RDMA operations are cache-coherent with local accesses

Opportunities with htm& RDma HTM: Hardware Transaction Memory a non-transactional code will unconditionally abort a transaction when their accesses conflict RDMA: Remote Direct Memory Access one-sided RDMa operations are cache-coherent with local accesses HTM Strong Atomicity Consistency> DMA ops will abort conflictIng HTM TX Basis for distributed tm
HTM: Hardware Transaction Memory 9 Opportunities with HTM & RDMA RDMA: Remote Direct Memory Access Basis for Distributed TM HTM Strong Atomicity RDMA Strong Consistency RDMA ops will abort conflicting HTM TX a non-transactional code will unconditionally abort a transaction when their accesses conflict one-sided RDMA operations are cache-coherent with local accesses

Overall Idea Use htm's acl properties for local TX execution Use one-sided rdma to glue multiple HTM TXs Useful In- Memory Logging Work 4% with Nvm Buffer Pool Recovery 24% 24% atching Use hTMs acl Locking% features n: Memory、24% Store One-sided RDMA Ops 10
10 Use HTM’s ACI properties for local TX execution Use one-sided RDMA to glue multiple HTM TXs In-Memory Store In-Memory Logging with NVM One-sided RDMA Ops Use HTM’s ACI features Overall Idea
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 《数据库技术》课程教学资源(PPT课件讲稿)Lecture 5 实体关系模型 Entity-Relationship Model.pptx
- 《生物化学》课程教学资源(PPT课件讲稿)第三章 维生素 vitamin.ppt
- 《有机化学》课程教学资源(PPT课件讲稿)第二章 开链烃.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)现代合成与分离分析化学(主讲:刘文杰).ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第五章 核磁共振波谱分析(Nuclear Magnetic Resonance spectroscopy, NMR).ppt
- 《普通化学》课程教学课件(PPT讲稿)第三章 电极电势与电池电动势(3.1)电极电势.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第二章 光学分析法导论 Introduce to Optical Analysis.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第十章 质谱分析法(Mass Spectrometry, MS).ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第十章 DNA的生物合成(Biosynthesis of DNA).ppt
- 合肥学院:分析测试中心仪器汇报(PPT讲稿)原子吸收光谱仪.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)第六章 红外吸收光谱(Infrared absorption spectroscopy, IR).ppt
- 《结晶学基础》课程教学资源(PPT课件讲稿)第9章 晶体化学基础.pps
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)原子发射光谱法.ppt
- 枣庄学院:化学工程与工艺专业(本科)课程教学大纲汇编(合集).doc
- 《结构化学》课程电子教案(PPT教学课件)第十讲 空间群(二)非点式操作.ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第四章 糖代谢 Metabolism of Carbohydrates.ppt
- 中国科学技术大学:《物理化学》课程教学资源(PPT课件讲稿)统计热力学初步(主讲:侯中怀)Lecture 2 Boltzmann分布.ppt
- 《生物化学》课程电子教案(PPT教学课件)第十章 氨基酸代谢.ppt
- 《生物化学》课程教学资源(PPT课件讲稿)第十二章 蛋白质的生物合成(翻译)Protein Biosynthesis,Translation.ppt
- 《化学》课程教学资源(PPT课件讲稿)元素周期表.ppt
- 楚雄师范学院:《有机化学》课程电子教案(PPT课件讲稿)第十七章 周环反应.ppt
- 塔里木大学:《现代仪器分析 Modern Instrumental Analysis》课程教学资源(PPT课件讲稿)高效液相色谱法 High Performance Liquid Chromatography.ppt
- 《普通化学》课程教学资源(PPT课件讲稿)第6章 无机化合物.ppt
- 《有机化学》课程电子教案(PPT课件)第十八章 周环反应.ppt
- 分析化学(滴定分析法概论)PPT课件.ppt
- 化学热力学基础 (thermodynamics)PPT课件.ppt
- 《分析化学》:金纳米颗粒聚集以及金纳米探针——微阵列技术研究进展(军事医学科学院:逄键涛、文思远、王升启).pdf
- 《分析化学》:蛋白质芯片及其分析应用新进展(武汉大学化学与分子科学学院:梁建功、何治柯).pdf
- 高等教育出版社:《配位化学进展》教材电子书(主编:游效曾、孟庆金、韩万书)Progress in Coordination Chemistry.pdf
- 上海交通大学:《材料化学》课程教学资源(教学大纲).pdf
- 复旦大学:《物理化学》课程教学大纲 Physical Chemistry(国家级精品课程).doc
- 复旦大学化学系国家级精品课程:《谱学导论》教学大纲(范康年).doc
- 复旦大学:《谱学导论》课程教学资源(PPT课件)第八章 电子能谱.ppt
- 天津农学院:大学基础化学实验——《分析化学》实验部分(共十七个).ppt
- 中国科技大学化学系化学发光实验室:《化学发光与电致化学发光》PPT教学课件(崔华).ppt
- 泉州师范学院化学与生命科学学院专业基础课:《无机化学——过渡金属元素》PPT教学课件.ppt
- 复旦大学精品课程:《谱学导论》PPT课件_第八章 电子能谱.ppt
- 南开大学环境科学与工程学院:有机污染物的电化学氧化 Electrochemical Oxidation of organic pollutants(鲁金凤).ppt
- 西安建筑科技大学:第十章 熔盐电解(PPT课件).ppt
- 华南农业大学应用化学专业:《无机化学》PPT课件_第八章 卤素 Halogen(刘晓瑭).ppt