Skip to content

Delay dataset layout copy to DCPL #5537

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

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

mattjala
Copy link
Contributor

@mattjala mattjala commented May 15, 2025

  • Optimize dataset opening by delaying the copy of dataset layout to its internal DCPL

Copying the layout immediately slows down workloads that open many small datasets.

The layout copy is delayed until either a user requests the dataset's DCPL, or until the start of an operation that may need to read the layout from the DCPL.

Whether the copying of the layout has been performed yet for a dataset is tracked by a new field on H5D_shared_t.

  • Added a new test for this behavior in dsets.c

@mattjala mattjala self-assigned this May 15, 2025
@mattjala mattjala added the Priority - 2. Medium It would be nice to have this in the next release label May 15, 2025
@mattjala mattjala requested a review from brtnfld as a code owner May 15, 2025 19:57
@mattjala mattjala added the Component - C Library Core C library issues (usually in the src directory) label May 15, 2025
@nbagha1 nbagha1 added the HDFG-internal Internally coded for use by the HDF Group label May 16, 2025
@ajelenak ajelenak added this to the Release 2.0.0 milestone May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component - C Library Core C library issues (usually in the src directory) HDFG-internal Internally coded for use by the HDF Group Priority - 2. Medium It would be nice to have this in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants