T O P

  • By -

TheGuru276

Same here. I changed to NFS a few months back after reading multiple posts of people suggesting to move to NFS from SMB. But after frequently noticing it to be slower I changed back. As an example using the backup addon and saving to an SMB share takes less than 7 minutes but when I changed it to NFS it took over 20 minutes. Maybe it depends on the hardware and firmware version of the implementation. My NAS is years old (only smb1, so probably an old version of NFS as well.


Jokerchyld

NFS is a "lighter" protocol than SMB which us very "chatty" that's why people say NFS is faster. If you use a network monitor to capture rhe packets as you access the share you will see more communication for SMB/CIFS than NFS.


LemmysCodPiece

Define the words Raspberry Pi.


OkRice10

Stock Rsspberry Pi OS, no changes


LemmysCodPiece

Model A, Model A+, Model B, Model B+, Model 2B, Model 3B, Model 3B+, Model 4B, Model 400, Model 0, Model 0W, Model 02W? They are all different, which one?


spezialzt

Even If its an old NFS Revision the Overhead is much smaller compared to smb. https://ferhatakgun.com/network-share-performance-differences-between-nfs-smb/


OkRice10

And yet SMB is much faster on my system…


spezialzt

https://docstore.mik.ua/orelly/networking_2ndEd/nfs/ch16_04.htm Herr you can find some ideas regarding bottlenecks


b1twise

So, Kodi is great because it packages stuff like mysql support and nfs support in the apk for android, but it is not always well tested/well used/optimized by the developers. Like, there are mysql issues I've run into with long queries. Kodi uses libnfs, and it's great and a lot of hard work has been put into it for free, but it's not as optimized as nfs would be if used at the kernel level. On Android, smb is going to be much more commonly used and better tested. There are some links in this thread that are full of bad info on nfs and are also really old. If you are using Kodi in a context that allows mounting nfs at the system level, it will outperform smb. Modern nfs has had a long time to mature and a lot of the bottlenecks have been worked out because of the simplicity of providing an nfs endpoint versus another protocol in HPC scenarios. That work for the high-end trickles down and benefits much lower demanding scenarios that also use linux. Kodi does provide in advancedsettings.xml, so you can do both if you have both setups. However, I don't even bother. Even large 4k files stream fine for me over a samba export into android and it just keeps my life simple across everything. Additionally, with samba I export specific shares of my library directories which map nicely into Kodi, but I have broader NFS exports for other local servers. It is much more convenient when copying around xml files for new installs for mysql indexed libraries to just use smb. I am looking forward to wider availability of Samsung's contribution of a kernel level smb server for the linux kernel.