docs/附录/CyberRT Performance Report.md
The purpose of this performance report is to compare the results of the old and new versions of cyberRT in terms of cross-process/cross-machine transmission under different transmission conditions, and to present detailed data on the transmission metrics when using different modules/sensors (Functional Module, Normal Sensor and High-End Sensor). All results are generated by the cyber_benchmark benchmarking tool.
This test will examine the performance of both the old and new versions of cyberRT with different message sizes and sending frequencies.
All tests were performed with message sizes of 16B, 1KB, 64KB ..... .5MB, 10MB, and conducted at 100 hz
The following images show the cpu usage, memory usage, message transfer latency, and packet loss metrics for transferring different message sizes on Platform 1. In this case, cyberRT of Apollo 10.0 has arena zero-copy communication enabled and arena shared memory is configured with 1GB size:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>The following images show the cpu usage, memory usage, message transfer latency, and packet loss metrics for transferring different message sizes on Platform 2. In this case, cyberRT of Apollo 10.0 has arena zero-copy communication enabled and arena shared memory is configured with 1GB size:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>All tests were performed at message frequencies of 10 hz, 20 hz, 50 hz, and 100 hz with a message size of 1 MB
The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transmitting different send frequencies on Platform 1. In this case, cyberRT of Apollo 10.0 has arena zero-copy communication enabled and arena shared memory is configured with 1GB size:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transmitting different send frequencies on Platform 2. In this case, cyberRT of Apollo 10.0 has arena zero-copy communication enabled and arena shared memory is configured with 1GB size:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>| message size/frequency | cpu usage | latency | msg loss rate | memory usage | |
|---|---|---|---|---|---|
| Functional Module(perception, planning etc.) | 64K/10hz | 9.14% | 84.6 us | 0.0% | 250MB |
| High Frequencies functional Module(localization) | 64k/100hz | 9.71% | 69.54 us | 0.0% | 250M + 1024M arena shared memory |
| Normal Sensor Module | 1M/10hz | 8.47% | 82.29 us | 0.0% | 250M + 1024M arena shared memory |
| High-End Sensor Module | 10M/10hz | 5.55% | 58.95 us | 0.0% | 250M + 1024M arena shared memory |
This test will examine the performance of both the old and new versions of cyberRT with different message sizes and sending frequencies.
All tests were performed with message sizes of 1KB, 64KB ..... .5MB, 10MB, and conducted at 100 hz
The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transferring different message sizes on Platform 1. The cyberRT of Apollo 10.0 is based on FastDDS version 2.x and the 9.0 cyberRT is based on fastrtps version 1.5:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transferring different message sizes on Platform 2. The cyberRT of Apollo 10.0 is based on FastDDS version 2.x and the 9.0 cyberRT is based on fastrtps version 1.5:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>All tests were performed at message frequencies of 10 hz, 20 hz, 50 hz, and 100 hz with a message size of 1 MB
The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transferring different message sizes on Platform 1. The cyberRT of Apollo 10.0 is based on FastDDS version 2.x and the 9.0 cyberRT is based on fastrtps version 1.5:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>The following images show the cpu usage, memory usage, message transfer latency, and packet loss rate metrics for transferring different message sizes on Platform 2. The cyberRT of Apollo 10.0 is based on FastDDS version 2.x and the 9.0 cyberRT is based on fastrtps version 1.5:
<table> <tbody> <tr> <td></td> <td></td> </tr> <tr> <td></td> <td></td> </tr> </tbody> </table>| message size/frequency | cpu usage | latency | msg loss rate | memory usage | |
|---|---|---|---|---|---|
| Functional Module(perception, planning etc.) | 64K/10hz | 7.75% | 391 us | 0.0% | 247MB |
| High Frequencies functional Module(localization) | 64k/100hz | 10.3% | 369 us | 0.0% | 249M |
| Normal Sensor Module | 1M/10hz | 8.84% | 2124 us | 0.0% | 251M |
| High-End Sensor Module | 10M/10hz | 18.8% | 18886 us | 0.0% | 288M |