Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to configure BK for low latency busy-wait settings #1812

Merged
merged 11 commits into from
Jan 7, 2019

Conversation

merlimat
Copy link
Contributor

Motivation

Added enableBusyWait configuration option to turn on CPU Affinity and busy wait on sockets and queues.

@merlimat merlimat added this to the 4.9.0 milestone Nov 14, 2018
@merlimat merlimat self-assigned this Nov 14, 2018
@dlg99
Copy link
Contributor

dlg99 commented Nov 15, 2018

do you have any perf numbers to share to show what kind of perf improvements we should expect with this feature enabled?

@merlimat
Copy link
Contributor Author

@dlg99 I have posted the numbers here: #1641 (comment)

@@ -602,8 +604,7 @@ BookieWatcher getBookieWatcher() {
return bookieWatcher;
}

@VisibleForTesting
OrderedExecutor getMainWorkerPool() {
public OrderedExecutor getMainWorkerPool() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason why @VisibleForTesting annotation is removed?

@merlimat
Copy link
Contributor Author

run java8 tests

@merlimat
Copy link
Contributor Author

run integration tests
run pr java8 tests

@merlimat
Copy link
Contributor Author

rebuild java8

Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the shading tests are failing because some jars are not correctly shaded.

bookkeeper-common/pom.xml Show resolved Hide resolved
@sijie
Copy link
Member

sijie commented Dec 12, 2018

run integration tests

1 similar comment
@merlimat
Copy link
Contributor Author

run integration tests

@merlimat merlimat merged commit e426547 into apache:master Jan 7, 2019
@merlimat merlimat deleted the configure-busy-poll branch January 7, 2019 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants