<!doctype html><html><head><title></title><style type="text/css">
p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body>Exactly that's horribly slow on slow networks, that was the whole point of adding prefetch. Prefetch can handle blocking streams and cache non-blocking streams.<br><br>And again, there's more to preparsing than taglib anyway.<br><br><div class="gmail_quote">Le 9 octobre 2019 12:46:55 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>It is faster when using taglib that could search for the ID3tag at different offsets, the STREAM_CACHE_TRACK 3 helps a lot.<br></div><div><br></div><div>On Wed, Oct 9, 2019, at 11:39, Thomas Guillem wrote:<br></div><blockquote type="cite" id="qt"><div><br></div><div>On Wed, Oct 9, 2019, at 11:36, Rémi Denis-Courmont wrote:<br></div><blockquote id="qt-qt" type="cite"><div>Then this change is plain dumb. Cache is terrible on slow networks.<br></div></blockquote><div><br></div><div>I tested it and concluded it was faster than no cache. Could you elaborate ? I don't understand.<br></div><div><br></div><blockquote id="qt-qt" type="cite"><div><br></div><div class="qt-qt-gmail_quote"><div>Le 9 octobre 2019 10:21:24 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<br></div><blockquote class="qt-qt-gmail_quote" style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><pre class="qt-qt-k9mail"><div><br></div><div><br></div><div>On Tue, Oct 8, 2019, at 19:41, Rémi Denis-Courmont wrote:<br></div><blockquote class="qt-qt-gmail_quote" style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>I disagree.<br></div><div><br></div><div>This will cause very very small reads, and potentially seeks backward - all <br></div><div>ending in ridiculously bad performance.<br></div></blockquote><div><br></div><div>How so ? If prefetch is disabled, then the "cache" stream filter will be used.<br></div><div><br></div><div>cf. in src/input/access.c: <br></div><div>s = stream_FilterChainNew(s, "prefetch,cache");<br></div><div><br></div><div><br></div><div>> <br></div><blockquote class="qt-qt-gmail_quote" style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><div>-- <br></div><div>Реми Дёни-Курмон<br></div><div><a href="http://www.remlab.net/">http://www.remlab.net/</a><hr>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></blockquote><div><hr>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></pre></blockquote></div><div><br></div><div>-- <br></div><div>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. <br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div>https://mailman.videolan.org/listinfo/vlc-devel<br></div></blockquote><div><br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div>https://mailman.videolan.org/listinfo/vlc-devel<br></div></blockquote><div><br></div></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>