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

Ilkka Ollakka ileoo at videolan.org
Sat Feb 17 14:18:14 CET 2018


On Thu, Feb 15, 2018 at 12:58:46PM +0200, Rémi Denis-Courmont wrote:
> Le jeudi 15 février 2018, 11:29:39 EET Ilkka Ollakka a écrit :
> > I got the impression that pf_read was meant for streaming-access where
> > you by nature of input can't really pre-fetch (dvb-card etc). And
> > pf_block would be in case you can by nature seek/prebuffer into future?
> 
> Block() is for when Read() would require an extra memory copy that Block() 
> does not.

Ah, Martin, would it be possible to check if same issue appears with
current sftp module if you remove cache_read module from stream-filters?

cache_block/read and prefetch seem to overlap on functionality and not
sure if cache-module is usable on cases where fast_seek is enabled (it's
the case where prefetch is refusing to load and cache goes to
cache_read/cache_block module to my understanding).

-- 
Ilkka Ollakka



More information about the vlc-devel mailing list