Todd Lipcon has submitted this change and it was merged.

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
Reviewed-on: http://gerrit.cloudera.org:8080/2753
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/tablet/transactions/transaction.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



-- 
To view, visit http://gerrit.cloudera.org:8080/2753
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9250ffb7afd87c274ea29e1d1bf8daf6cafb8f28
Gerrit-PatchSet: 2
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to