Video Cache wiki (advancedsettings.xml) information is incorrect!
#1
Hi there, I have identified that the behaviour documented on the "Modify the video cache" wiki page is totally wrong.

The wiki article says that the value specified in <memorysize> dictates the actual size of the buffer and that 3x this amount needs to be available in system RAM.

However, what actually happens is that <memorysize> represents a total that is 2x the buffer amount. It looks like it dictates a total of which 50% is used for a rolling cache. 1GB set results in a 500MB buffer, 2GB set results in a 1GB buffer.

Further to this, the cache wiki says there must be 3x the memorysize value available in RAM for this to work without issue. This also appears to be incorrect. System memory on my Pi4 is only showing as the usual 3-400MB + the actual size of the rolling cache. So with 2GB set, this appears to result in 1GB extra utilisation.

Code:
LibreELEC (official): 10.0.2 (RPi4.arm)
LibreELEC:~ # free -m
               total        used        free      shared  buff/cache   available
Mem:            7759        1365        6087          36         306        6250
Swap:              0           0           0

Just wanted to highlight this so someone can confirm my findings and update the wiki.
Reply
#2
Wiki page for reference:

https://kodi.wiki/view/HOW-TO:Modify_the_video_cache
Reply
#3
Thread moved to wiki section
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
#4
That page contains black magic that I am not familiar with. I have never had reason to use those settings.

What we need is a developer, or another knowledgeable person to pick the code apart and describe what it actually does.
Over the years I have seen a lot of comments about that page, all conflicting- its wrong, its right, it works, it doesn't work...
I do vaguely remember some comment about the page from a developer stating that users misunderstand the purpose of those settings and think it will fix streaming problems, when that is not what it is for. But I may be mis-remembering.
Maybe it was @Martijn or @afedchin that made that comment, I don't really remember.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
Video Cache wiki (advancedsettings.xml) information is incorrect!0