Skip to content

Make auto sharding configurable by memory size #3568

@ilan-gold

Description

@ilan-gold

Discussion started here around auto settings for sharding: https://ossci.zulipchat.com/#narrow/channel/423692-Zarr/topic/Sharding.20performance.20issues/near/553649122

At the moment, the default is twice the number of chunks along each axis i.e., 2 chunks per shard for one axis, 4 for 2 etc.

The proposal would be to add something like zarr.config.max_auto_shard_size that is used when someone passes in shards="auto".

In additional, we could have min sizes as well potentially, see the arguments to _guess_chunks which has both

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