-
Notifications
You must be signed in to change notification settings - Fork 1
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
Memory pool support for Replication IO #18
Conversation
…ip-mem-alloc-replication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the minSize allocation
cmd/erasure-utils.go
Outdated
divFactor = 2 * divFactor | ||
minSize = globalMaxKVObject/int64 (divFactor) | ||
for (minSize <= 32768) { | ||
midSize = (2 * globalMaxKVObject)/int64 (divFactor) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allocating for minSize not midSize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, will resolve, thx
Kudos, SonarCloud Quality Gate passed! 0 Bugs 0.0% Coverage The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Added Memory pool support for Replication IO.
Description
Memory pool support for Replication IO. Configurable three different memory pool size and based on the IO size the closest memory pool will be selected. This will enable IO size > 1MB in the DSS Minio KV stack.
Motivation and Context
To support > 1MB IO in the Minio KV path.
Regression
How Has This Been Tested?
Unit testing with single node setup. Performance tested on single minio with 1MB and 8 MB.
Disclaimer because of target issue of supporting large number of bigger IOs, can't stress with more ios in my test.
Types of changes
Checklist:
mint
PR # here: )