Date created: Saturday, February 13, 2016 6:44:13 PM. Last modified: Thursday, October 7, 2021 11:09:43 AM

Raspberry Pi 2 Notes

References:
http://kodi.wiki/view/HOW-TO:Modify_the_video_cache

Network caching settings in Kodi

~/.kodi/userdata/advancedsettings.xml

<advancedsettings>
  <network>
    <cachemembuffersize>31457280</cachemembuffersize> Default: 20971520, which is 20MB, which requires 60MB of free RAM 0 - Use the local disk memory instead of RAM xxx - The number is the buffer size in bytes. Kodi will not buffer ahead more than this. For the memory size set here, Kodi will require 3x the amount of RAM to be free.     <buffermode>1</buffermode> Default: 0 0 = Buffer all internet filesystems (like "2" but additionally also ftp, webdav, etc.) 1 = Buffer all filesystems, both internet and local 2 = Only buffer true internet filesystems (streams) (http, etc.) 3 = No buffer     <readbufferfactor>20</readbufferfactor> Default: 1 Kodi will only fill the cache a little above what is needed to play it back. The value of this setting is a multiplier of the default limit. If Kodi is loading a typical bluray raw file at 36 Mbit/s, then a value of 2 will need at least 72 Mbit/s of network bandwidth. However, unlike with the RAM setting, you can safely increase this value however high you want, and Kodi won't crash. Just know that it might cause Kodi to attempt to use all available bandwidth on your HTPC during playback.
  </network>
  <samba>
    <clienttimeout>10</clienttimeout>
  </samba>

iPerf tests (client is the transmitter):

1st (Buffalo WZR-600DHP2, RaspPi2 with TP-LINK TL-WN821N using 2.4Ghz @54Mbps):
TCP RaspPi2 to NAS average 22Mbps
TCP NAS to RaspPi2 average 21Mbps

UDP RaspPi2 to NAS average 35Mbps
UDP NAS to RaspPi2 average 27Mbps

2nd (Buffalo WZR-1750DHP, RaspPi2 with TP-LINK TL-WN821N using 2.4Ghz @54Mbps):
TCP RaspPi2 to NAS average 45Mbps
TCP NAS to RaspPi2 average 34Mbps

UDP RaspPi2 to NAS average 77Mbps
UDP NAS to RaspPi2 average 36Mbps

3rd (Buffalo WZR-1750DHP, RaspPi2 with Netis WF2150 [Ralink RT5572] using 5Ghz @300Mbps):
TCP RaspPi2 to NAS average 47Mbps
TCP NAS to RaspPi2 average 40Mbps

UDP RaspPi2 to NAS average 30Mbps
UDP NAS to RaspPi2 average 54Mbps
RT5572

Previous page: ODROID-N2 Notes
Next page: TP-Link TL-WPA8631P KIT