Monitoring folders and add/rescan is v/slow in 4.1.12.1799

Beta Testing for Windows Products and plugins

Moderator: Gurus

Monitoring folders and add/rescan is v/slow in 4.1.12.1799

Postby rpsgc » Fri Jun 10, 2016 7:34 am

Like the title says, monitoring folders and the add/rescan function are very slow in the latest build (4.1.12.1799). The problem is not present in the previous build (1798)

Installing 4.1.12.1799 in an SSD makes the process faster but still considerably slower than build 1798 on a regular HDD.


Can replicate it 100% of the time.


(The 4.1.13 Beta build still has 4.1.12.xxxx version number)


EDIT: After some tests it turns out that only monitoring files is slow. Adding files is about the same speed.
Last edited by rpsgc on Sun Jun 19, 2016 12:38 pm, edited 1 time in total.
"MediaMonkey Gold: Lifetime" user, since Oct 2011
rpsgc
 
Posts: 37
Joined: Fri Aug 07, 2009 4:29 pm
Location: Portugal

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby MartinP » Tue Jun 14, 2016 2:57 am

I have the same problem while very slow scaning music folder since 4.1.12.1799. MM and music folder are installed on SATA-III and since the last build scaning very slowly, scann e.g. 40 mp3 files - little break - and than scan the next files. Please look into this because i think it's a bug in build 1799.

Thanks, regards Martin
MartinP
 
Posts: 6
Joined: Fri Nov 18, 2011 12:11 pm

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Lowlander » Tue Jun 14, 2016 11:07 am

I don't see this (4.1.13). Have you recently run File > Maintain Library with complete optimization? Also what node is selected in the Media Tree (how many files shown) as I did it with no files shown in the Filelisting.
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43409
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby rpsgc » Tue Jun 14, 2016 1:29 pm

Lowlander wrote:I don't see this (4.1.13). Have you recently run File > Maintain Library with complete optimization?


Yes, I have.

Lowlander wrote:Also what node is selected in the Media Tree (how many files shown) as I did it with no files shown in the Filelisting.


Doesn't make a difference.


My library has ~20'000 files, if it matters.
"MediaMonkey Gold: Lifetime" user, since Oct 2011
rpsgc
 
Posts: 37
Joined: Fri Aug 07, 2009 4:29 pm
Location: Portugal

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Lowlander » Wed Jun 15, 2016 9:15 am

Capture a debug log (step 4b) of this and send the log to support: viewtopic.php?f=1&t=341
Lowlander (MediaMonkey user since 2003)
Lowlander
 
Posts: 43409
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Ludek » Sun Jun 19, 2016 11:03 am

Thank you for reporting!

I can replicate the issue, to be fixed as http://www.ventismedia.com/mantis/view.php?id=13374

Thanks again.
Ludek
 
Posts: 2236
Joined: Fri Mar 09, 2007 9:00 am

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Ludek » Sun Jun 19, 2016 11:22 am

Sorry, I have to correct myself, in my case it was a test error, I tested 4.1.12 regular versus 4.1.13 debug.

In my case (on 10000 files):
4.1.12 regular: Search and update took 13 seconds
4.1.13 debug: Search and update took 29 seconds
4.1.12 debug: Search and update took 59 seconds

I also checked all changes between 1798 and 1799 and there isn't any change that could have an impact on scanning speed.

So I suppose that in your case it was also a test error or inconsistent results?
Could you please also check the consistency of the results and ensure that in both cases you are using same build types (debug vs regular) for both versions?
Ludek
 
Posts: 2236
Joined: Fri Mar 09, 2007 9:00 am

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby rpsgc » Sun Jun 19, 2016 12:27 pm

Portable MediaMonkey on SSD. Music on 5400RPM HDD. Added ~5000 files to database from the same directory and optimized DB.

Methodology:

- Start MediaMonkey;
- Press "Ins" (the directory with those ~5000 files selected);
- Click "OK".

4.12 -> 3s / 3s / 3s
4.13 -> 1m36s / 1m33s / 1m33s

That's not a typo. Build 1798 takes 3 seconds.

---

Repeated the 3 steps above but with an empty DB.

4.12 -> 26s / 27s / 27s
4.13 -> 29s / 28s / 29s


Conclusion: Only the monitoring files part is very slow. Adding files to the DB is not.

*shrugs*
"MediaMonkey Gold: Lifetime" user, since Oct 2011
rpsgc
 
Posts: 37
Joined: Fri Aug 07, 2009 4:29 pm
Location: Portugal

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Ludek » Sun Jun 19, 2016 1:21 pm

OK,
could you please attach two debug logs (one from 4.12 and the other from 4.13) so that I could compare them to see what is causing the slowdowns?

In both cases please run DbgView prior to MM start so that I can see all messages.

Attach them to the ticket KAR-489-59767 , thanks!
Ludek
 
Posts: 2236
Joined: Fri Mar 09, 2007 9:00 am

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby Ludek » Sun Jun 19, 2016 2:15 pm

Thank you!

It helped ;-)

Based on your logs I finally found the leak and fixed it, will be included in 4.1.13.1800 (to be posted tomorrow)

Thanks again.
Ludek
 
Posts: 2236
Joined: Fri Mar 09, 2007 9:00 am

Re: Monitoring folders and add/rescan is v/slow in 4.1.12.17

Postby rpsgc » Mon Jun 20, 2016 1:29 pm

It's fixed, thanks!
"MediaMonkey Gold: Lifetime" user, since Oct 2011
rpsgc
 
Posts: 37
Joined: Fri Aug 07, 2009 4:29 pm
Location: Portugal


Return to MediaMonkey for Windows 4 Beta Testing

Who is online

Users browsing this forum: No registered users and 6 guests