Posts by antonsn


    @antonsn
    Use <network> for Kodi 16 and before
    Use <cache> for Kodi 17 and above.
    <memorysize> is "xxxMB cache" so convert to bytes, so 200MB is 209715200

    Also read the header - The RPi3 may have 1G ram but only about 480MB of that is available.

    [Conclusion]
    For high bit rate over Ethernet a memorysize of 314572800 and a readfactor of 20 should suffice - as long as no other processes are running and using memory, transmission/SQL etc.

    However, if multiple videos are watched, the system may still run out of memory - keep an eye on the memory usage and if it drops to less than 50MB decrease the memorysize by 50MB.

    Hello,

    I looked in logs I have:
    16:49:12.182 T:1962029056 NOTICE: Starting Kodi (17.0 Git:a10c504). Platform: Linux ARM 32-bit
    .....
    16:49:12.465 T:1962029056 NOTICE: Contents of special://profile/advancedsettings.xml are...
    <advancedsettings>
    <cache>
    <buffermode>1</buffermode>
    <memorysize>314572800</memorysize>
    <readfactor>20</readfactor>
    </cache>
    </advancedsettings>

    ...
    16:49:12.849 T:1962029056 NOTICE: cache.memorysize: 300MB libass.cache: 0MB

    It looks values are used. But when I start playing file I can not see buffering and memory stays the same round 100MB

    LibreELEC:~ # free
    total used free shared buffers cached
    Mem: 753340 281448 471892 5600 40508 129736
    -/+ buffers/cache: 111204 642136

    I also tried <advancedsettings>
    <cache>
    <buffermode>1</buffermode>
    <memorysize>814572800</memorysize>
    <readfactor>40</readfactor>
    </cache>
    </advancedsettings>

    Cannot see any changes :(


    When you change advancedsettings.xml do you reboot each time? Or at least restart kodi to reload the new settings?

    Yes, rebooted and tried different versions of advancedsettings.xml with

    <advancedsettings>
    <network>
    <buffermode>1</buffermode>
    <cachemembuffersize>139460608</cachemembuffersize>
    <readbufferfactor>20</readbufferfactor>
    </network>
    </advancedsettings>

    or
    <cache>
    <memorysize></memorysize> <!-- number of bytes used for buffering streams in memory
    <buffermode></buffermode> <!-- Choose what to buffer:
    <readfactor></readfactor>
    </cache>

    Whatever I tried it only consumes 100Mb from 1000MB available on my pi3
    [hr]

    Thank you, will try today.

    What is your <memorysize></memorysize> value in those tests?
    Thanks