Skip to content

DAOS-17444 placement: improve layout computation performance#17688

Open
gnailzenh wants to merge 1 commit intorelease/2.6from
liang/perf/b2_6_pl_scan
Open

DAOS-17444 placement: improve layout computation performance#17688
gnailzenh wants to merge 1 commit intorelease/2.6from
liang/perf/b2_6_pl_scan

Conversation

@gnailzenh
Copy link
Contributor

  • remove _get_target and _get_dom, these function are not required. pool_map of DAOS can guarantee extension always appends new children after old children, meanwhile, dom_avail_children (the original get_num_domains) only returns the number of valid sub-domains/targets, so it doesn't make sense to traverse, which is very expensive for large object.

  • Instead of checking bit by bit, tgt_isset_range and dom_isset_range can skip the entire byte of the bitmap if it is 0xFF.

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).

- remove _get_target and _get_dom, these function are not required.
  pool_map of DAOS can guarantee extension always appends new children
  after old children, meanwhile, dom_avail_children (the original
  get_num_domains) only returns the number of valid sub-domains/targets,
  so it doesn't make sense to traverse, which is very expensive for
  large object.

- Instead of checking bit by bit, tgt_isset_range and dom_isset_range
  can skip the entire byte of the bitmap if it is 0xFF.

Signed-off-by: Liang Zhen <gnailzenh@gmail.com>
@github-actions
Copy link

Errors are component not formatted correctly,Ticket number prefix incorrect,PR title is malformatted. See https://daosio.atlassian.net/wiki/spaces/DC/pages/11133911069/Commit+Comments,Unable to load ticket data
https://daosio.atlassian.net/browse/

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.

1 participant