Android Caching memory size and other related settings
#1
Hi. I've already done a search about Kodi 21 and the new function of controlling the cache through the services section rather than advanced settings XML. But there isn't much information about this new way of doing things

I'm using kodi on an onn 4K Pro which (according to EZ maintenance) has about 500 MB of memory to spare for Kodi. Based on that I set the memory size in caching to 256 MB. When I did that my files kept crashing. I've since read that this cache setting is actually tripled by Kodi. So 256 MB tripled to 768 MB was obviously far too high. On a device which has about 500 MB of spare memory what should I set this memory setting to be? I'm guessing round about 64 MB would be optimal.

I'm also not sure whether I should change the read factor or the chunk size from the default of 4x and 128 KB.

I play a lot of streams from my Emby server but I play my files from an attached USB and I'm not sure if that needs to be buffered as well or not.

Any advice would be much appreciated
Reply
#2
I'm confused that this has had zero replies. I remember the whole thing about advanced settings.xml had hundreds and hundreds of posts and discussions. Now the advanced settings.xml is redundant for memory cache buffering etc, this question is of no interest? Very odd.
Reply
#3
(2024-09-03, 22:23)Gmjh Wrote: I've already done a search about Kodi 21 and the new function of controlling the cache through the services section rather than advanced settings XML. But there isn't much information about this new way of doing things
Agreed, the information provided so far has been very minimal for such an important function. From my reading, the (right setting) seems to be a case by case situation, dependant on the hardware. Hopefully someone that truly understands it will post a meaningful how-to somewhere.
Reply
#4
(2024-09-04, 16:05)Gmjh Wrote: I'm confused that this has had zero replies. I remember the whole thing about advanced settings.xml had hundreds and hundreds of posts and discussions. Now the advanced settings.xml is redundant for memory cache buffering etc, this question is of no interest? Very odd.

Maybe it's because this has improved a lot and now works fine for 99% of people, even with the default settings. And if you need to change the settings it's easier to do so.

See https://forum.kodi.tv/showthread.php?tid...pid3213154

and https://kodi.wiki/view/Settings/Services/Caching

If you not have issues keep the v21 defaults or new v22 defaults:

Memory Size = 64 MB
Read Factor = Adaptive
Chunk Size = 128 KB
Reply
#5
(2024-10-20, 15:12)jogal Wrote:
(2024-09-04, 16:05)Gmjh Wrote: I'm confused that this has had zero replies. I remember the whole thing about advanced settings.xml had hundreds and hundreds of posts and discussions. Now the advanced settings.xml is redundant for memory cache buffering etc, this question is of no interest? Very odd.

Maybe it's because this has improved a lot and now works fine for 99% of people, even with the default settings. And if you need to change the settings it's easier to do so.

See https://forum.kodi.tv/showthread.php?tid...pid3213154

and https://kodi.wiki/view/Settings/Services/Caching

If you not have issues keep the v21 defaults or new v22 defaults:

Memory Size = 64 MB
Read Factor = Adaptive
Chunk Size = 128 KB

Thank you for this! Did not know advanced is redundant now, much better 🙂 through gui.

I set my settings omega 21.1, shield tv pro 2019 to

mem 512
read adaptive
chunk 1 MB.

my 76.2GB Horizon 2024 4k mkv rip plays excellent. X-Men 2000 4k 52GB rip was stuttering last night, investigated it just now and fixed the problem.

Thank you, and brilliant cache settings in gui!
Reply
#6
(2024-10-20, 15:12)jogal Wrote:
(2024-09-04, 16:05)Gmjh Wrote: I'm confused that this has had zero replies. I remember the whole thing about advanced settings.xml had hundreds and hundreds of posts and discussions. Now the advanced settings.xml is redundant for memory cache buffering etc, this question is of no interest? Very odd.

Maybe it's because this has improved a lot and now works fine for 99% of people, even with the default settings. And if you need to change the settings it's easier to do so.

See https://forum.kodi.tv/showthread.php?tid...pid3213154 tomb of the mask

and https://kodi.wiki/view/Settings/Services/Caching

If you not have issues keep the v21 defaults or new v22 defaults:

Memory Size = 64 MB
Read Factor = Adaptive
Chunk Size = 128 KB
Hello. If I am having problems with the default settings of Kodi v21 or v22, what parameters should I adjust to improve performance?
Reply
#7
(2024-12-13, 09:53)wilmapaige Wrote: what parameters should I adjust
Allows the selection of the chunk size which may improve data throughput. May aid in better playback of high bit-rate UHD files, especially on low-powered devices or slow networks.

Bigger is better https://kodi.wiki/view/Settings/Services/Caching
Reply

Logout Mark Read Team Forum Stats Members Help
Caching memory size and other related settings0