Hello Andrew Wong,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/15502
to review the following change.
Change subject: tserver: avoid spinlock in scanners hot path
......................................................................
tserver: avoid spinlock in scanners hot path
This replaces a spinlock protection of the scanner "rows_returned"
counter to just be an atomic integer instead. This saved some CPU cycles
in the TSBS benchmark.
Change-Id: If3c32e94ada847076580e20571440833a8544c57
---
M src/kudu/tserver/scanners.h
1 file changed, 2 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/15502/1
--
To view, visit http://gerrit.cloudera.org:8080/15502
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If3c32e94ada847076580e20571440833a8544c57
Gerrit-Change-Number: 15502
Gerrit-PatchSet: 1
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>