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

Use aggregated reading for 1D selections. #374

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Oct 17, 2024

Aggregating scattered reads was implemented in

However, it was only used for edge indexes. We measured the performance on an HDD and SSD for random access patterns with different streak lengths. We found that for all cases, including streak length of 1, using bulkRead was preferrable over both 0.1.24 (using HighFive::ElementSet) and 0.1.29 (using HighFive::HyperSlab).

We investigated if aggregating multiple pages was beneficial and found that it was not.

1uc added 2 commits October 17, 2024 08:30
Aggregating scattered reads was implemented in

  * 8366465 adds bulkRead,
  * a7d1453 for 2D selections.

However, it was only used for edge indexes. We measured the performance
on an HDD and SSD for random access patterns with different streak
lengths. We found that for all cases, including streak length of 1,
using bulkRead was preferrable over both `0.1.24` (using
`HighFive::ElementSet`) and `0.1.29` (using `HighFive::HyperSlab`).

We investigated if aggregating multiple pages was beneficial and found
that it was not.
@1uc 1uc marked this pull request as ready for review October 17, 2024 07:14
@mgeplf
Copy link
Contributor

mgeplf commented Oct 17, 2024

Impressive.

@mgeplf mgeplf merged commit f9f161f into master Oct 17, 2024
25 checks passed
@mgeplf mgeplf deleted the 1uc/optimize-selection branch October 17, 2024 08:49
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.

2 participants