PDA

View Full Version : Squeezebox buffering and player priority



Phil Karn
2005-02-28, 01:56
Most of my collection is in FLAC and Ogg Vorbis format, so my Slimserver
has to convert it to PCM on the fly for playback. My home network is a
combination of gigabit and 100 megabit Ethernet, so it's plenty fast.
The Linux server is a 3.2 GHz hyperthreaded Pentium 4 with 2 GB of RAM
and a big RAID array, so it too is plenty fast.

However, I get occasional buffer drains and interruptions when playing a
Squeezebox, especially when the slimserver is doing other things like
rebuilding its database.

I notice that all the tasks started by the slimserver run at default
priority. I've found that nicing up the slimserver tasks above default,
e.g., to -5, seems to help a lot. But I don't really want to give
*everything* in slimserver that priority level. Is there any way to
boost the priority only on stuff in the real-time play path while
letting everything else run at normal priority?

Also, how big is the playout buffer in the Squeezebox? Is it always used?

Phil