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

Rémi Denis-Courmont remi at remlab.net
Mon Mar 19 20:07:18 CET 2018

Le maanantaina 19. maaliskuuta 2018, 20.29.32 EET Martin Disch a écrit :
> On Mon, Mar 19, 2018 at 5:44 PM, Rémi Denis-Courmont <remi at remlab.net> 
> > 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.

Eh? SFTP is one of those plug-ins that can fail miserably with large read size 
(if bandwidth is low), as well as small read size (if bandwidth and/or latency 
are high).

The whole point is that increasing the read size is breaking it as much as it 
is fixing it.

> 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.

There never was a separate read size for SFTP.


More information about the vlc-devel mailing list