Skip to content

DAOS-19881 utils: add usable capacity estimator prototype - #19398

Draft
mchaarawi wants to merge 1 commit into
masterfrom
mschaara/usable_space_estimator
Draft

mchaarawi wants to merge 1 commit into
masterfrom
mschaara/usable_space_estimator

Conversation

@mchaarawi

Copy link
Copy Markdown
Contributor

Add daos_usable_space.py, a standalone script that converts the raw free space from daos pool query into an estimate of writable user data per POSIX container, using the default object class DAOS would select for the container's redundancy factor, fault-domain count and hints, and accounting for the space_rb rebuild reserve. Pool properties are read through the public daos_pool_query() API via ctypes. Includes a README with assumptions, usage and measured results.

Skip-build: true
Skip-unit-tests: true
Skip-test: true
Skip-test-hardware: true

Steps for the author:

  • Commit message follows the guidelines.
  • Appropriate Features or Test-tag pragmas were used.
  • Appropriate Functional Test Stages were run.
  • At least two positive code reviews including at least one code owner from each category referenced in the PR.
  • Testing is complete. If necessary, forced-landing label added and a reason added in a comment.

After all prior steps are complete:

  • Gatekeeper requested (daos-gatekeeper added as a reviewer).

Add daos_usable_space.py, a standalone script that converts the raw free
space from `daos pool query` into an estimate of writable user data per
POSIX container, using the default object class DAOS would select for
the container's redundancy factor, fault-domain count and hints, and
accounting for the space_rb rebuild reserve. Pool properties are read
through the public daos_pool_query() API via ctypes. Includes a README
with assumptions, usage and measured results.

Skip-build: true
Skip-unit-tests: true
Skip-test: true
Skip-test-hardware: true
Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@hpe.com>
@github-actions

Copy link
Copy Markdown

Errors are Unable to load ticket data
https://daosio.atlassian.net/browse/DAOS-19881

@daosbuild3

Copy link
Copy Markdown
Collaborator

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants