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

Nexus File Chunk Sizes #192

Open
Modularius opened this issue Jun 6, 2024 · 0 comments
Open

Nexus File Chunk Sizes #192

Modularius opened this issue Jun 6, 2024 · 0 comments
Assignees

Comments

@Modularius
Copy link
Contributor

Variable sized vectors in HDF5 are stored as non-contiguous chunks of bytes. Chunks themselves are contiguous however, and must be read in full when they are written to. Chunk size should be optimized to balance the needs of reading and repeated writing. As a general rule, large chunk size is best for reading, whilst small chunk size is best for writing.

It must be determined how we should choose chunk size, should this be:

  • Chosen dynamically when a NeXus file is first created (e.g. chunks set to 2x, 5x, or 10x the size of the first write).
  • Set by command line arguments at runtime.
  • Hard-coded into the file writer.
  • The NeXus writer stored the maximum write size from previous runs and uses this to choose the chunk size.
@github-project-automation github-project-automation bot moved this to Backlog in Super-MuSR Jun 6, 2024
@Modularius Modularius moved this from Backlog to In Progress in Super-MuSR Jun 10, 2024
@Modularius Modularius moved this from In Progress to Todo in Super-MuSR Jun 10, 2024
@Modularius Modularius moved this from Todo to In Progress in Super-MuSR Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant