Browsing to a folder with a "lot" of files is very very slow
#1
Hi guys,
Why is it so slow to browse a folder with a "lot" of files in it, and what can I do to fix it?

My main dump dir has 876 files/folders in it at the moment.
The XBox 1 running whichever ancient version of XBMC can browse it with no issues.
Laptop running current Eden locks up for a good few minutes before opening the directory.
Reply
#2
The Debug Log will tell you why.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Here's an excerpt from the log, it's not terribly helpful I'm afraid.
The UI locks up completely for the 90 seconds while it does its thing if that helps?

Code:
19:23:09 T:3492   DEBUG: CWinEventsWin32::WndProcWindow is active
19:23:11 T:3492   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
19:23:11 T:3492   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
19:23:11 T:3492   DEBUG: CGUIMediaWindow::GetDirectory (sftp://coxy:[email protected]:22//Volumes/BWL/blah/blah)
19:23:11 T:3492   DEBUG:   ParentPath = [sftp://coxy:[email protected]:22//Volumes/BWL/blah/]
19:23:11 T:3848  NOTICE: Thread Jobworker start, auto delete: true
19:23:11 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:11 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:11 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:11 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:11 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:25 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:25 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:25 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:25 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:33 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:33 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:33 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:33 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:23:41 T:3848   DEBUG: Thread Jobworker 3848 terminating (autodelete)
19:24:22 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:23 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:24 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:24 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:24 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:25 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:30 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:30 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:30 T:3492   DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy
19:24:30 T:3492   DEBUG: Saving fileitems [sftp://coxy:[email protected]:22//Volumes/BWL/blah/blah/]
19:24:30 T:3492   DEBUG:   -- items: 735, sort method: 0, ascending: false
19:24:30 T:3792  NOTICE: Thread Background Loader start, auto delete: false
19:24:30 T:3492   DEBUG: ------ Window Deinit (Pointer.xml) ------
19:24:31 T:1756   DEBUG: Thread CRemoteControl 1756 terminating

I redacted my password Smile
You should probably not be logging such a thing in plaintext... Tongue
Reply
#4
full debug log needed via pastebin.com

though keeping things in zip and rar files will slow things down.
Reply
#5
19:23:33 T:3492 DEBUG: CZipManager::GetZipList - Processing zip://sftp%3a%2f%2fcoxy

Whatever that one is (you've chopped it off?) is the problem child.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#6
I did try to find the problem zip but they all seemed fine.
Removing them all from the folder made it as fast as the XBox 1. Putting them all back in except for the 19:23:33 files didn't really help.

In the end I used advancedsettings.xml to disable ZIP scanning and it fixed the symptom if not the cause.

Thanks guys.
Reply

Logout Mark Read Team Forum Stats Members Help
Browsing to a folder with a "lot" of files is very very slow0