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

Sparse global order reader: respect memory budget. #2425

Merged

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Jul 29, 2021

  • Added memory management for query condition and copy attributes ops.
  • Added configuration parameters for memory budget management.
  • Cleaning up result tiles not used in result cell slab merging.
  • Bug fixes to how we load/cleanup result tiles.

TYPE: IMPROVEMENT
DESC: Respect memory budget for sparse global order reader.

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #8652: Refactored readers: Respect memory budget..

@KiterLuc KiterLuc force-pushed the lr/sparse-global-order-reader-memory/ch8652 branch 2 times, most recently from 58035bd to 6735601 Compare July 30, 2021 08:48
Copy link
Member

@stavrospapadopoulos stavrospapadopoulos left a comment

Choose a reason for hiding this comment

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

Minor comments only.

const std::string Config::SM_MEM_SPARSE_GLOBAL_ORDER_RATIO_QUERY_CONDITION =
"0.25";
const std::string Config::SM_MEM_SPARSE_GLOBAL_ORDER_RATIO_TILE_RANGES = "0.1";
const std::string Config::SM_MEM_SPARSE_GLOBAL_ORDER_RATIO_ARRAY_DATA = "0.1";
Copy link
Member

Choose a reason for hiding this comment

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

By "array data", do you mean "attribute data"? If so, perhaps name this (and all related configs) to *_ATTR_DATA?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll keep this one as is, it also includes footers for the fragments.

test/src/unit-capi-config.cc Outdated Show resolved Hide resolved
tiledb/sm/query/reader_base.cc Outdated Show resolved Hide resolved
tiledb/sm/query/reader_base.cc Outdated Show resolved Hide resolved
tiledb/sm/query/reader_base.h Show resolved Hide resolved
tiledb/sm/query/reader_base.h Outdated Show resolved Hide resolved
tiledb/sm/query/reader_base.h Outdated Show resolved Hide resolved
- Added memory management for query condition and copy attributes ops.
- Added configuration parameters for memory budget management.
- Cleaning up result tiles not used in result cell slab merging.
- Bug fixes to how we load/cleanup result tiles.

---
TYPE: IMPROVEMENT
DESC: Respect memory budget for sparse global order reader.
@KiterLuc KiterLuc force-pushed the lr/sparse-global-order-reader-memory/ch8652 branch from 6735601 to 528092a Compare August 3, 2021 15:12
@stavrospapadopoulos stavrospapadopoulos merged commit 46997df into dev Aug 3, 2021
@stavrospapadopoulos stavrospapadopoulos deleted the lr/sparse-global-order-reader-memory/ch8652 branch August 3, 2021 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants