Abstract
For processors with vectorial computing units like DSP, it is very important to ensure vector load/store operations alignment of memory blocks, and minimize space wastage when making memory allocations. In this paper, we design and implement a memory management method, vector memory pool, suitable for embedded vector processors. By partitioning an entire block of memory space into many aligned vector objects and making efficiently use of vector processing units, the processing of memory manipulation library functions such as memset/memcpy is accelerated. The implementation and comparative verification of vector memory pool on RT-Thread Nano based on SWIFT DSP was completed, and the running efficiency reached a tens of times improvement compared to the original method.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Shang, Q., Liu, W.: Multi-function DSP experimental system based on TMS320VC5509. In: Proceedings of 2016 2nd International Conference on Social, Education and Management Engineering (SEME 2016), pp. 107–111. DEStech Publications (2016)
Tarasiuk, T., Szweda, M.: DSP instrument for transient monitoring. Comput. Stand. Interfaces 33(2) (2010)
Shen, J.Q., Wu, J., Zhang, Z.F., et al.: Design and implementation of binaryutilities generator. Appl. Mech. Mater. 644, 3260–3265 (2014). Trans Tech Publications Ltd.
Fridman, J., Greenfield, Z.: The TigerSHARC DSP architecture. IEEE Micro 20, 66–76 (January 2000)
Zhou, Y., He, F., Hou, N., Qiu, Y.: Parallel ant colony optimization on multi-core SIMD CPUs. Future Gener. Comput. Syst. 79 (2018)
Maiyuran, S., Garg, V., Abdallah, M.A., et al.: Memory access latency hiding with hint buffer: U.S. Patent 6,718,440, 6 April 2004
Adachi, Y., Kumano, T., Ogino, K.: Intermediate representation for stiff virtual objects. In: Proceedings Virtual Reality Annual International Symposium 1995, pp. 203–210. IEEE (1995)
Vanholder, H.: Efficient Inference with TensorRT (2016)
Chadha, P., Siddagangaiah, T.: Performance analysis of accelerated linear algebra compiler for TensorFlow
Sivalingam, K., Mujkanovic, N.: Graph compilers for AI training and inference
Griewank, A., Walther, A.: Evaluating derivatives: principles and techniques of algorithmic differentiation. SIAM (2008)
Paszke, A., Gross, S., Massa, F., et al.: PyTorch: an imperative style, high-performance deep learning library. In: Advances in Neural Information Processing Systems, pp. 8024–8035 (2019)
Moore, R.C., Lewis, W.: Intelligent selection of language model training data. In: Proceedings of the ACL 2010 Conference Short Papers, pp. 220–224. Association for Computational Linguistics (2010)
Abadi, M., Barham, P., Chen, J., et al.: TensorFlow: a system for large-scale machine learning. In: 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI 2016), pp. 265–283 (2016)
Yang, Y., Wu, R., Zhang, L., Zhou, D.: An asynchronous adaptive priority round-robin arbiter based on four-phase dual-rail protocol. Chin. J. Elec. 24(01), 1–7 (2015)
Acknowledgement
The authors thank the editors and the anonymous reviewers for their invaluable comments to help to improve the quality of this paper. This work was supported by National Key R&D Program of China under Grant 2020YFA0711400, National Natural Science Foundation of China under Grants 61831018 and U21A20452, the Outstanding youth project of Natural Science Foundation of Jiangxi Province 20212ACB212001, and the Jiangxi Double Thousand Plan under Grant jxsq2019201125.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Li, S., Ren, H., Zhang, Z., Tan, B., Wu, J. (2023). An Efficient Memory Management Method for Embedded Vector Processors. In: Gao, F., Wu, J., Li, Y., Gao, H. (eds) Communications and Networking. ChinaCom 2022. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 500. Springer, Cham. https://doi.org/10.1007/978-3-031-34790-0_19
Download citation
DOI: https://doi.org/10.1007/978-3-031-34790-0_19
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-34789-4
Online ISBN: 978-3-031-34790-0
eBook Packages: Computer ScienceComputer Science (R0)