TY - JOUR
T1 - Parallel implementation of real-time communication and ip communication by using multiple ring buffers
AU - Ueda, Kazuki
AU - Kikutani, Tatsushi
AU - Yakoh, Takahiro
N1 - Publisher Copyright:
© 2014 The Institute of Electrical Engineers of Japan.
PY - 2014
Y1 - 2014
N2 - In this paper, an Ethernet device using two ring buffers was implemented in order to achieve a parallel realization of a real-time communication and an IP communication. Using a conventional device driver, it is difficult to realize such a parallel realization. This is because the non real-time frames (IP frames) are processed using a NAPI mechanism, which introduces large delay and variation. Therefore, processing flows of the real-time frames (RT frames) must be separated from that of IP frames. A proposed mechanism was implemented by modifying the existing open source device driver to realize the flow separation mentioned above. By the modifications of the device driver, the RT frames and the IP frames can be distinguished and managed in the different ring buffers. RT frames are sent to a real-time frame ring buffer and they are processed immediately by using a hardware interrupt. IP frames are processed regularly by the conventional Linux network stack. By implementing them, the proposed device driver achieved 100 ìs or lower RTT (Round Trip Time) with a real-time communication in parallel with 500 Mbit/s or wider bandwidth of IP traffic load. This paper shows the design, the implementation, and the evaluation of the priority processing device driver.
AB - In this paper, an Ethernet device using two ring buffers was implemented in order to achieve a parallel realization of a real-time communication and an IP communication. Using a conventional device driver, it is difficult to realize such a parallel realization. This is because the non real-time frames (IP frames) are processed using a NAPI mechanism, which introduces large delay and variation. Therefore, processing flows of the real-time frames (RT frames) must be separated from that of IP frames. A proposed mechanism was implemented by modifying the existing open source device driver to realize the flow separation mentioned above. By the modifications of the device driver, the RT frames and the IP frames can be distinguished and managed in the different ring buffers. RT frames are sent to a real-time frame ring buffer and they are processed immediately by using a hardware interrupt. IP frames are processed regularly by the conventional Linux network stack. By implementing them, the proposed device driver achieved 100 ìs or lower RTT (Round Trip Time) with a real-time communication in parallel with 500 Mbit/s or wider bandwidth of IP traffic load. This paper shows the design, the implementation, and the evaluation of the priority processing device driver.
KW - Ethernet
KW - Real-Time Communication
KW - Real-Time Operating System
KW - Teleoperation
UR - http://www.scopus.com/inward/record.url?scp=84906540360&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84906540360&partnerID=8YFLogxK
U2 - 10.1541/ieejeiss.134.1031
DO - 10.1541/ieejeiss.134.1031
M3 - Article
AN - SCOPUS:84906540360
SN - 0385-4221
VL - 134
SP - 1031
EP - 1038
JO - IEEJ Transactions on Electronics, Information and Systems
JF - IEEJ Transactions on Electronics, Information and Systems
IS - 8
ER -