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

Improve localrun performance by using JVM options more suited for it #10273

Merged
merged 2 commits into from
Apr 20, 2021

Conversation

jerrypeng
Copy link
Contributor

Motivation

Currently, the JVM options used for localrun are the same as that used for the pulsar-admin tool. The JVM options used are suited for CLI tools that need a short startup time. Sinkce localrun is a long running process, we can achieve better performance especially in GC if we use JVM options more suited for this kind of workload. I am seeing around 20% better performance with these changes in JVM options.

@jerrypeng jerrypeng added this to the 2.8.0 milestone Apr 20, 2021
@jerrypeng jerrypeng self-assigned this Apr 20, 2021
@sijie sijie merged commit c6158e3 into apache:master Apr 20, 2021
ivankelly pushed a commit to ivankelly/pulsar that referenced this pull request Aug 10, 2021
…pache#10273)

### Motivation

Currently, the JVM options used for localrun are the same as that used for the pulsar-admin tool.  The JVM options used are suited for CLI tools that need a short startup time.  Sinkce localrun is a long running process, we can achieve better performance especially in GC if we use JVM options more suited for this kind of workload.  I am seeing around 20% better performance with these changes in JVM options.
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