Skip to content

when receiving a large file, "exporting" takes significant additional time (few minutes) #120

@belkka

Description

@belkka

Issue

when receiving a ~4G file there was a an "export " stage at receiving side that took multiple minutes, after the sender finished the transaction on their side

Possible cause

@matheus23 pointed out that sendme uses ExportMode::Copy from iroh-blobs, instead of other existing option, ExportMode::TryReference.
https://docs.rs/iroh-blobs/latest/iroh_blobs/api/blobs/enum.ExportMode.html

This leads to file being copied from "internal store" to target location (instead of being moved).

To confirm, I measured that on receiving file system copying the 4G file took around 7.5 minutes, which matches the previously observed delay.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions