PDA

View Full Version : Why is loading large playlists so brutally slow?



mhenry1384
2005-05-15, 21:54
Apologies if this has been covered already, but I searched the forum (admittedly briefly) and didn't see it mentioned.

I am running slimserver on Windows XP with an Athalon 64, half gig of memory, all that good stuff.

I have a big (.m3u) playlist as well as some smaller ones. The biggest playlist has 4700 songs and takes 38 seconds to start playing using either my Squeezebox 1 or my Squeezebox 2. Since I can load either one in Winamp in about a second, that seems more than a little unreasonable. I don't believe it was that slow under Slimserver 5. I tried running Slimserver 6 on a 32-bit Athalon computer, same deal. I just installed the new SlimServer Version: 6.0.2 - 3085. Same deal. Loading a playlist with 600 songs takes only 4 seconds, which frankly seems excessive too, but I can survive with that. 38 seconds to load a playlist, however, I cannot accept.

I am not using iTunes. Turning shuffle on or off doesn't appear to matter. My music collection is mostly mp3s, with some .oggs.
While the playlist is loading "slim.exe" seems to suck up all my CPU usage.

What's going on and is there any way of fixing it? I'm not married to .m3u files if using a different playlist format would help.

Phillip Kerman
2005-05-15, 22:11
I wonder if this is related in any way to how slow it takes to do a
browse-folder. Like 10 seconds even when there aren't that many items in
the folder. In any event, it's notably slower than in 5.x

Thanks,
Phillip

Craig, James (IT)
2005-05-16, 02:01
Both browsing folders and playlists do not use the database, so are
slow.

There's a bug for the playlists issue, the folders I doubt anything can
be done.
http://bugs.slimdevices.com/show_bug.cgi?id=1459

James
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

mhenry1384
2005-05-16, 07:56
It's good to know they are working on it...though my curiosity is piqued now - why is it so slow?
Is it scanning the ID3 tags?
If so, why doesn't it read the ID3 tags in the background, like Winamp does?
If so, is there a playlist format that holds the ID3 information so the slimserver wouldn't have to read all the files?

Phillip Kerman
2005-05-16, 10:56
>
> Both browsing folders and playlists do not use the database, so are
> slow.
>
> There's a bug for the playlists issue, the folders I doubt
> anything can
> be done.

Why then does 5.x seem to outperform 6.x at the task of browsing folders?
Anytime someone says something can't be done--especially with software--I
just have to ask why.

Thanks,
Phillip

kdf
2005-05-16, 11:19
because ;)

this question has been answered before. There is a lot more than simply
displaying a directory listing (tho it is closer to this if you set your prefs
to sort by filename). It can be optimised more than it is, but no on is
currently sure exactly how.

If you dont believe that, then, as always, patches are welcome.