18-07-2023 дата публикации
Номер: CN116455849A
Автор:
LU KAI,
GE KESHI,
LAI MINGCHE,
XU JINBO,
MA DI,
XIE MIN,
QI XINGYUN,
DONG YONG,
ZHANG WEI,
XU JIAQING,
LU PINGJING
Принадлежит:
The invention relates to a concurrent communication method and device oriented to a many-core processor, equipment and a medium. The method comprises the following steps: respectively setting a message sending buffer area and a message receiving buffer area in a main memory for a virtual port when sending and receiving message data, accessing through a lock mechanism, and setting a counter and a read pointer or a write pointer of the buffer areas in a network card chip, and sending end or receiving end software and network card hardware cooperatively form a virtual port queue state management mechanism. According to the method, each process can be supported to form a programming view exclusively occupying hardware, and a plurality of processes are allowed to concurrently access communication hardware resources in a user space in a protected manner, so that the atomicity of communication operation request processing during concurrent communication is ensured. In addition, based on a software ...
Подробнее