ESL: A High-Performance Skiplist with Express Lane
Source abstract
Abstract
With the increasing capacity and cost-efficiency of DRAM in multi-core environments, in-memory databases have emerged as fundamental solutions for delivering high performance. The index structure is a crucial component of the in-memory database, which, leveraging fast access to DRAM, plays an important role in the performance improvement and scalability of in-memory databases. A skiplist is one of the most widely used in-memory index structures and it has been adopted by popular databases. However, skiplists suffer from poor performance due to their structural limitations. In this work, we propose ESL, a high-performance and scalable skiplist. ESL efficiently enhances the performance of traverse operations by optimizing index levels for the CPU cache. With CPU cache-optimized index levels, we synergistically leverage a combination of exponential and linear searches. In addition, ESL reduces synchronization overhead by updating the index levels asynchronously, while tolerating inconsistencies. In our YCSB evaluation, ESL improves throughput by up to 2.8× over other skiplists in high-level evaluations. ESL also shows lower tail latency than other skiplists by up to 35×. Also, ESL consistently shows higher throughput in our real-world workload evaluation.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Cloud Computing and Resource Management · Distributed systems and fault tolerance · Advanced Data Storage Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Engineering, Konkuk University, Seoul 05029, Republic of Korea
Department of Smart ICT Convergence, Konkuk University, Seoul 05029, Republic of Korea
Division of Computer Engineering, Hankuk University of Foreign Studies, Yongin 17035, Republic of Korea
Funding
Konkuk University
References (52)
Show source-provided references
1. Wang, T., and Johnson, R. (2014, January 1–5). Scalable Logging Through Emerging Non-volatile Memory. Proceedings of the 40th International Conference on Very Large Data Bases (VLDB), Hangzhou, China.
2. Arulraj, J., Perron, M., and Pavlo, A. (2016, January 5–9). Write-behind Logging. Proceedings of the 42nd International Conference on Very Large Data Bases (VLDB), New Delhi, India.
3. Oh, G., Kim, S., Lee, S.W., and Moon, B. (September, January 31). SQLite Optimization with Phase Change Memory for Mobile Applications. Proceedings of the 41st International Conference on Very Large Data Bases (VLDB), Kohala Coast, HI, USA.
4. Park, J.H., Oh, G., and Lee, S.W. (September, January 28). SQL Statement Logging for Making SQLite Truly Lite. Proceedings of the 43rd International Conference on Very Large Data Bases (VLDB), Munich, Germany.
5. Seo, J., Kim, W.H., Baek, W., Nam, B., and Noh, S.H. (2017, January 8–12). Failure-Atomic Slotted Paging for Persistent Memory. Proceedings of the 22nd ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Xi’an, China.10.1145/3037697.3037737 ↗
6. Kim, W.H., Kim, J., Baek, W., Nam, B., and Won, Y. (2016, January 2–6). NVWAL: Exploiting NVRAM in Write-Ahead Logging. Proceedings of the 21st ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Atlanta, GA, USA.10.1145/2872362.2872392 ↗
7. (2023, August 28). Volume of Data/Information Created, Captured, Copied, and Consumed Worldwide from 2010 to 2020, with Forecasts from 2021 to 2025. Available online: https://www.statista.com/statistics/871513/worldwide-data-created/.
8. (2023, August 28). DRAM and NAND Flash Prices Expected to Fall Further in 2Q23 Due to Weak Server Shipments and High Inventory Levels, Says TrendForce. Available online: https://www.trendforce.com/presscenter/news/20230509-11667.html.
9. Anandtech (2023, June 06). Intel Launches Optane DIMMs Up To 512GB: Apache Pass Is Here! 2018. Available online: https://www.anandtech.com/show/12828/intel-launches-optane-dimms-up-to-512gb-apache-pass-is-here.
10. CXL Consortium (2023, July 01). Compute Express Link: The Breakthrough CPU-to-Device Interconnect 2020. Available online: https://www.computeexpresslink.org/.
11. Server Engineering Insights for Large-Scale Online Services10.1109/MM.2010.73 ↗
12. (2023, August 28). Spec CPU2016 Results. Available online: https://www.spec.org/cpu2006/results/.
13. (2023, August 28). Spec CPU2017 Results. Available online: https://www.spec.org/cpu2017/results/.
14. (2023, August 28). 50 Years of Microprocessor Trend Data. Available online: https://github.com/karlrupp/microprocessor-trend-data.
15. Efficient Locking for Concurrent Operations on B-Trees10.1145/319628.319663 ↗
16. Rao, J., and Ross, K.A. (2000, January 16–18). Making B+- Trees Cache Conscious in Main Memory. Proceedings of the 2000 ACM SIGMOD/PODS Conference, Dallas, TX, USA.10.1145/342009.335449 ↗
17. Hwang, D., Kim, W.H., Won, Y., and Nam, B. (2018, January 12–15). Endurable Transient Inconsistency in Byte-addressable Persistent B+-tree. Proceedings of the 16th USENIX Conference on File and Storage Technologies (FAST), Oakland, CA, USA.
18. LB+-Trees: Optimizing Persistent Index Performance on 3DXPoint Memory10.14778/3384345.3384355 ↗
19. Skip Lists: A Probabilistic Alternative to Balanced Trees10.1145/78973.78977 ↗
20. Google (2023, July 20). LevelDB. Available online: https://github.com/google/leveldb.
21. Facebook (2023, July 20). RocksDB. Available online: http://rocksdb.org/.
22. Apache (2023, July 20). Welcome to Apache HBase™. Available online: https://hbase.apache.org/.
23. (2023, July 20). MongoDB. Available online: https://www.mongodb.org/.
24. Cache-Sensitive Skip List: Efficient Range Queries on Modern CPUs
25. Xie, Z., Cai, Q., Jagadish, H., Ooi, B.C., and Wong, W.F. (2017, January 19–22). Parallelizing Skip Lists for In-Memory Multi-Core Database Systems. Proceedings of the 33rd IEEE International Conference on Data Engineering (ICDE), San Diego, CA, USA.10.1109/ICDE.2017.54 ↗
26. Crain, T., Gramoli, V., and Raynal, M. (2013, January 8–11). No Hot Spot Non-blocking Skip List. Proceedings of the 33rd International Conference on Distributed Computing Systems (ICDCS), Philadelphia, PA, USA.10.1109/ICDCS.2013.42 ↗
27. Daly, H., Hassan, A., Spear, M.F., and Palmieri, R. (2017, January 16–20). NUMASK: High Performance Scalable Skip List for NUMA. Proceedings of the 31st International Conference on Distributed Computing (DISC), New Orleans, LA, USA.
28. An almost optimal algorithm for unbounded searching10.1016/0020-0190(76)90071-5 ↗
29. Kim, C., Chhugani, J., Satish, N., Sedlar, E., Nguyen, A.D., Kaldewey, T., Lee, V.W., Brandt, S.A., and Dubey, P. (2010, January 6–10). FAST: Fast Architecture Sensitive Tree Search on Modern CPUs and GPUs. Proceedings of the 2010 ACM SIGMOD International Conference on Management of Data, New York, NY, USA. SIGMOD’10.10.1145/1807167.1807206 ↗
30. Blink-hash: An Adaptive Hybrid Index for In-Memory Time-Series Databases10.14778/3583140.3583143 ↗
31. Choe, J., Crotty, A., Moreshet, T., Herlihy, M., and Bahar, R.I. (2022, January 11–14). Hybrids: Cache-conscious concurrent data structures for near-memory processing architectures. Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, Philadelphia, PA, USA.10.1145/3490148.3538591 ↗
32. Kang, H., Zhao, Y., Blelloch, G.E., Dhulipala, L., Gu, Y., McGuffey, C., and Gibbons, P.B. (2023, January 16). PIM-tree: A Skew-resistant Index for Processing-in-Memory. Proceedings of the 2023 ACM Workshop on Highlights of Parallel Computing, New York, NY, USA.10.1145/3597635.3598029 ↗
33. Kraska, T., Beutel, A., Chi, E.H., Dean, J., and Polyzotis, N. (2018, January 22–27). The Case for Learned Index Structures. Proceedings of the 2018 International Conference on Management of Data, New York, NY, USA. SIGMOD’18.10.1145/3183713.3196909 ↗
34. Ding, J., Minhas, U.F., Yu, J., Wang, C., Do, J., Li, Y., Zhang, H., Chandramouli, B., Gehrke, J., and Kossmann, D. (2020, January 14–19). ALEX: An Updatable Adaptive Learned Index. Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, New York, NY, USA. SIGMOD’20.10.1145/3318464.3389711 ↗
35. PLIN: A Persistent Learned Index for Non-Volatile Memory with High Performance and Instant Recovery10.14778/3565816.3565826 ↗
36. Li, P., Hua, Y., Zuo, P., Chen, Z., and Sheng, J. (2023, January 21–23). ROLEX: A Scalable RDMA-oriented Learned Key-Value Store for Disaggregated Memory Systems. Proceedings of the 21st USENIX Conference on File and Storage Technologies (FAST 23), Santa Clara, CA, USA.
37. Mathew, A., and Min, C. (September, January 31). HydraList: A Scalable In-Memory Index Using Asynchronous Updates and Partial Replication. Proceedings of the 46th International Conference on Very Large Data Bases (VLDB), Tokyo, Japan.
38. Kim, W.H., Krishnan, R.M., Fu, X., Kashyap, S., and Min, C. (2021, January 26–29). PACTree: A High Performance Persistent Range Index Using PAC Guidelines. Proceedings of the 28th ACM Symposium on Operating Systems Principles (SOSP), Virtual.10.1145/3477132.3483589 ↗
39. Leis, V., Scheibner, F., Kemper, A., and Neumann, T. (2016, January 27). The ART of Practical Synchronization. Proceedings of the International Workshop on Data Management on New Hardware, San Francisco, CA, USA.10.1145/2933349.2933352 ↗
40. UTree: A Persistent B+-Tree with Low Tail Latency10.14778/3407790.3407850 ↗
41. Performance of Memory Reclamation for Lockless Synchronization10.1016/j.jpdc.2007.04.010 ↗
42. Structured Deferral: Synchronization via Procrastination
43. Xorshift RNGs10.18637/jss.v008.i14 ↗
44. Cooper, B.F., Silberstein, A., Tam, E., Ramakrishnan, R., and Sears, R. (2010, January 10–11). Benchmarking Cloud Serving Systems with YCSB. Proceedings of the 1st ACM Symposium on Cloud Computing (SoCC), Indianapolis, IN, USA.10.1145/1807128.1807152 ↗
45. (2023, August 23). Amazon AWS OpenStreetMap. Available online: https://registry.opendata.aws/osm/.
46. Gramoli, V. (2015, January 7–11). More Than You Ever Wanted to Know About Synchronization: Synchrobench, Measuring the Impact of the Synchronization on Concurrent Algorithms. Proceedings of the 20th ACM Symposium on Principles and Practice of Parallel Programming (PPoPP), San Francisco, CA, USA.10.1145/2688500.2688501 ↗
47. (2023, July 01). Synchrobench. Available online: https://github.com/gramoli/synchrobench.
48. (2023, August 23). Linux Perf Wiki. Available online: https://perf.wiki.kernel.org/index.php/Main_Page.
49. Write-Optimized and Consistent Skiplists for Non-Volatile Memory10.1109/ACCESS.2021.3077898 ↗
50. PhaST: Hierarchical Concurrent Log-Free Skip List for Persistent Memory10.1109/TPDS.2022.3173707 ↗
51. Kannan, S., Bhat, N., Gavrilovska, A., Arpaci-Dusseau, A., and Arpaci-Dusseau, R. (2018, January 11–13). Redesigning LSMs for Nonvolatile Memory with NoveLSM. Proceedings of the 2018 USENIX Annual Technical Conference (ATC), Boston, MA, USA.
52. Kim, W., Park, C., Kim, D., Park, H., ri Choi, Y., Sussman, A., and Nam, B. (2022, January 11–13). ListDB: Union of Write-Ahead Logs and Persistent SkipLists for Incremental Checkpointing on Persistent Memory. Proceedings of the 16th USENIX Symposium on Operating Systems Design and Implementation (OSDI 22), Carlsbad, CA, USA.