2 XBMC PCs and 1 Database on the shared NAS - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/forumdisplay.php?fid=59)
+---- Thread: 2 XBMC PCs and 1 Database on the shared NAS (/showthread.php?tid=70603)
- MrDVD - 2010-03-26 18:55
"Very fast" mean how much MB/sec ?
- bradvido88 - 2010-03-26 19:23
MrDVD Wrote:"Very fast" mean how much MB/sec ?
Throughput isn't the problem here; the problem is file access time with the myriad of images it has to seek through.
Any wired (100, or 1000) network performs just fine for throughput. That's why we can watch 1080p movies over the network. However, seek time is a whole other issue that is what hits us in this case
- rtrimarchi - 2010-03-26 19:33
charrua Wrote:First I copied the thumbnails folder inside userdata to the server, then I shared that path from the server, renamed the thumbnails folder inside userdata folder in the client machine to thumbnails.old (to avoid its deletion) and finally made a NTFS directory symbolic link pointing to the shared folder in my server with the command:
I have done EXACTLY what you said......
1 - copied on the server and shared it with EVERYONE with FULL CONTROL
2 - renamed the local one
3 - then opened a cmd window
4 - went to c:\Users\riccardo\Appdata\Roaming\XBMC\userdata
5 - typed: C:\Users\riccardo\AppData\Roaming\XBMC\userdata>mklink /D Thumbnails \\192.168.0.12\Thumbnails\
I get an error message that says I don't have enough priviledges to do it
- charrua - 2010-03-26 19:35
MrDVD Wrote:"Very fast" mean how much MB/sec ?Around 65MB/s (it is limited more by the disk speed than the network speed). Anyway remember that the bandwith is not the most important factor here, the latency is... As stated before, latency (access time each file) becomes more relevant when accesing a bunch of small files (like the images in the cache) and that is what I think is causing XBMC actions to slowdown when using a networked cache rather than the local one.
Let's wait and see what are the results for the other people testing the networked cache option.
- charrua - 2010-03-26 19:40
rtrimarchi Wrote:I have done EXACTLY what you said......Yes, you need administrative privileges to create a folder (or a directory symbolic link in this case) inside the AppData folder.
Try opening a cmd window as administrator and run the command again.
- rtrimarchi - 2010-03-26 19:44
just realized that....
I will let you know about the speed
- rtrimarchi - 2010-03-26 19:53
I cannot believe
I do NOT see any difference
My network is all gigabit....
- charrua - 2010-03-26 19:58
rtrimarchi Wrote:I cannot believeThat's great news!
Then the problem should be somewhere in my particular setup...
Thanks for testing.
- rtrimarchi - 2010-03-26 20:41
Now that thumbnails, fanarts and pictures are in a common place......
Can I implement ALSO the mysql solution you proposed before at the same time
Because right now,
with ONLY the thumbnails folder moved to the COMMON PLACE (taken from PC1), if I set up PC2 to get his thumbnails from the common place too, I'm almost positive that PC2 will not recognize those thumbnails because his (PC2) mysql DB is not the same as the one on PC1, which is where the common thumbnails came from......
Tell me if I haven't been clear (I'm Italian )
- charrua - 2010-03-26 21:24
rtrimarchi Wrote:OK ...Don't worry, it's very clear...
Yes, you can implement both solutions simultaneously.
Just remember this: Before changing your db from local to central (SQLite to MySQL) you should export the library (using XBMC export feature, choose one file export option) and then import it after making the jump to MySQL (using XBMC import feature). You only need to do that with one of the XBMC "clients", because you will have both a shared db and a shared image cache, so any XBMC instance will update info and images for all XBMC clients.