Skip to content

Copying file with CIFS is very slow sometimes #65

@zerikv

Description

@zerikv

Hello,

I have noticed that in some configurations, copy a SmbFile can be very slow (I mean totaly unusable).

That seems the case when the destination is a VM hosted on the same machine as the source.

If I have understand right, the copy is done by the Guava class ByteStreams in OverthereFileCopier#copyFile.
The copy uses streams provided by SmbFile.
As I understand theses stream are not buffered.

Do you think to wrap the streams by a Buffered streams could increase the copy rate?

Thank you for your advices.

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