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

HDDS-2883. Change the default client settings accordingly with change in default chunk size. #487

Merged
merged 2 commits into from Feb 3, 2020

Conversation

bharatviswa504
Copy link
Contributor

What changes were proposed in this pull request?

This Jira proposes to change the following values

ozone.client.stream.buffer.flush.size - 64MB -> 16MB

ozone.client.stream.buffer.max.size - 128 MB -> 32MB

ozone.scm.chunk.size - 16MB -> 4MB

In this way, the client-side holding buffer size will be reduced, and data is transferred at smaller size intervals.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-2883

How was this patch tested?

Multiple teragen tests are run on a 6 node cluster with these values and along changes from HDDS-2920 and HDDS-2921 we have seen teragen completed successfully.

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @bharatviswa504 for working on this. Shouldn't the default values be changed in OzoneConfigKeys, too?

@bharatviswa504
Copy link
Contributor Author

Thanks @bharatviswa504 for working on this. Shouldn't the default values be changed in OzoneConfigKeys, too?

Thank You @adoroszlai for the review. Yes, we need to update. Updated in the latest commit.

@bharatviswa504 bharatviswa504 marked this pull request as ready for review January 31, 2020 22:58
@bharatviswa504 bharatviswa504 changed the title [WIP] HDDS-2883. Change the default client settings accordingly with change in default chunk size. HDDS-2883. Change the default client settings accordingly with change in default chunk size. Jan 31, 2020
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @bharatviswa504 for updating the patch. LGTM.

Copy link
Contributor

@arp7 arp7 left a comment

Choose a reason for hiding this comment

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

+1

@bharatviswa504 bharatviswa504 merged commit af43a28 into apache:master Feb 3, 2020
@bharatviswa504
Copy link
Contributor Author

Thank You @adoroszlai and @arp7 for the review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants