Real-time performance analysis of network buffer under multi-core scheduling platform
Liu, Pingping
DOI: https://doi.org/10.1007/s11042-023-14820-4
IF: 2.577
2023-03-10
Multimedia Tools and Applications
Abstract:The network buffer is a key factor affecting the communication efficiency of a multi-core embedded real-time system protocol stack. Therefore, it requires that the buffer structure should be simple, effective, stable and easy to manage. The buffer mBlk in the Vxworks system is a more complex buffer designed based on the buffer pool. Its advantage is that the data is shared by reference, so as to achieve "zero copy" and improve efficiency. However, the disadvantage is that its structure is too complicated and trouble to use. Therefore, according to the actual project requirements, this paper first improves its complex structure and designs a network buffer named sbuf. Secondly, according to the problem of insufficient use of the designed buffer management mechanism in multithreading, a network buffer allocation algorithm is designed to solve this problem. Finally, the designed network buffer is tested under different multi-core scheduling algorithms on litmus RT multi-core platform. The results show that the performance of the improved buffer has been significantly improved in three aspects: response time, preemption and execution time.
computer science, information systems, theory & methods,engineering, electrical & electronic, software engineering