2016-06-27, 22:25
Dear all,
I am a happy Kodi user, but I am having some small problems lately.
When playing a movie, OpenElec would freeze at random moments. Sometimes after 10 seconds, sometimes after 10 minutes.
I guessed it was a buffering problem & added the cache lines to my advancedsettings.xml
To kick off: my network:
Gigabit router -> Gb Switch -> Gb Switch -> NAS - Desktop - HTPC.
So my complete network is 1Gbps & all my devices are connected via wire.
Internet connection is 200Mbps down / 20 Mbps up (not that I think it matters in this case)
HTPC: 4GB ram, G3258, OpenElec 7.0 beta 3 (latest version)
Desktop: 16GB ram, 4670K, Kodi 16.1 (latest version)
Advancedsettings.xml
As you can see, I am using a buffer of 1GB, 50x read buffer factor & buffering everything.
When I start playing a video, the cache fills up nicely, but stops filling at 500MB, and then just starts to empty without refilling.
Once it is close to 5MB the VQ en AQ start dropping in %, en when 0MB is reached, it just stops playing and goes back to the home screen.
I tought I did something wrong, and copied the example 4 from here.
So if I understood correctly, Kodi should buffer untill 150MB, but use 450MB ram.
After some tests (on both HTPC & desktop), it seems that Kodi fills its cache to 65MB and then falls back to 56MB. It averages between 56.19 and 56.25MB.
So 2 major questions:
- Why is it not refilling its cache when set to cachemembuffersize of 1GB
- Why is it only filling to 65MB & then falling back to 56MB instead of the 150MB
Minor question:
- Why is it saying 'forward' instead of 'cache'?
Thanks in advance.
With kind regards,
I am a happy Kodi user, but I am having some small problems lately.
When playing a movie, OpenElec would freeze at random moments. Sometimes after 10 seconds, sometimes after 10 minutes.
I guessed it was a buffering problem & added the cache lines to my advancedsettings.xml
To kick off: my network:
Gigabit router -> Gb Switch -> Gb Switch -> NAS - Desktop - HTPC.
So my complete network is 1Gbps & all my devices are connected via wire.
Internet connection is 200Mbps down / 20 Mbps up (not that I think it matters in this case)
HTPC: 4GB ram, G3258, OpenElec 7.0 beta 3 (latest version)
Desktop: 16GB ram, 4670K, Kodi 16.1 (latest version)
Advancedsettings.xml
Code:
<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>192.168.0.191</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.0.191</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>
<videolibrary>
<importwatchedstate>true</importwatchedstate>
<importresumepoint>true</importresumepoint>
</videolibrary>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>1073741824</cachemembuffersize>
<readbufferfactor>50</readbufferfactor>
</network>
</advancedsettings>
As you can see, I am using a buffer of 1GB, 50x read buffer factor & buffering everything.
When I start playing a video, the cache fills up nicely, but stops filling at 500MB, and then just starts to empty without refilling.
Once it is close to 5MB the VQ en AQ start dropping in %, en when 0MB is reached, it just stops playing and goes back to the home screen.
I tought I did something wrong, and copied the example 4 from here.
So if I understood correctly, Kodi should buffer untill 150MB, but use 450MB ram.
After some tests (on both HTPC & desktop), it seems that Kodi fills its cache to 65MB and then falls back to 56MB. It averages between 56.19 and 56.25MB.
So 2 major questions:
- Why is it not refilling its cache when set to cachemembuffersize of 1GB
- Why is it only filling to 65MB & then falling back to 56MB instead of the 150MB
Minor question:
- Why is it saying 'forward' instead of 'cache'?
Thanks in advance.
With kind regards,