PDA

View Full Version : Mac Slimserver more resource hungry than Windows?



mmcguff
2006-04-30, 11:56
My Win 2000 server died the other day. I COULD fix it, but I have been looking for an excuse to move to a Mac Mini (Intel, dual core) for my server, so this seemed like a good time to do that. So, to test things out, I installed Slimserver on my Powerbook (1.25 GHz G4, 1.5 Gb). I had been using 6.5 on Windows, so I went with that for the Mac. Under Windows (2 GHz Athlon, 512 Meg), I wasn't having any real problems with dropouts. On my Powerbook, I have been having constant dropouts. Since both servers were wired, wireless reception should be identical. It will play a track or so, then it will just play a fraction of a second and then freeze for 10-30 secodns, then play another fraction, etc. During this time, response to the remote control is glacial, at best. (Oddly enough, even after power off, it continues to play for another stutter or two.) So, this brings up a few questions:

1) Is this NORMAL on a Mac? If not (hopefully), does anyone have any ideas what is going on here? Further system details:

Streaming from 4/29 nightly of 6.5 (also tried 6/22, I think) to one SB2 and one SB3. Same problems on each. Internet radio works fine, but streaming AIFF (like WAV) files has the problem. OS X 10.4.6.

The activity monitor shows perl pegged between 50-80% pretty consistently with NOTHING being streamed. It appears to have finished rescanning my library (6000 traks on external Firewire drive, though same problems with network monted Terastation), so I have no idea what it is doing; there isn't even any web server access. If I have other resource hungry apps running, the stuttering just fades away into no sound at all. I don't see anything unusual in the log.

2) How do you "downgrade" to an earlier version on the Mac? I tried just deleting the prefpane (in /Library), but when I tried installing an earlier 6.3, the server would never start. When I replaced that with the 6.5 install, it at least started again. I imagine there must be something else I have to delete, but I'm not knowledgeable enough about the Mac Slimserver to know what.

3) So, are the new Intel Mac Minis (with lots of memory) going to be signficantly more capable than my Powerbook for this? I would like to be able to use it as both a server and my desktop machine (web, email, Dreamweaver, no fancy graphics) without things bogging down.

Any help/suggestions/opinions would be appreciated. Thanks.

danco
2006-04-30, 13:07
I don't know the cause of your main problem, if it's not scanning your music files. But could do no harm to be sure your Web browser is not looking at the Squeezebox page.

As regards downgrading, I think there is a difference in the database file. Im addition to deleting the preference pane, you should probably delete the SlimServer preferences (this may not be needed) in the Preferences section of your Library at com.slimdevices.slim.plist. and the database at silimserversql.db in the SlimServer section of the Caches.

radish
2006-04-30, 16:38
Is it reading/updating iTunes?

mmcguff
2006-04-30, 19:28
Is it reading/updating iTunes?

No, I actually have iTunes sync turned off entirely.


As regards downgrading, I think there is a difference in the database file. Im addition to deleting the preference pane, you should probably delete the SlimServer preferences (this may not be needed) in the Preferences section of your Library at com.slimdevices.slim.plist. and the database at silimserversql.db in the SlimServer section of the Caches.

Thanks. I just tried that, but the server still won't start if I load 6.3 (the log has lots of "Compilation failed at require in..." in it). If I reload 6.5, it will load. At first, CPU usage isn't too bad; however, once I start playing a track, it goes in and starts sucking up all the remaining CPU time and skipping. Sigh...

Ben
2006-05-01, 14:51
Sorry I don't have much to add to solve your problem. But it certainly isn't normal behavior on a Mac. I'm running 6.2.2 on a 1 GHz G4, MacOS X 10.3.9 which is also day to day computer. If I'm playing songs, with a browser open to the Server webpage, it still only uses 2-5% of the processor.

I know with different OS and slimserver versions, this isn't a great data point, but your machine should certainly be able to handle it better then it sounds like it is...

Ben

trebejo
2006-05-01, 18:08
I was able to get rid of a similar problem by deleting some cache files. Weird little bug.

The files in question were

~/Library/Caches/com.apple.preferencepanes.cache
~/Library/Caches/com.apple.preferencepanes.searchindexcache

More details at these threads:

http://forums.slimdevices.com/showthread.php?t=22188

http://forums.slimdevices.com/showthread.php?t=22208

Cheers,

Ariel

mmcguff
2006-05-02, 00:54
Thanks for the suggestions. I discovered that something appears to be screwed up with the 6.3 nightlies for Mac; once it finally occurred to me to try 6.2.2, I was able to install without any problem and, after sucking up system resources rescanning my files (yet again), I seem to be up and running now. I'll see if I have problems with dropouts any more, but I appear to not be suffering from the runaway server sucking up all available CPU time like 6.5 was (for me at least). If this one seems stable, I think I'll wait a good long time before trying 6.5 again... I'm hoping that an Intel dual core Mac mini will be a bit snappier when I'm doing other things than my Powerbook, though. Thanks again for the comments.

radish
2006-05-02, 07:11
Do remember that 6.5 is very very immature, it's not intended for use in any capacity other than testing.