Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/21076 )
Change subject: KUDU-3557 Simple way to change maximum thread cache size of tcmalloc. ...................................................................... KUDU-3557 Simple way to change maximum thread cache size of tcmalloc. 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 greater than 4096KB at the first time, but it could request more from unclaimed cache space or steal from other thread cache each time it's doing garbage collection. For more details about tcmalloc, please check document: https://gperftools.github.io/gperftools/tcmalloc.html KUDU-3557 shows the difference on lock contention while setting different sizes of max_total_thread_cache_bytes. Please check it for details. Change-Id: I3cb8c6ed6a8f24c63258ae65f8b841fe74b75308 Reviewed-on: http://gerrit.cloudera.org:8080/21076 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> --- M src/kudu/integration-tests/memory_gc-itest.cc M src/kudu/server/server_base.cc 2 files changed, 143 insertions(+), 4 deletions(-) Approvals: Alexey Serbin: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/21076 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I3cb8c6ed6a8f24c63258ae65f8b841fe74b75308 Gerrit-Change-Number: 21076 Gerrit-PatchSet: 14 Gerrit-Owner: Song Jiacheng <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Song Jiacheng <[email protected]> Gerrit-Reviewer: Tidy Bot (241)
