-
Hi, An application I'm using shows a quite low throughput and bad latency when attaching Linkerd proxy as shown in the figure below. (The application can handle only 360qps even though the load generator sends 500qps.) When running the application WITHOUT Linkerd, it can handle 500qps sufficiently. It can also handle 1,000qps. I set up the Linkerd proxy by executing the following command. The application is an open-sourced microservice benchmark called DeathStarBench that consists of 30 microservices. Linkerd is implemented in the native language Rust and should deliver much better performance than I experienced in my opinion.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Are you able to try Linkerd 2.9.1? There were a number of significant performance improvements made since the 2.8.1 release. |
Beta Was this translation helpful? Give feedback.
-
Hello all, I'd like to continue this discussion with test results for v2.10.0. I set up a 3 nodes cluster with Kong as Ingress, and a nginx pod as application. as u can see, almost 70% of qps lost when linkerd-proxy being injected, and here is the Flamegraph linkerd-proxy takes up 63% of cpu time and it seems only 8% of cpu time is related with network write and read. unfortunately there's an unknown shared library, I don't know what it is, I compiled linkerd-proxy with debuginfo=1 and opt-level = "s", for debuginfo=2 rustc crashed with LLVM abbr code error... so looking for help, any ideas ? |
Beta Was this translation helpful? Give feedback.
-
here's some more information I find
I think it quite clearly to me where is the bottleneck now, I lost 80% performance using default configuration. 77.5% lost when close tap and tls, finally 70% lost when making linkerd-proxy working in multi-thread mode. There's about 50% cpu time is token for calculate suitable service. |
Beta Was this translation helpful? Give feedback.
Are you able to try Linkerd 2.9.1? There were a number of significant performance improvements made since the 2.8.1 release.