-
Notifications
You must be signed in to change notification settings - Fork 340
DAOS-18487 object: control EC rebuild resource consumption #17442
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
base: release/2.6.4-aurora
Are you sure you want to change the base?
Conversation
A degraded EC read will allocate and register an extra buffer to recover data, which may cause ENOMEM in some cases. this workaround does not prevent dynamic buffer allocation and registration, it does provide relatively precise control over the resources consumed by degraded EC reads. Signed-off-by: Liang Zhen <[email protected]>
|
Errors are Unable to load ticket data |
|
This is another patch to decrease the chance of running into ENOMEM, because the aurora branch still uses the old resource management which only has 256MB DMA buffer for rebuild, so I decrease the amplification factor to 6, which is 8 for master & 2.6 |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17442/1/testReport/ |
src/object/srv_obj_migrate.c
Outdated
| * registration, it does provide relatively precise control over the | ||
| * resources consumed by degraded EC reads. | ||
| */ | ||
| data_size *= MIN(6, obj_ec_data_tgt_nr(&mrone->mo_oca)); |
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 consider to define a new variable to avoid affect migrate_dkey(), as commented on master PR.
Signed-off-by: Liang Zhen <[email protected]>
A degraded EC read will allocate and register an extra buffer to recover data, which may cause ENOMEM in some cases.
this workaround does not prevent dynamic buffer allocation and registration, it does provide relatively precise control over the resources consumed by degraded EC reads.
Steps for the author:
After all prior steps are complete: