[vlc-devel] [PATCH 0/1] Improve SFTP network performance with buffer

Martin Disch martindisch at gmail.com
Mon Mar 19 19:29:32 CET 2018

On Mon, Mar 19, 2018 at 5:44 PM, RĂ©mi Denis-Courmont <remi at remlab.net> wrote:
> Either way, this will break support for low bandwidth. Since we cannot know
> upfront what the bandwidth is, it seems intractable.

That was my conclusion as well, based on what I learned while looking
into this. Even if an assumption about the ideal read size for SFTP on
most systems could be made, it might be problematic to use that in the
prefetch module, since it doesn't just apply to SFTP but many more
modules for which it might not work equally well.
And reverting to using a separate read size setting for the SFTP
module as it was before 3.0 is not great either, because that would
defeat the purpose of the prefetch module.

Seeing as there isn't an obvious way to solve this, one thing that
could be helpful would be to provide a hint to the read size solution
somewhere people using SFTP can find it. Perhaps a sentence in the
module's settings or a wiki entry that people searching online for
"VLC SFTP performance" could find. As it is, you don't really find
anything when looking for this problem (hence this whole thread).

Martin Disch
martindisch at gmail.com

More information about the vlc-devel mailing list