There are two xavier modules on our board. They previously communicated through PCIE. The way of pcie communication is shared memory. The shared memory is allocated on CMA. But after our test, the reading and writing speed of pcie shared memory is very slow. The test results are as follows:
pcie WRITE speed 402.085699MB/S,write time: 310.879000 ms
pcie READ speed 22.136886MB/S,read time: 5646.684000 ms
pcie WRITE speed 404.777016MB/S,write time: 308.812000 ms
pcie READ speed 13.173793MB/S,read time: 9488.535000 ms
pcie WRITE speed 404.960605MB/S,write time: 308.672000 ms
pcie READ speed 12.682657MB/S,read time: 9855.979000 ms
pcie WRITE speed 403.574703MB/S,write time: 309.732000 ms
pcie READ speed 17.510679MB/S,read time: 7138.501000 ms
pcie WRITE speed 403.267434MB/S,write time: 309.968000 ms
pcie READ speed 85.927484MB/S,read time: 1454.715000 ms
pcie WRITE speed 404.110940MB/S,write time: 309.321000 ms
pcie READ speed 13.202946MB/S,read time: 9467.584000 ms
pcie WRITE speed 404.124005MB/S,write time: 309.311000 ms
pcie READ speed 12.679055MB/S,read time: 9858.779000 ms
How can we solve this problem