Research of RTI Communication Mechanism Based on Distributed Shared Memory

Meng Li · Jisuanji fangzhen · 2013

Within multi-core computing platform,high efficient communication between processes can be achieved by shared memory.However,most of current RTI software only provides TCP/IP communication support,and the advantages of shared memory communication cannot be fully taken.Combining the characteristics of RTI architecture and multi-core communication,an RTI communication mechanism based on distributed shared memory was proposed.In this mechanism,an independent shared memory used for message receiving was created for each federate,and sending federate could realize message sent by writing message into the memory of receiving federate.The semaphore mechanism was taken to realize the accessing control between federates,and the violation of memory accessing could be avoided.By the benefits of these mechanisms,synchronization cost between sending federates could be reduced,and the communication efficiency could be improved.Experiments result shows that,under the multi-core environment,compared with pRTI which is widely employed in HLA simulation,the attribute updating latency by this mechanism is one third of that in pRTI,and the attribute updating throughput is greater than pRTI.

Read the paper · More papers on PaperTik