Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Senior Member
    Join Date
    Nov 2019
    Posts
    101

    Extreme difference in library scan times between servers ?

    I have one server, and am in the process of setting up the second one:

    One fully functioning on an Odroid XU4 (Samsung Exynos5422 Cortex™-A15 2Ghz and Cortex™-A7 Octa core CPUs, 2Gbyte LPDDR3 RAM PoP stacked, Logitech Media Server Version: 7.9.2), scanning entire library of about 300.000 songs w/same scanning settings, plugins etc. took about 7 hours. This was reading the files from the NAS mounted as a NFS mount drive on the XU4.

    One setting up on a Synology DS415PLAY (Intel Atom Dual Core 1.6GHz, DDR3 1GB RAM, WD 4*6TB disks, Logitech Media Server Version: 7.7.6), in about 12 hours it has scanned only about 6000 songs. This should be FASTER than the XU4 really shouldn't it, since it is installed on and reads the audio files directly from the same NAS the LMS is installed on ?

    Thank you for your help! I LOVE Logitech Media Server!

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,391

    Extreme difference in library scan times between servers?

    > One setting up on a Synology DS415PLAY (Intel Atom Dual Core 1.6GHz,
    > DDR3 1GB RAM, WD 4*6TB disks, Logitech Media Server Version: 7.7.6), in
    > about 12 hours it has scanned only about 6000 songs. This should be


    That certainly sounds wrong. Shouldn't take more than a few minutes.

    Please check your scanner.log and server.log files for any hint about a
    failure.

    (and then update to pinkdot's 7.9.2 build)

    --

    Michael

  3. #3
    Senior Member
    Join Date
    Nov 2019
    Posts
    101
    Quote Originally Posted by mherger View Post
    > One setting up on a Synology DS415PLAY (Intel Atom Dual Core 1.6GHz,
    > DDR3 1GB RAM, WD 4*6TB disks, Logitech Media Server Version: 7.7.6), in
    > about 12 hours it has scanned only about 6000 songs. This should be


    That certainly sounds wrong. Shouldn't take more than a few minutes.

    Please check your scanner.log and server.log files for any hint about a
    failure.

    (and then update to pinkdot's 7.9.2 build)

    --

    Michael

    Hey, GREAT tip about the 7.9.2 build! Thank you very much! I ended up installing the one from the SynoCommunity repo and am now reinstalling from scratch the pinkdot build.

  4. #4
    Senior Member
    Join Date
    Nov 2019
    Posts
    101
    Quote Originally Posted by echable View Post
    Hey, GREAT tip about the 7.9.2 build! Thank you very much! I ended up installing the one from the SynoCommunity repo and am now reinstalling from scratch the pinkdot build.

    In the end, full library scan on XU4 took 06:38:30, on the DS415PLAY it took 19:11:59.

    And library is on NAS, the XU4 is reading it through an NFS mounted drive from the NAS. So I guess my 80E XU4 is three times (at least) faster than my thousand euro NAS .... Only difference is NAS is running

    Logitech Media Server Version: 7.9.2 - 0027.1571226194 @ Wed Oct 16 14:24:12 CEST 2019 (latest Pinkdot build)

    while XU4 is running

    Logitech Media Server Version: 7.9.2 - 1572699180 @ Sat Nov 2 14:15:45 CET 2019 (installed through DietPI OS software installer)



    Since the disk read speed logically can't be the bottleneck, it must be the 1gb RAM on the NAS vs. the 2gb RAM on the xu4 that makes the difference ? Or the LMS build ?

  5. #5
    Senior Member
    Join Date
    Aug 2012
    Location
    Austria
    Posts
    980
    Quote Originally Posted by echable View Post
    Since the disk read speed logically can't be the bottleneck, it must be the 1gb RAM on the NAS vs. the 2gb RAM on the xu4 that makes the difference ? Or the LMS build ?
    RAM almost certainly won't be the root cause, LMS doesn't use that much (~500MB for LMS should be ample. To make sure, check settings>performance if you even have enabled high memory settings, and check actual usage with e.g htop), and for a scan, memory-based caching is basically irrelevant anyway.
    One possible reason might be the write speed of the storage where the LMS databases are located. If e.g. they are on the EMMC storage on the XU4 and on a slow HDD on the NAS, this will make quite a difference. Worst case is if they are on the same drive as the audio files.
    Various SW: Web Interface | Playlist Editor / Generator | Music Classification | Similar Music | Announce | EventTrigger | LMSlib2go | ...
    Various HowTos: build a self-contained LMS | Bluetooth/ALSA | Control LMS with any device | ...

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,391

    Extreme difference in library scan times between servers?

    > RAM almost certainly won't be the root cause, LMS doesn't use that much
    > (~500MB for LMS should be ample. To make sure, check
    > settings>performance if you even have enabled high memory settings, and
    > check actual usage with e.g htop), and for a scan, memory-based caching
    > is basically irrelevant anyway.


    Memory is super important during a scan. With a library the size of
    echable's the difference between high and max can be massive.

    echable: looking at the scanner stats, how are those hours distributed?
    Is there one step which takes considerably longer on one system vs. the
    other?

    > One possible reason might be the write speed of the storage where the
    > LMS databases are located. If e.g. they are on the EMMC storage on the
    > XU4 and on a slow HDD on the NAS, this will make quite a difference.


    This is particularly true if you run low on memory.

    --

    Michael

  7. #7
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    4,601
    As the library is on the NAS the bottleneck is probably the network interface on the Pi

    Up until Pi4 the NIC was 100mb and shares the same bus as the USB ports. It was the Pi's weakest point.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  8. #8
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,847
    Quote Originally Posted by d6jg View Post
    As the library is on the NAS the bottleneck is probably the network interface on the Pi

    Up until Pi4 the NIC was 100mb and shares the same bus as the USB ports. It was the Pi's weakest point.
    He isn't using a Pi and the slow server is installed on the NAS.

    Sent from my SM-G900F using Tapatalk

  9. #9
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    4,601
    Quote Originally Posted by slartibartfast View Post
    He isn't using a Pi and the slow server is installed on the NAS.

    Sent from my SM-G900F using Tapatalk
    Apologies. Where did I get the idea of a Pi from? No idea.
    Ignore me
    VB2.4 storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  10. #10
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,847
    Quote Originally Posted by d6jg View Post
    Apologies. Where did I get the idea of a Pi from? No idea.
    Ignore me
    Diet Pi was mentioned, maybe that was it.

    Sent from my SM-G900F using Tapatalk

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •