tag:blogger.com,1999:blog-85561333116845785.post8017387678999843211..comments2022-06-14T15:02:37.034-07:00Comments on xbmcstuff.bossanova808.net: SMB Streaming issues in Dharma - Using NFS for better streamingBossanova808http://www.blogger.com/profile/15826552081370381053noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-85561333116845785.post-36510580164716841362011-04-16T03:32:17.342-07:002011-04-16T03:32:17.342-07:00You'll need to use autofs (or fstab) to mount ...You'll need to use autofs (or fstab) to mount the shares outside of XBMC - see:<br /><br />http://xbmcstuff.bossanova808.net/2010/09/solution-to-xbmc-idle-hanging-problem.htmlBossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-4388677766511853582011-04-16T01:29:07.657-07:002011-04-16T01:29:07.657-07:00I've the unresponsible hang issue with xbmc wh...I've the unresponsible hang issue with xbmc which I want to solve using NFS shares. I've set up the shares in Hanewin and started ‘Start NFS Server’ and ‘Start SunRPC Port Daemon’ but how will this be added to xbmc ? It still using my SMB shares.<br />Btw I don't have openelec just a normal XBMC Live Dharna 10.1 installation.Unknownhttps://www.blogger.com/profile/07128541185512588518noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-82026067803522603342011-02-08T20:08:34.678-08:002011-02-08T20:08:34.678-08:00It's an old trick from my popcorn hour days (w...It's an old trick from my popcorn hour days (well technically hdx 1000). NFS works much better with them as well.<br /><br />I really see no disadvantages and a lot of the wierd pauses when whipping between folders seem to have been SMB caused. The whole thing is just that bit mroe responsive and glitch free now.Bossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-18903179439777889612011-02-08T19:56:37.143-08:002011-02-08T19:56:37.143-08:00For anyone curious, I did some testing in the last...For anyone curious, I did some testing in the last week of NFS vs. SMB performance and posted the results on my blog. Bossanova - thanks for the original post as it was definitely what gave me the idea to test the differences for XBMC streaming, and they are huge!<br /><br />Test results:<br />http://www.technazgul.com/2011/02/nfs-vs-smb-throughput-for-hd-media.htmlTechNazgulhttps://www.blogger.com/profile/05261009788612505295noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-14865456662315636402011-02-03T17:47:03.043-08:002011-02-03T17:47:03.043-08:00Yeah ok I suspect you're stuffed then. Really...Yeah ok I suspect you're stuffed then. Really paths shouldn't be part of a good DB anyway, if you ask me. And what with my status as a never-developed-a-single-line-of-xbmc-code my vote counts for something, right :)Bossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-68469824221404185822011-02-03T17:41:06.599-08:002011-02-03T17:41:06.599-08:00Thanks for the comment. I'll throw the questi...Thanks for the comment. I'll throw the question out in the XBMC thread tomorrow to see if anyone has figured it out. Re: the nfs://, yep, that was one of my high hopes when I started, but xbmc doesn't support that protocol (yet!).TechNazgulhttps://www.blogger.com/profile/05261009788612505295noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-55351067517621662562011-02-03T15:42:26.529-08:002011-02-03T15:42:26.529-08:00nfs://<host>:<port><url-path>
O...nfs://<host>:<port><url-path><br /><br />Ok that URL got munged...Bossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-11839445299065626772011-02-03T15:40:53.930-08:002011-02-03T15:40:53.930-08:00Did you ask on the forum (try the MySQL thread) - ...Did you ask on the forum (try the MySQL thread) - I'm sure someone has done this (although maybe not with NFS I guess). Technically NFS does have a URL protocol of:<br /><br />nfs://:<br /><br />(see http://www.faqs.org/rfcs/rfc2224.html)<br /><br />..but I am not sure XBMC supports this - have you tried the above exactly?Bossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-41739569632116954102011-02-03T15:23:12.525-08:002011-02-03T15:23:12.525-08:00Quote:
-----
Now, how to do the same on Windows cl...Quote:<br />-----<br />Now, how to do the same on Windows client so they all refer to the same spot? I am not immediately sure but I suspect you could use an NTFS junction point or something. And I know you can mount NFS shares in Windows too, so it should be possible. I'd imaging a clever clogs in the forum could help with this.<br />-----<br /><br />For anyone who lands here in the future trying to accomplish this, I thought I'd post back my results. I spent several hours researching this and it's not possible by any means I can figure out (though I will be happy to be proven wrong).<br /><br />The problem is that for the video paths to work the same on all systems, you either<br /><br />- have to use a URL protocol (i.e. SMB, which we rule out for reasons above),<br /><br />- force Linux to recognize a Windows drive letter format (C:\), which Windows will not do. <br /><br />- force Windows to recognize a linux root-like file structure (/mnt), which it throws up all over.<br /><br />I tried several other more creative options (smylinks, junctions, directly accessing \\ directories, etc.) and in the end, I succumbed to the fact that this isn't possible. <br /><br />Given that I have more Linux systems than Windows, I'll probably just leave my Windows systems to fend for themselves DB-wise and get all of the Linux boxes reading from the same DB and call it a small victory.TechNazgulhttps://www.blogger.com/profile/05261009788612505295noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-41266900000427575852011-01-31T20:24:30.827-08:002011-01-31T20:24:30.827-08:00My system is a Windows 7 Ultimate server, sharing ...My system is a Windows 7 Ultimate server, sharing files via Hanewin NFS to two linux clients (Openelec). But the basica principle is the same - you use any one of the possible systems (i.e. openelec's .config/netmount.conf, or on a Live/XBMCFreak install you use either fstab or autofs to mount your NFS shares) - if using multiple machines & MySQL (as I am), just specify the mountpoint to be the same on all machines (I use /storage/mount/Share 01 etc). Thus the local paths are all the same, and the MySQL DB sees the references as all the same. Works a treat.<br /><br />Now, how to do the same on Windows client so they all refer to the same spot? I am not immediately sure but I suspect you could use an NTFS junction point or something. And I know you can mount NFS shares in Windows too, so it should be possible. I'd imaging a clever clogs in the forum could help with this.<br /><br />I actually got info straight from one of the XBMC devs that with Dharma they moved from XBMC internal SMB code to system SMB code. Hence the sudden occurence of buffering issues, but I presume it means a lot less to maintain for them. In any case, NFS works WAY better - obviously MUCH MUCH better with dodgy networks, but even over full wired ethernet it makes things that bit snappier and more responsive. Definitely worth the hassle.<br /><br />(I would think a ReadyNAS can share with NFS too, they used to before Netgear gobbled them up, anyway).Bossanova808https://www.blogger.com/profile/15826552081370381053noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-47978376282641739762011-01-21T14:42:58.094-08:002011-01-21T14:42:58.094-08:00I just built an OpenELEC Beta 4/Shuttle XS35GT com...I just built an OpenELEC Beta 4/Shuttle XS35GT combination, using a OCZ Vertex 2 (60GB) inside the XS35GT, and a wired ethernet connection to my Netgear router. I also have a Netgear ReadyNAS Duo (initially configured with SMB only), and have been VERY disappointed with the streaming performance - excessive pause for buffering, large initial wait to begin video).<br /><br />I went to openELEC with the hope that the same issue I was experienced with a Dharma install would be alleviated - but it wasn't! Should I blame SMB? I've enabled NAS on the ReadyNAS in hope that my dreams of streaming media from a redundant repository on the NAS to my XBMC wasn't a pipedream?<br /><br />Comments/suggestions on tuning?Unknownhttps://www.blogger.com/profile/17439058130694102663noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-2359641847900758582011-01-19T18:30:38.201-08:002011-01-19T18:30:38.201-08:00Good writeup, thanks for posting. I've got a ...Good writeup, thanks for posting. I've got a similar solution running with a shared thumbnails directory shared among all servers and shared library among all servers using the MySQL DB in advancedsettings. One limitation (AFAIK) with using a shared DB between Windows & Linux is that you are stuck using SMB on all machines so that the paths on all machines are the same and the library can be shared among all servers. <br /><br />Is there a way that a Windows machine running XBMC could access the movie directories via CIFS as well so that all machines share the same paths to the content, or would this only work for Linux machines accessing a Windows file share?TechNazgulhttps://www.blogger.com/profile/05261009788612505295noreply@blogger.comtag:blogger.com,1999:blog-85561333116845785.post-10845725617549301482011-01-16T04:52:29.299-08:002011-01-16T04:52:29.299-08:00This is good to know. I've had buffering issu...This is good to know. I've had buffering issues streaming from my WHS when copying large files to it. Turns out there is a lot of controversy regarding a service that MS is running on WHS. If I disable the Drive Extender Migrator Service from running, I have no buffering issues. As a result, I've scheduled the service to only run when we're not usually in the house.<br /><br />Thanks for the info. If I have any more problems, I may look into doing this.Craighttps://www.blogger.com/profile/14166457464552447118noreply@blogger.com