opening SMB shares got much slower

Discussion of XBMC4XBOX development.
Post Reply
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

opening SMB shares got much slower

Post by Smiff »

ok recently updated from 31085 to 31600

this is not good as it's something we do a lot!
bug or feature that's taking more time?

now, there are some offline sources/computers. is this the cause? will try cleaning up sources.xml and report back.

either way it's got much slower!
thanks
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

Re: opening SMB shares got much slower

Post by Smiff »

actually its more interesting than that. log shows its trying to open sources that no longer exist in sources.xml

any ideas why?

errors are c0000034 and 0000122
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: opening SMB shares got much slower

Post by Dan Dar3 »

Have you tried cleaning your library (Settings > Video).

STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034
STATUS_INVALID_COMPUTER_NAME 0xC0000122
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

Re: opening SMB shares got much slower

Post by Smiff »

don't use library but yeah will try, 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: opening SMB shares got much slower

Post by Dan Dar3 »

I would enable it anyway and then try clean, then disable it back. Do you use profiles? Cause I think each profile has it's own source file (could be wrong, just thinking it makes sense).

Might be useful to post a debug log as well (strip sensitive data if you want to, although you can set the pastebin.com upload to expire after a while):
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

Re: opening SMB shares got much slower

Post by Smiff »

i don't use profiles.


enabling library. cleaning, then disabling seems to have sped it right up :D nice.

weird though, as i said i don't use library, and have never used library, so is this a bug? (checking paths it shouldn't be).

the paths are remnants of old sources.xml.

have to think of users finding xbmc slow as s**t and never doing the clean because they wouldn't know to.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: opening SMB shares got much slower

Post by Dan Dar3 »

I'm not sure but I think it might use some tables in the Movies.db to store movie information, whether you use library or not. It's possible when it does the scan it checks those entries as well. You could file a bug if you want...
Smiff
Posts: 125
Joined: Mon Sep 10, 2012 10:39 pm
Has thanked: 5 times
Been thanked: 2 times

Re: opening SMB shares got much slower

Post by Smiff »

sorry im not sure what's with this "rating" bs, i just wanted to thank you.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: opening SMB shares got much slower

Post by Dan Dar3 »

Don't worry about it, it's good you solved it.
Post Reply