PDA

View Full Version : Stream underrun problems: No Threading?



John Lilley
2004-08-16, 08:29
Uh, simple question... is slimserver multi-threaded?

I've been having buffer underrun problems, and I think traced it down to the
fact that the tag cache save takes > 10 seconds (for my 35000 tracks), which
I think exceeds the buffering capacity of the slimp3 (1Mbit / 256kbit/sec
stream rate = 4 seconds).

Obviously if slimp3 isn't multi-threaded, the players will starve whenever
this save takes place.

Can someone tell me about threading (or lack thereof) in slimserver?

Thanks,
John Lilley

dean
2004-08-16, 16:37
Hi John,

Yes, indeed, SlimServer isn't multithreaded and so if an operation
takes too long it's possible for the audio to break up.

We're working hard on speeding up library access to improve this
problem. And after that we'll be working on adding a separate thread
for streaming to improve things further...

-dean



On Aug 16, 2004, at 8:29 AM, John Lilley wrote:

>
> Uh, simple question... is slimserver multi-threaded?
>
> I've been having buffer underrun problems, and I think traced it down
> to the
> fact that the tag cache save takes > 10 seconds (for my 35000 tracks),
> which
> I think exceeds the buffering capacity of the slimp3 (1Mbit /
> 256kbit/sec
> stream rate = 4 seconds).
>
> Obviously if slimp3 isn't multi-threaded, the players will starve
> whenever
> this save takes place.
>
> Can someone tell me about threading (or lack thereof) in slimserver?
>
> Thanks,
> John Lilley
>
>
>
>