Skip to content

Parallelize file metadata inspection in 2-stage reader #74

Description

@Baptiste-Arnould

During the initialization of reader_2stage, metadata from all input files are currently inspected sequentially by rank 0. For datasets containing a large number of files, this can result in significant initialization time.

I propose distributing the metadata inspection across the available reader ranks, gathering the resulting metadata on rank 0, and restoring the original file ordering before constructing _file_time, _shape, and related attributes.

This does not modify the data-reading algorithm itself, only the initialization step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions