eclipse-zenoh / zenoh-pico

Eclipse zenoh for pico devices
Other
123 stars 78 forks source link

Improve throughput performance #4 (rx defragmentation focus) #754

Closed jean-roland closed 1 month ago

jean-roland commented 1 month ago

In order to improve rx performance we need to reduce the amount of copies that are made. Defragmentation had 3 copies, it was reduced to 1. It could have been reduced to 0 but it would have made the PR much heavier and it would have slowed down non-fragmented data, which is still the main usecase.

There's still an uplift of 25% less time spent recopying data on a 150kB payload in our throughput test.