PDA

View Full Version : Slim Server performance



Jeff Allison
2003-12-03, 09:37
While awaiting my Squeezebox delivery I decided to see how the slim server
works. I installed it on my laptop (Windows XP, 3.07 Ghz Compaq w/512 Mbyte
RAM) without a problem and fired it up. I then followed the "remote
streaming" instructions to listen to my music collection on the local
system. Specifically, I started iTunes and opened the stream
http://127.0.0.1:9000/stream.mp3. Then I opened a Mozilla window pointed to
http://127.0.0.1:9000, which properly brought up the slim server interface.
That's when things went south. I tried to create a playlist, but the CPU
got pegged, the slim.exe process grew to ~50Mbtyes, and the system response
got really s-l-o-w. iTunes sat there waiting for a stream and eventually
noted that the "network stalled." This is a reasonable system, and
everything is local, no network involved. Am I doing something stupid here?

My music collection is 4596 songs, most ripped with iTunes to AAC format,
total of 18.6 Gbytes.

Thanks.

- Jeff

dean
2003-12-03, 10:43
Hi Jeff,

If you are using AAC, you'll need to install the LAME encoder in order
to stream MP3 to your MP3 player.

-dean

On Dec 3, 2003, at 8:37 AM, Jeff Allison wrote:

> While awaiting my Squeezebox delivery I decided to see how the slim
> server
> works. I installed it on my laptop (Windows XP, 3.07 Ghz Compaq w/512
> Mbyte
> RAM) without a problem and fired it up. I then followed the "remote
> streaming" instructions to listen to my music collection on the local
> system. Specifically, I started iTunes and opened the stream
> http://127.0.0.1:9000/stream.mp3. Then I opened a Mozilla window
> pointed to
> http://127.0.0.1:9000, which properly brought up the slim server
> interface.
> That's when things went south. I tried to create a playlist, but the
> CPU
> got pegged, the slim.exe process grew to ~50Mbtyes, and the system
> response
> got really s-l-o-w. iTunes sat there waiting for a stream and
> eventually
> noted that the "network stalled." This is a reasonable system, and
> everything is local, no network involved. Am I doing something stupid
> here?
>
> My music collection is 4596 songs, most ripped with iTunes to AAC
> format,
> total of 18.6 Gbytes.
>
> Thanks.
>
> - Jeff
>
>
>
>

Neal Tucker
2003-12-03, 12:46
Ever since I upgraded to 5.0, there's been something bothering
me: the UI is a tad bit more sluggish than it used to be. For
example, if I have a playlist going and I browse into the library
(on the device UI, not the web UI) and choose some music to add
to the playlist, there's a pause when I hit the "add" button
before it acknowledges that it's adding the selection. It's less
than 1 second, but it's enough to always make me wonder whether
it got my keystroke, so the entire process feels a lot less smooth
than it used to. Just one of those UI polish things that can
affect perception of the product...

-Neal Tucker

dean
2003-12-03, 12:56
Hi Neal,

I do want to keep the UI feeling snappy. Some questions:

Is the SlimServer doing anything else while this is happening? We have
reworked the way we handle network traffic and there might be some
tuning to do there.

Do other navigational operations feel sluggish? Just scrolling around
(up/down/left/right)? Are you browsing folders or in the
Genre/Artist/Album area?

Is your machine more heavily loaded by the new software?

-dean

On Dec 3, 2003, at 11:46 AM, Neal Tucker wrote:

> Ever since I upgraded to 5.0, there's been something bothering
> me: the UI is a tad bit more sluggish than it used to be. For
> example, if I have a playlist going and I browse into the library
> (on the device UI, not the web UI) and choose some music to add
> to the playlist, there's a pause when I hit the "add" button
> before it acknowledges that it's adding the selection. It's less
> than 1 second, but it's enough to always make me wonder whether
> it got my keystroke, so the entire process feels a lot less smooth
> than it used to. Just one of those UI polish things that can
> affect perception of the product...
>
> -Neal Tucker
>

Neal Tucker
2003-12-03, 14:06
dean blackketter says:
> Is the SlimServer doing anything else while this is happening? We have
> reworked the way we handle network traffic and there might be some
> tuning to do there.

Just playing music. The server is a basically-idle Dual 500mhz PIII
running linux.

> Do other navigational operations feel sluggish? Just scrolling around
> (up/down/left/right)? Are you browsing folders or in the
> Genre/Artist/Album area?

No, general browsing feels just as snappy as ever. I am browsing by
artist.

> Is your machine more heavily loaded by the new software?

It's hard to tell, since I never paid attention to the loading before,
as it wasn't an issue. While playing music, slimserver.pl basically
stays below 20% CPU usage, often falling down to less than 1%. There
doesn't seem to be any undue spike in CPU usage when I hit the "add"
button (I cranked top's update delay down to .1 second and watched
while I hit it).

-Neal

dean
2003-12-03, 15:09
When you choose to play are you choosing a folder or a
genre/artist/album?

-dean

On Dec 3, 2003, at 1:06 PM, Neal Tucker wrote:

> dean blackketter says:
>> Is the SlimServer doing anything else while this is happening? We
>> have
>> reworked the way we handle network traffic and there might be some
>> tuning to do there.
>
> Just playing music. The server is a basically-idle Dual 500mhz PIII
> running linux.
>
>> Do other navigational operations feel sluggish? Just scrolling around
>> (up/down/left/right)? Are you browsing folders or in the
>> Genre/Artist/Album area?
>
> No, general browsing feels just as snappy as ever. I am browsing by
> artist.
>
>> Is your machine more heavily loaded by the new software?
>
> It's hard to tell, since I never paid attention to the loading before,
> as it wasn't an issue. While playing music, slimserver.pl basically
> stays below 20% CPU usage, often falling down to less than 1%. There
> doesn't seem to be any undue spike in CPU usage when I hit the "add"
> button (I cranked top's update delay down to .1 second and watched
> while I hit it).
>
> -Neal
>

Neal Tucker
2003-12-03, 16:30
dean blackketter says:
> When you choose to play are you choosing a folder or a
> genre/artist/album?

I almost always browse by artist and choose by album. So
in this instance, I'm browsing by artist, drilling down to
a particular album, and hitting play. Then browsing by
artist again, drilling down to a particular album, and
hitting Rec (my old-school remote's 'add to playlist' button).

-Neal

dean
2003-12-03, 17:06
Are you using MoodLogic, by any chance?

-dena

On Dec 3, 2003, at 3:30 PM, Neal Tucker wrote:

> dean blackketter says:
>> When you choose to play are you choosing a folder or a
>> genre/artist/album?
>
> I almost always browse by artist and choose by album. So
> in this instance, I'm browsing by artist, drilling down to
> a particular album, and hitting play. Then browsing by
> artist again, drilling down to a particular album, and
> hitting Rec (my old-school remote's 'add to playlist' button).
>
> -Neal
>

Neal Tucker
2003-12-03, 17:14
dean blackketter says:
> Are you using MoodLogic, by any chance?

Nope.

(btw: web site bug on http://www.slimdevices.com/su_documentation.html:
click on "SlimServer Plugins" and you're taken to a page that doesn't
seem to have anything to do with plugins)

-Neal