cyclonedds icon indicating copy to clipboard operation
cyclonedds copied to clipboard

Can not communicate through zero-copy with iceoryx

Open binbowang1987 opened this issue 1 year ago • 0 comments

Command

./bin/ShmThroughputPublisher 1024 1000 1 1000 test
./bin/ShmThroughputSubscriber 0 0 "test" 1024

Version

releases/0.10.x 1be07de395e4ddf969db2b90328cdf4fb73e9a64

Problem Code

I find that dds_take will use memcpy to get data from iox_chunk, this makes CycloneDDS non-zero-copy.
https://github.com/eclipse-cyclonedds/cyclonedds/blob/1be07de395e4ddf969db2b90328cdf4fb73e9a64/src/core/ddsi/src/ddsi_serdata_default.c#L647-L670

image

binbowang1987 avatar Oct 27 '23 03:10 binbowang1987