longhorn icon indicating copy to clipboard operation
longhorn copied to clipboard

[TASK] Investigate data plane optimization potential

Open joshimoo opened this issue 3 years ago • 5 comments

What's the task? Please describe

Take a look at the engine architecture and consider optimization potentials: -> #3176 read caching

Profile the internal data flow (tgt -> engine -> replica -> disk) To identify optimization potential surrounding latency and througput -> memory overhead reduction -> lower gc pressure

joshimoo avatar Dec 21 '21 07:12 joshimoo

Need to pay more focus on performance tuning, so move to p1.

innobead avatar Dec 24 '21 14:12 innobead

I did some investigations on the data plane, and I think we can get 5-10% as well overall reduced memory usage withhout big changes to the architecture :)

I will write up my findings and the necessary changes/improvements next week.

joshimoo avatar Jan 28 '22 23:01 joshimoo

Performance Benchmarks between lh v1.2.x and v1.3 https://github.com/longhorn/longhorn/issues/4002

Single local replica via unix socket latency decrease benchmark https://github.com/longhorn/longhorn/issues/3957

joshimoo avatar Jun 17 '22 01:06 joshimoo

Replace the gcc memory allocation with efficient one https://github.com/longhorn/longhorn/issues/4136

derekbit avatar Jul 08 '22 00:07 derekbit

Replace the gcc memory allocation with efficient one #4136

note: tcmalloc has been reverted in 1.3.3 and 1.4.0.

innobead avatar Dec 28 '22 07:12 innobead

Let's use https://github.com/longhorn/longhorn/issues/6600 instad.

innobead avatar Mar 15 '24 06:03 innobead