[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok-devel
Subject:    Re: Slow scanning of music directories
From:       "Ian Monroe" <ian () monroe ! nu>
Date:       2008-12-14 5:44:58
Message-ID: f680fec50812132144jd7b5538ub300ee70eeb07dce () mail ! gmail ! com
[Download RAW message or body]

On Sat, Dec 13, 2008 at 10:29 PM, Big O <illogical1@gmail.com> wrote:
> For a while now I've been sitting on this bug, actually I started noticing
> it ever since we switched over to using mysql-embedded.
> I have a 25 Gb ~/Music directory in OS X (there is an additional 10 GB in
> /Volumes). The issue is scanning this ~/Music directory became painfully
> slow after switching to mysqle. It seems as if it was even slower than with
> sqlite.
> I just moved a directory and the update collection scan took at least five
> minutes to update that 25 GB collection. I say at least five minutes because
> I only noticed after the fan on my laptop got noisy because Amarok's CPU
> usage was > 100% (amarokcollectionscanner itself was using around 16%
> consistently).
> This means it took > five minutes (7-8 perhaps) to update a collection
> whenever new music lands in the watch path. This is, all kinds of
> unacceptable, primarily because of the CPU usage involved; also because this
> isn't even all of my music yet. Does anyone have any idea of what's going on
> and whether or not this is "normal".

7-8 minutes to do a total rescan of 25 gigs is quite fast. Which is
probably what is happening.

So the problem is that incremental scanning isn't working correctly likely.

What directory is having a file added to it? Is it a top-level directory?

Ian
_______________________________________________
Amarok-devel mailing list
Amarok-devel@kde.org
https://mail.kde.org/mailman/listinfo/amarok-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic