Scan too slow

Need help? Post your questions here.

Scan too slow

Unread postby Tak-MK » 15 Sep 2017, 10:17

Hi :D
I was trying madsonic (premium) to compare it over subsonic, and for now I like all the addons it has :) Thanks!
But I have one issue, my music is on a nfs share, and both subsonic and madsonic have access to it, but when scanning (excluding the first time, obviously), subsonic goes at 1000 songs per second, and madsonic at 300 songs per second.
I have near 1.5TB so it takes a loooong time to finish the scan.
There are no errors in the logs, any idea?

Code: Select all
=========================================================================================
 VERSION:      Madsonic 6.3.9560.3e2ad42.20170712.0529
 SERVLET:      Integrated with madsonic, i suppose it's Jetty.
 SERVER:       CPU: i5-3470T | ARCH: X64 | MEMORY: 2GB | HDD: 6TB
 OS:           Debian 9
 SYSTEM:       Server
 INSTALLER:    Deb
 JAVA:         OpenJDK 8
 BROWSER:      Any
 CLIENT:       Madsonic 6.3
 DESCRIPTION:  Slow Scan
 REPRODUCIBLE: Yup
=========================================================================================


Thanks a lot! :D
User avatar
Tak-MK
 
Posts: 26
Joined: 14 Sep 2017, 17:34
Has thanked: 4 times
Been thanked: 12 times

Re: Scan too slow

Unread postby Tak-MK » 21 Sep 2017, 10:36

I though if this can be because madsonic reads extra tags than subsonic (?). It can be?
User avatar
Tak-MK
 
Posts: 26
Joined: 14 Sep 2017, 17:34
Has thanked: 4 times
Been thanked: 12 times

Re: Scan too slow

Unread postby Tak-MK » 26 Sep 2017, 09:27

Up? :(
User avatar
Tak-MK
 
Posts: 26
Joined: 14 Sep 2017, 17:34
Has thanked: 4 times
Been thanked: 12 times

Re: Scan too slow

Unread postby Tak-MK » 20 Oct 2017, 11:45

Scans went from ~100 songs / second to ~300 songs / second, but still below from Subsonic.
Maybe a button for scanning only one media folder at a time it would be useful, so I don't have to wait for a entire scan, o setting a 2 minutes scan per any folder and wait for it.

Thanks!
User avatar
Tak-MK
 
Posts: 26
Joined: 14 Sep 2017, 17:34
Has thanked: 4 times
Been thanked: 12 times

Re: Scan too slow

Unread postby daria19 » 12 Mar 2018, 06:59

Hello...

I recently puchased madsonic and when I used it, it runs too slow.., I use it on linux platform...
So can you please suggets me what should I do...???
daria19
 
Posts: 1
Joined: 12 Mar 2018, 06:41
Has thanked: 0 time
Been thanked: 0 time

Re: Scan too slow

Unread postby Matt Zornig » 06 May 2018, 03:45

There is a Fast access mode in the Media Folder Configuration
(Use this option to minimize disk access, for instance if your media files are located on a network disk.
Note: Changes to files will only be visible after your media folders are scanned.)

Also, Scanmode Metadata in the Admin Panel could be responsible for slower/faster scanning of files. See here.

First time scans always take much longer as scans where only difference is checked.

Network Shares mostly will take much longer to scan as Local Drives, also there can be 1000 of reasons, why scanning is slow, i.e. Virusscan, other process which use disc drive at the same time.
I.e. its not a good idea to scedule a scan for SubSonic and Madsonic at the same time.

Some ppl. told me, that NFS is faster than SAMBA, but I made contrariwise experiences on my systems.

It also depends on the (meta)data which is to scan (I have enabled multiTag support, advanced IDTag support and Custom Tags via Settings -> ID3-Tag, so it will take even longer to process all the files, I guess.

I don't exaclty know for sure how Madsonic handles this, but maybe if a user has >3 Media folders configured, they all will scan at the same time and thats not good for disk I/O as well. Sequentiell scanning is better/faster as parallel (well at least, on my old 5400rpm SATA discs).

Its hard to tell and there is no "scan faster" button, unfortunately ;-)

P.S.

Serverlog (from left NavigationBar) is a good place to check how long how many files need to be scanned.
Code: Select all
[5/6/18 4:51 AM]    INFO    MediaScannerService    Scanned media library with 238500 entries.
[5/6/18 4:51 AM]    INFO    MediaScannerService    Scanned media library with 238000 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 237500 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 237000 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 236500 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 236000 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 235500 entries.
[5/6/18 4:50 AM]    INFO    MediaScannerService    Scanned media library with 235000 entries.
[5/6/18 4:49 AM]    INFO    MediaScannerService    Scanned media library with 234500 entries.
[5/6/18 4:49 AM]    INFO    MediaScannerService    Scanned media library with 234000 entries.
[5/6/18 4:49 AM]    INFO    MediaScannerService    Scanned media library with 233500 entries.
[5/6/18 4:49 AM]    INFO    MediaScannerService    Scanned media library with 233000 entries.
[5/6/18 4:49 AM]    INFO    MediaScannerService    Scanned media library with 232500 entries.
[5/6/18 4:48 AM]    INFO    MediaScannerService    Scanned media library with 232000 entries.
[5/6/18 4:48 AM]    INFO    MediaScannerService    Scanned media library with 231500 entries.
...
[5/6/18 3:30 AM]    INFO    MediaScannerService    Scanned media library with 57500 entries.
[5/6/18 3:29 AM]    INFO    MediaScannerService    Scanned media library with 57000 entries.
[5/6/18 3:29 AM]    INFO    MediaScannerService    Scanned media library with 56500 entries.
[5/6/18 3:29 AM]    INFO    MediaScannerService    Scanned media library with 56000 entries.
[5/6/18 3:29 AM]    INFO    MediaScannerService    Scanned media library with 55500 entries.
[5/6/18 3:28 AM]    INFO    MediaScannerService    Scanned media library with 55000 entries.
[5/6/18 3:28 AM]    INFO    MediaScannerService    Scanned media library with 54500 entries.
[5/6/18 3:28 AM]    INFO    MediaScannerService    Scanned media library with 54000 entries.
[5/6/18 3:28 AM]    INFO    MediaScannerService    Scanned media library with 53500 entries.
[5/6/18 3:28 AM]    INFO    MediaScannerService    Scanned media library with 53000 entries.
[5/6/18 3:27 AM]    INFO    MediaScannerService    Scanned media library with 52500 entries.
[5/6/18 3:27 AM]    INFO    MediaScannerService    Scanned media library with 52000 entries.
[5/6/18 3:27 AM]    INFO    MediaScannerService    Scanned media library with 51500 entries.
[5/6/18 3:27 AM]    INFO    MediaScannerService    Scanned media library with 51000 entries.
[5/6/18 3:26 AM]    INFO    MediaScannerService    Scanned media library with 50500 entries.
User avatar
Matt Zornig
Contributor
Contributor
 
Posts: 230
Joined: 14 Feb 2017, 12:03
Has thanked: 34 times
Been thanked: 19 times


Return to Support 6.x

Who is online

Users browsing this forum: No registered users and 2 guests