Abstract
Non-volatile memory is emerging as a promising candidate for building efficient data-intensive OLTP systems, due to its advantages in high area density and low energy consumption. Systems now are able to store large datasets in main memory. Because OLTP workloads typically exhibit skew access patterns, the system must maintain an eviction order policy to move the cold data to the economical secondary storage. Existing cold data identification schemes generally employ the linear lists to track the least recently used data. However frequently update cost in these schemes is extremely high which is unsuitable to identify cold data from large scale of memory-resident data. We propose an efficient cold data identification scheme named eLRU. eLRU is a trie-based LRU which is able to fast track billions of tuples. We implemented our eLRU proposal and performed a series of experiments across a range of database sizes, workload skews and read/write mixes. Our results show that eLRU has a 2\(\times \)–4\(\times \) performance advantage over the current LRU-based cold data identification schemes.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
LRU-WPAM (LRU-With-Prediction-And-Migration).
References
Akinaga, H., Shima, H.: Resistive random access memory (ReRAM) based on metal oxides. Proc. IEEE 98(12), 2237–2251 (2010)
Boncz, P.A., Zukowski, M., Nes, N.J.: MonetDB/X100: hyper-pipelining query execution. CIDR 5, 225–237 (2005)
Burr, G.W., Kurdi, B.N., Scott, J.C., Lam, C.H., Gopalakrishnan, K., Shenoy, R.S.: Overview of candidate device technologies for storage-class memory. IBM J. Res. Dev. 52(4.5), 449–464 (2008)
Chen, K., Jin, P., Yue, L.: A novel page replacement algorithm for the hybrid memory architecture involving PCM and DRAM. In: Hsu, C.-H., Shi, X., Salapura, V. (eds.) NPC 2014. LNCS, vol. 8707, pp. 108–119. Springer, Heidelberg (2014)
Chen, K., Jin, P., Yue, L.: Efficient buffer management for PCM-enhanced hybrid memory architecture. In: Cheng, R., Cui, B., Zhang, Z., Cai, R., Xu, J. (eds.) Web Technologies and Applications. LNCS, vol. 9313, pp. 29–40. Springer, Cham (2015)
Chen, S., Gibbons, P.B., Nath, S.: Rethinking database algorithms for phase change memory. In: CIDR. pp. 21–31 (2011)
Cooper, B.F., Silberstein, A., Tam, E., Ramakrishnan, R., Sears, R.: Benchmarking cloud serving systems with YCSB. In: Proceedings of the 1st ACM Symposium on Cloud Computing, pp. 143–154. ACM (2010)
Diaconu, C., Freedman, C., Ismert, E., Larson, P.A., Mittal, P., Stonecipher, R., Verma, N., Zwilling, M.: Hekaton: SQL server’s memory-optimized OLTP engine. In: SIGMOD, pp. 1243–1254. ACM (2013)
Driskill-Smith, A.: Latest advances and future prospects of STT-RAM. In: Non-Volatile Memories Workshop (2010)
Färber, F., Cha, S.K., Primsch, J., Bornhövd, C., Sigg, S., Lehner, W.: SAP HANA database: data management for modern business applications. SIGMOD Rec. 40(4), 45–51 (2012)
Fredkin, E.: Trie memory. Commun. ACM 3(9), 490–499 (1960)
Kallman, R., Kimura, H., Natkins, J., Pavlo, A., Rasin, A., Zdonik, S., Jones, E.P.C., Madden, S., Stonebraker, M., Zhang, Y.: H-store: a high-performance, distributed main memory transaction processing system. VlDB 1(2), 1496–1499 (2008)
Kemper, A., Neumann, T.: Hyper: a hybrid OLTP and OLAP main memory database system based on virtual memory snapshots. In: ICDE, pp. 195–206 (2011)
Lee, D., Choi, J., Kim, J.H., Noh, S.H., Min, S.L., Cho, Y., Kim, C.S.: LRFU: a spectrum of policies that subsumes the least recently used and least frequently used policies. TOC 12, 1352–1361 (2001)
Lee, S., Bahn, H., Noh, S.H.: Characterizing memory write references for efficient management of hybrid PCM and DRAM memory. In: MASCOTS, pp. 168–175. IEEE (2011)
Mandelman, J.A., Dennard, R.H., Bronner, G.B., DeBrosse, J.K., Divakaruni, R., Li, Y., Radens, C.J.: Challenges and future directions for the scaling of dynamic random-access memory (DRAM). IBM J. Res. Dev. 46(2.3), 187–212 (2002)
Mellor, C.: HP 100 TB memristor drives by 2018 if youre lucky, admits tech titan. The Register (2013)
Memcached. http://memcached.org
Mueller, W., Aichmayr, G., Bergner, W., Erben, E., Hecht, T., Kapteyn, C., Kersch, A., Kudelka, S., Lau, F., Luetzen, J., et al.: Challenges for the DRAM cell scaling to 40 nm. In: IEDM (2005)
Ousterhout, J., Agrawal, P., Erickson, D., Kozyrakis, C., Leverich, J., Mazires, D., Mitra, S., Narayanan, A., Parulkar, G., Rosenblum, M.: The case for RAMClouds: scalable high-performance storage entirely in DRAM. ACM SIGOPS Oper. Syst. Rev. 43(4), 92–105 (2009)
Raoux, S., Burr, G.W., Breitwisch, M.J., Rettner, C.T., Chen, Y.C., Shelby, R.M., Salinga, M., Krebs, D., Chen, S.H., Lung, H.L., et al.: Phase-change random access memory: a scalable technology. IBM J. Res. Dev. 52(4.5), 465–479 (2008)
Robinson, J.T., Devarakonda, M.V.: Data cache management using frequency-based replacement. J. ACM 18, 134–142 (1990)
Seok, H., Park, Y., Park, K.W., Park, K.H.: Efficient page caching algorithm with prediction and migration for a hybrid main memory. ACM SIGAPP Appl. Comput. Rev. 11(4), 38–48 (2011)
Strukov, D.B., Snider, G.S., Stewart, D.R., Williams, R.S.: The missing memristor found. Nature 453(7191), 80–83 (2008)
Oracle TimesTen. http://www.oracle.com
VoltDB. http://www.voltdb.com
Acknowledgments
This work is supported by the National Natural Science Foundation of China (Grant No. 61232003, 61327902), the Beijing Municipal Science and Technology Commission of China (Grant No. D151100000815003).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Wang, B., Shu, J. (2016). Making Cold Data Identification Efficient in Non-volatile Memory Systems. In: Li, F., Shim, K., Zheng, K., Liu, G. (eds) Web Technologies and Applications. APWeb 2016. Lecture Notes in Computer Science(), vol 9932. Springer, Cham. https://doi.org/10.1007/978-3-319-45817-5_24
Download citation
DOI: https://doi.org/10.1007/978-3-319-45817-5_24
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-45816-8
Online ISBN: 978-3-319-45817-5
eBook Packages: Computer ScienceComputer Science (R0)