{"title":"非易失性存储器上二叉搜索树再平衡的一种嫁接算法","authors":"Yun-Fei Liu, Po-Chun Huang","doi":"10.1109/ICCPS.2016.7751133","DOIUrl":null,"url":null,"abstract":"Recently, the rapid development and application of diversified embedded systems, such as cyber-physical systems (CPSes) and Internet-of-things (IoTs), is widely observed. Because embedded systems are often powered by batteries, the energy efficiency has become a key issue in system development. As a result, various energy-efficient nonvolatile memories, such as phase-change memory (PCM) or spin-torque-transfer random-access memory (STT-RAM), have become attractive choices for the storage of data and accompanying metadata (such as the index information of data) on embedded systems. However, a write operation takes much more (7X-10X) time and energy than a read operation does on many nonvolatile memories. This makes existing dictionary structures, e.g., the well-known red-black tree or B-tree, not preferred for metadata management nonvolatile memories. Although some efficient out-place update schemes such as partial Day-Stout-Warren (pDSW) algorithm have been proposed for tree rebalancing, they could result in serious fragmentation of space usage and garbage collection overheads. In this paper, we proposed a novel approach called Graft-based Algorithm for Tree Rebalancing (GART) to efficiently rebalance search trees with reduced garbage collection overheads. Just like the pDSW algorithm, although GART algorithm does not guarantee the worst-case height og the search tree, it provides an efficient means to ensure good memory access time on tree querying in most cases.","PeriodicalId":348961,"journal":{"name":"2016 International Conference On Communication Problem-Solving (ICCP)","volume":"127 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"GART: A graft algorithm to rebalance binary search trees on nonvolatile memories\",\"authors\":\"Yun-Fei Liu, Po-Chun Huang\",\"doi\":\"10.1109/ICCPS.2016.7751133\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Recently, the rapid development and application of diversified embedded systems, such as cyber-physical systems (CPSes) and Internet-of-things (IoTs), is widely observed. Because embedded systems are often powered by batteries, the energy efficiency has become a key issue in system development. As a result, various energy-efficient nonvolatile memories, such as phase-change memory (PCM) or spin-torque-transfer random-access memory (STT-RAM), have become attractive choices for the storage of data and accompanying metadata (such as the index information of data) on embedded systems. However, a write operation takes much more (7X-10X) time and energy than a read operation does on many nonvolatile memories. This makes existing dictionary structures, e.g., the well-known red-black tree or B-tree, not preferred for metadata management nonvolatile memories. Although some efficient out-place update schemes such as partial Day-Stout-Warren (pDSW) algorithm have been proposed for tree rebalancing, they could result in serious fragmentation of space usage and garbage collection overheads. In this paper, we proposed a novel approach called Graft-based Algorithm for Tree Rebalancing (GART) to efficiently rebalance search trees with reduced garbage collection overheads. Just like the pDSW algorithm, although GART algorithm does not guarantee the worst-case height og the search tree, it provides an efficient means to ensure good memory access time on tree querying in most cases.\",\"PeriodicalId\":348961,\"journal\":{\"name\":\"2016 International Conference On Communication Problem-Solving (ICCP)\",\"volume\":\"127 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 International Conference On Communication Problem-Solving (ICCP)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCPS.2016.7751133\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 International Conference On Communication Problem-Solving (ICCP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCPS.2016.7751133","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
GART: A graft algorithm to rebalance binary search trees on nonvolatile memories
Recently, the rapid development and application of diversified embedded systems, such as cyber-physical systems (CPSes) and Internet-of-things (IoTs), is widely observed. Because embedded systems are often powered by batteries, the energy efficiency has become a key issue in system development. As a result, various energy-efficient nonvolatile memories, such as phase-change memory (PCM) or spin-torque-transfer random-access memory (STT-RAM), have become attractive choices for the storage of data and accompanying metadata (such as the index information of data) on embedded systems. However, a write operation takes much more (7X-10X) time and energy than a read operation does on many nonvolatile memories. This makes existing dictionary structures, e.g., the well-known red-black tree or B-tree, not preferred for metadata management nonvolatile memories. Although some efficient out-place update schemes such as partial Day-Stout-Warren (pDSW) algorithm have been proposed for tree rebalancing, they could result in serious fragmentation of space usage and garbage collection overheads. In this paper, we proposed a novel approach called Graft-based Algorithm for Tree Rebalancing (GART) to efficiently rebalance search trees with reduced garbage collection overheads. Just like the pDSW algorithm, although GART algorithm does not guarantee the worst-case height og the search tree, it provides an efficient means to ensure good memory access time on tree querying in most cases.