[
https://issues.apache.org/jira/browse/KUDU-3557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Serbin resolved KUDU-3557.
---------------------------------
Fix Version/s: 1.18.0
Resolution: Fixed
> Add ability to set maximum thread cache size of tcmalloc easily.
> ----------------------------------------------------------------
>
> Key: KUDU-3557
> URL: https://issues.apache.org/jira/browse/KUDU-3557
> Project: Kudu
> Issue Type: Improvement
> Reporter: Song Jiacheng
> Priority: Major
> Fix For: 1.18.0
>
> Attachments: image-2024-02-27-15-58-05-449.png,
> image-2024-02-27-15-58-14-096.png, image-2024-02-27-15-59-25-180.png
>
>
> {color:#172b4d}Now, Lock contention is too high in tcmalloc while the cluster
> in under high throughput. Making the total thread cache size larger could
> highly decrease the lock contention. Even though the max size of one single
> thread cache could not be larger than 4096KB, but tcmalloc will have much
> more room to control the total size if {color}max_total_thread_cache_bytes is
> larger.
> Here are some comparison between tservers which are set to different
> max_total_thread_cache_bytes
> ta2:512MB others:32MB(default)
> X: time Y: metric spinlock_contention_time
> {color:#172b4d}!image-2024-02-27-15-58-05-449.png!{color}
> {color:#172b4d}!image-2024-02-27-15-59-25-180.png!{color}
> {color:#172b4d} {color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)