[vlc-devel] [PATCH] prefetch: remove read size, always request maximum
fcvlcdev at free.fr
Wed Apr 18 09:01:12 CEST 2018
Le 17/04/2018 à 21:32, Rémi Denis-Courmont a écrit :
> Well behaving streams only wait for some data to be available
> (e.g. FTP, HTTP, raw TCP).
> Poory behaving streams wait for the whole requested amount
> (e.g. regular file - though it does not use prefetch anyway).
> Badly behaving streams wait for the whole requested amount and do not
> perform any pipelining/buffering (e.g. CIFS, probably SFTP).
> In the best case, this change reduces the number of calls, thus
> slightly improving performance.
> In the worst case, it reduces the number of round-trips necessary,
> thus restoring support for playback at bandwidth-latency product.
> However it increases latency in the low bandwidth case, but there is
> a simple work-around: capping the read size to a suitably small value.
What about UDP broken since removal of its internal ring buffer ?
VideoLAN - VLC Developer
More information about the vlc-devel