You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2016/04/11 19:37:58 UTC

[kudu-CR] transaction: reduce initial arena block size

Hello Mike Percy,

I'd like you to do a code review.  Please visit

    http://gerrit.cloudera.org:8080/2753

to review the following change.

Change subject: transaction: reduce initial arena block size
......................................................................

transaction: reduce initial arena block size

Currently transactions start with a 32KB arena. This allocation
is large enough that it will often have to go to the tcmalloc central
free list and cause contention.

In practice, many use cases perform lots of small writes with only
a few operations per batch. In these cases, 32KB is way more than
will be needed in the arena. Starting with a 1KB arena block should
be sufficient.

Change-Id: I9250ffb7afd87c274ea29e1d1bf8daf6cafb8f28
---
M src/kudu/tablet/transactions/transaction.cc
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/53/2753/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2753
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9250ffb7afd87c274ea29e1d1bf8daf6cafb8f28
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>