Skip to content

Excessive disk usage #47

Description

@adisbladis

Chunks are written as 1 file per chunk, in a single flat .xit/chunks/.

This has two problems.

  • No chunk file will ever take less than the file system block size, amplifying the repo size.

It's especially problematic for large repos with many small files, such as https://github.com/nixos/nixpkgs.
The solution here is probably a Git packfile like mechanism.

  • Flat directory

The directory structure should be sharded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions