An FPGA-Based Performance Analysis of Hardware Caching Techniques for Blockchain Key-Value Database
Source abstract
Abstract
The speedy advancement in wireless communication technologies provides considerable development to enable smart cities with applications such as Intelligent Transport Systems (ITS) and the Internet of Medical Things (IoMT). Blockchain is an emerging technology that provides a secure and distributed data storage mechanism useful for smart city applications. The full nodes in the Blockchain contain a record of all the transactions and data blocks of the Blockchain users. As the number of full nodes is less and the number of Blockchain users is high, there is a huge load on the full nodes for accessing and verifying the data by the Blockchain users. Efficient hardware caching techniques are needed to decrease the data access delay. In this paper, we implement different caching techniques on the Field-Programmable Gate Array (FPGA) Network Interface Card (NIC) and analyze their performance for the key-value store caching in the Blockchain. We design the 2-way and 4-way caching techniques on Block Random-Access Memory (BRAM) and compare them with the conventional direct-mapped caching technique in terms of cache hits and cache misses. The improvements in the hit ratio of the 2-way set-associative cache technique with respect to the direct-mapped cache technique for 10 K, 25 K, and 50 K addresses are 0.8%, 0.77%, and 1.67%, respectively. On the other hand, for the same sets of addresses, the hit rate improvement of the 4-way set-associative cache technique with respect to the direct-mapped cache technique is 0.92%, 2.01%, and 2.4%, respectively. The improvements in hit rate for large data sets show that 2-way and 4-way set-associative cache techniques perform better than the direct-mapped cache technique for caching systems.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Caching and Content Delivery · Advanced Wireless Communication Technologies · Advanced Data and IoT Technologies
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Electrical and Computer Engineering, COMSATS University Islamabad, Islamabad 4550, Pakistan
Information Systems Department, College of Computer and Information Sciences, Imam Mohammad Ibn Saud Islamic University (IMSIU), Riyadh 11432, Saudi Arabia
Funding
Deanship of Scientific Research at Imam Mohammad Ibn Saud Islamic University
References (31)
Show source-provided references
1. Toward 6G Networks: Use Cases and Technologies10.1109/MCOM.001.1900411 ↗
2. UAV-supported Clustered NOMA for 6G-enabled Internet of Things: Trajectory Planning and Resource Allocation10.1109/JIOT.2020.3004432 ↗
3. Data analytics for Cooperative Intelligent Transport Systems
4. Envisioning Device-to-Device Communications in 6G10.1109/MNET.001.1900652 ↗
5. A Vision of 6G Wireless Systems: Applications, Trends, Technologies, and Open Research Problems10.1109/MNET.001.1900287 ↗
6. Energy-Efficient Fog Computing for 6G-Enabled Massive IoT: Recent Trends and Future Opportunities10.1109/JIOT.2021.3068056 ↗
7. AI-Based Joint Optimization of QoS and Security for 6G Energy Harvesting Internet of Things10.1109/JIOT.2020.2982417 ↗
8. Reliable Communications for Cybertwin driven 6G IoVs using Intelligent Reflecting Surfaces10.1109/TII.2022.3151773 ↗
9. Vehicular Communications for ITS: Standardization and Challenges10.1109/MCOMSTD.001.1900044 ↗
10. Ambient Intelligence assisted fog computing for industrial IoT applications10.1016/j.comcom.2022.09.024 ↗
11. Malik, U.M., Javed, M.A., Frnda, J., Rozhon, J., and Khan, W.U. (2022). Efficient Matching-Based Parallel Task Offloading in IoT Networks. Sensors, 22.10.3390/s22186906 ↗
12. On the Physical Layer Security of Federated Learning based IoMT Networks10.1109/JBHI.2022.3173947 ↗
13. Cooperative Task Offloading and Block Mining in Blockchain-based Edge Computing with Multi-agent Deep Reinforcement Learning10.1109/TMC.2021.3120050 ↗
14. Blockchain Meets Edge Computing: Stackelberg Game and Double Auction Based Task Offloading for Mobile Blockchain10.1109/TVT.2020.2982000 ↗
15. Efficient Mining Cluster Selection for Blockchain-Based Cellular V2X Communications10.1109/TITS.2020.3006176 ↗
16. Privacy-Preserved Task Offloading in Mobile Blockchain with Deep Reinforcement Learning10.1109/TNSM.2020.3010967 ↗
17. Zhang, K., Cao, J., Leng, S., Shao, C., and Zhang, Y. (2019, January 9–11). Mining Task Offloading in Mobile Edge Computing Empowered Blockchain. Proceedings of the 2019 IEEE International Conference on Smart Internet of Things (SmartIoT), Tianjin, China.10.1109/SmartIoT.2019.00043 ↗
18. Sakakibara, Y., Tokusashi, Y., Morishima, S., and Matsutani, H. (2018, January 11–13). Accelerating Blockchain Transfer System Using FPGA-Based NIC. Proceedings of the 2018 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Ubiquitous Computing & Communications, Big Data & Cloud Computing, Social Computing & Networking, Sustainable Computing & Communications (ISPA/IUCC/BDCloud/SocialCom/SustainCom), Melbourne, VI, Australia.10.1109/BDCloud.2018.00037 ↗
19. Ali, Q.E., Ahmad, N., Malik, A.H., Ali, G., and Rehman, W.U. (2018). Issues, Challenges, and Research Opportunities in Intelligent Transport System for Security and Privacy. Appl. Sci., 8.10.3390/app8101964 ↗
20. Sakakibara, Y., Nakamura, K., and Matsutani, H. (2017, January 7–9). An FPGA NIC Based Hardware Caching for Blockchain. Proceedings of the 8th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies, Bochum, Germany. HEART2017.10.1145/3120895.3120897 ↗
21. Devika, K.N., and Bhakthavatchalu, R. (2019, January 4–6). Parameterizable FPGA Implementation of SHA-256 using Blockchain Concept. Proceedings of the 2019 International Conference on Communication and Signal Processing, (ICCSP), Chennai, India.10.1109/ICCSP.2019.8698069 ↗
22. Mahony, A.O., and Popovici, E. (2019, January 17–18). A Systematic Review of Blockchain Hardware Acceleration Architectures. Proceedings of the 2019 30th Irish Signals and Systems Conference (ISSC), Maynooth, Ireland.10.1109/ISSC.2019.8904936 ↗
23. GPU accelerated blockchain over key-value database transactions10.1049/blc2.12011 ↗
24. Blockchain-Based Dynamic Key Management for Heterogeneous Intelligent Transportation Systems10.1109/JIOT.2017.2740569 ↗
25. Wu, L., Du, X., Wang, W., and Lin, B. (2018, January 5–8). An Out-of-band Authentication Scheme for Internet of Things Using Blockchain Technology. Proceedings of the 2018 International Conference on Computing, Networking and Communications (ICNC), Maui, HI, USA.10.1109/ICCNC.2018.8390280 ↗
26. Aldweesh, A., Alharby, M., Mehrnezhad, M., and Van Moorsel, A. (2019, January 14–17). OpBench: A CPU Performance Benchmark for Ethereum Smart Contract Operation Code. Proceedings of the 2019 IEEE International Conference on Blockchain (Blockchain), Atlanta, GA, USA.10.1109/Blockchain.2019.00043 ↗
27. Kuznetsov, A., Shekhanin, K., Kolhatin, A., Kovalchuk, D., Babenko, V., and Perevozova, I. (2019, January 18–20). Performance of Hash Algorithms on GPUs for Use in Blockchain. Proceedings of the 2019 IEEE International Conference on Advanced Trends in Information Theory (ATIT), Kyiv, Ukraine.10.1109/ATIT49449.2019.9030442 ↗
28. Sanka, A.I., and Cheung, R.C. (2018, January 18–20). Efficient High Performance FPGA based NoSQL Caching System for Blockchain Scalability and Throughput Improvement. Proceedings of the 2018 26th International Conference on Systems Engineering (ICSEng), Sydney, NSW, Australia.10.1109/ICSENG.2018.8638204 ↗
29. Thomas, D.B., Howes, L., and Luk, W. (2009, January 24–26). A Comparison of CPUs, GPUs, FPGAs, and Massively Parallel Processor Arrays for Random Number Generation. Proceedings of the ACM/SIGDA International Symposium on Field Programmable Gate Arrays, Seaside, CA, USA. FPGA’09.10.1145/1508128.1508139 ↗
30. Ballet, A., Pereira, O., and Standaert, F.X. (2019). Mining for Blockchains Using Commodity Hardware. [Master’s Thesis, University Catholique de Louvain].
31. (2023, February 01). Bitcoind. Available online: https://en.bitcoin.it/wiki/Bitcoind.