-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netty: provide an option to lower netty allocator chunk size from 16M…
…B to 2MB (#6407) This would reduce the amount of direct buffer allocations, especially with light traffic. This should mitigate internal issue b/143075435 The change is currently optional and is only effective if system property "io.grpc.netty.useCustomAllocator" is set to "true" ignoring the case. Internal benchmark results (median of 5 runs) doesn't show any significant change: ``` Before (STDEV) After (STDEV) grpc-java-java-multi-qps-integrity_only Actual QPS 717,848 (7,445) 715,061 (2,122) QPS per Client CPU 23,768 (799) 23,842 (295) grpc-java-java-multi-throughput-integrity_only Actual QPS 35,631 (204) 35,298 (25) QPS per Client CPU 3,362 (56) 3,316 (18) grpc-java-java-single-latency-integrity_only Median latency (us) 130 (1.82) 125 (5.36) grpc-java-java-single-throughput-integrity_only Actual QPS 593 (5.14) 587 (3.76) QPS per Client CPU 502 (4.51) 494 (6.92) ```
- Loading branch information
1 parent
194d151
commit 89cd643
Showing
7 changed files
with
95 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.