How can it open big folders so fast?

Here you can discuss things that are not directly related to running or using XBMC4XBOX.
Post Reply
javiertoti
Posts: 4
Joined: Sun Nov 03, 2013 2:34 am

How can it open big folders so fast?

Post by javiertoti »

Hi. Does anyone know how can the xbox1 open the LAN folders with a lot of files so fast?

I've recently purchased an intel Nuc i3 with 4gb of ram and it isn't as fast as my xbox1 to do this and it's very frustrating. Is it related with the cache, membuffer or SMB?


A lot of thanks.
User avatar
Xphazer
Posts: 524
Joined: Wed Jul 04, 2012 4:39 am
Location: Montréal
Has thanked: 240 times
Been thanked: 106 times

Re: How can it open big folders so fast?

Post by Xphazer »

Are you using library mode ?
When you are using file mode, it need to "scan" the contain of the folder each time you access it. Of course there will be a delay.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: How can it open big folders so fast?

Post by Dan Dar3 »

Your answer might lie with the OS / drivers / configuration running on your Intel NUC - might not have to do much with the CPU or the amount of RAM, but more with the LAN drivers and the OS network sub-system. If you provide some more info on the unit mode and OS we might be able to help.
javiertoti
Posts: 4
Joined: Sun Nov 03, 2013 2:34 am

Re: How can it open big folders so fast?

Post by javiertoti »

Xphazer wrote:Are you using library mode ?
When you are using file mode, it need to "scan" the contain of the folder each time you access it. Of course there will be a delay.
No I don't use library mode neither xbox nor intel Nuc.
Dan Dar3 wrote:Your answer might lie with the OS / drivers / configuration running on your Intel NUC - might not have to do much with the CPU or the amount of RAM, but more with the LAN drivers and the OS network sub-system. If you provide some more info on the unit mode and OS we might be able to help.
Dan Dar3, i'm newbie with Linux but I can tell you some specs of my system if it helps.

Intel Nuc i3 D34010WYK , 4gb ram, 60 mSata. Intel Gigabit ethernet port (and controller?). OpenELEC-Generic.x86_64-devel-20140116145133-r17009-gd6c28f3

Remote storage- Windows7 x64. Mainboard gigabit ethernet but not the 2 routers, only 10/100. All wired with UTP Cat5e.

Do you need more information? A LOT OF THANKS.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: How can it open big folders so fast?

Post by Dan Dar3 »

You seem to be running OpenELEC (XBMC) on your Intel NUC and your storage is on Windows 7 x64.

Just to prove whether there is something wrong at the SMB client level, I would suggest installing on your Windows 7 "server" either IIS FTP (probably easier to manage and you can use the same user you used for SMB sharing) or FileZilla FTP server (alternative option if you can or don't want to use IIS), then add this new FTP source on your OpenELEC.

http://www.lockergnome.com/windows/2012 ... windows-7/

If this proves faster, then we need to find a way to tweak your SMB client, or if you are happy with it as it you can just keep using FTP instead of SMB. You can share the same resources on your Windows machine through FTP as well as SMB. You can try the new FTP source(s) with your Xbox as well.

PS: You could also give WebDAV a shot while at it in IIS - I'll try it myself this evening and write a tutorial about it soon.
http://www.slickit.ca/2009/07/webdav-on-windows-7.html
User avatar
Xphazer
Posts: 524
Joined: Wed Jul 04, 2012 4:39 am
Location: Montréal
Has thanked: 240 times
Been thanked: 106 times

Re: How can it open big folders so fast?

Post by Xphazer »

If you are using file mode, you will always have that delay then. And you are loosing some nice features that only library mode would give you.
Use library mode, no mater what you do file mode is still going to check for covers, infos and other things each time you open a folder.
javiertoti
Posts: 4
Joined: Sun Nov 03, 2013 2:34 am

Re: How can it open big folders so fast?

Post by javiertoti »

Dan Dar3 wrote:You seem to be running OpenELEC (XBMC) on your Intel NUC and your storage is on Windows 7 x64.

Just to prove whether there is something wrong at the SMB client level, I would suggest installing on your Windows 7 "server" either IIS FTP (probably easier to manage and you can use the same user you used for SMB sharing) or FileZilla FTP server (alternative option if you can or don't want to use IIS), then add this new FTP source on your OpenELEC.

http://www.lockergnome.com/windows/2012 ... windows-7/

If this proves faster, then we need to find a way to tweak your SMB client, or if you are happy with it as it you can just keep using FTP instead of SMB. You can share the same resources on your Windows machine through FTP as well as SMB. You can try the new FTP source(s) with your Xbox as well.

PS: You could also give WebDAV a shot while at it in IIS - I'll try it myself this evening and write a tutorial about it soon.
http://www.slickit.ca/2009/07/webdav-on-windows-7.html
I've tried with NFS and it's very similar to SMB, for example. The first time of load a big folder (with the system turns on) the SMB needs 2,5" for open and NFS 3"... . The second time SMB needs 1,9" and NFS only 1"

I have not been able to make work the Webdav, pretty close but I don't know what to do once I've got the virtual shared folder.

I'm also having difficults to make a LAN ftp server. When I will get it I tell you.
Xphazer wrote:If you are using file mode, you will always have that delay then. And you are loosing some nice features that only library mode would give you.
Use library mode, no mater what you do file mode is still going to check for covers, infos and other things each time you open a folder.
Thanks for the advise. Maybe I haven't used in years but I don't find it usefull for my use. I think library It's fine for people who makes folders with a single type of contents, a folder for series, a folder for movies, etc.

I use one folder for all usually :D some movies and series disappears in library mode, above all because I use spanish titles I think.


ANYWAY


If my xbox1 reads from the same source as intel NUC, how is it possible the xbox do this task faster?
Post Reply