Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

queue-size / burst-size

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Tue Aug 01, 2006 11:40 am    Post subject: queue-size / burst-size Reply with quote

Hello,

new to Icecast streaming so I wonder if somebody can explain me the meaning/relation of burst-size and queue-size.

Background:
I have setup an Icecast server with a queue-size of 524288 and a burst-size of 16384.
Randomly, (after 5-6 hrs) the client gets disconnected due to "fallen too far behind" error.
This problem for sure is related to some kind of net congestion, but I wonder if adjusting the queuesize or burstsize would improve the situation.
The intend of the server is to supply an audio signal to one of our remote broadcast locations. So a minimal time delay to the source signal is mandatory, on the other hand the client should not get disconnected due to network problems. Rolling Eyes
Streamer is darkice and bitrate 96kbps.

regards:
-Serge-
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Aug 01, 2006 1:30 pm    Post subject: Reply with quote

The queue size is the maximum amount of stream data that can be stored for a single stream. If any new stream data takes the queue above that limit then the queue is cut back and any listeners who were referencing that data will be disconnected with that message you have seen. The burst size is where new listeners start from within that queue.

If the listeners are suffering congestion or limits like TCP flow control then there isn't much icecast can do. Increasing the queue size will just mean that they stay on for a bit longer, so is only usful for short lived congestion.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Tue Aug 01, 2006 3:52 pm    Post subject: Reply with quote

Thanks Karl for the prompt reply!

Ack for queue size. But I don't really understand the importance of the burstsize then.

1) Any burst (whatever size) gives you a delay related to the live data.
2) It reduces the amount of the queuebuffer by the amount of burstsize.

So what's the reason behind? Maybe I misunderstood this.

Best regards from Luxembourg:
-Serge-
Back to top
MikeS
Code Warrior
Code Warrior


Joined: 29 Jun 2005
Posts: 73
Location: Barcelona, Spain

PostPosted: Tue Aug 01, 2006 5:10 pm    Post subject: Reply with quote

Burst-on-connect is ONLY useful for reducing the delay between initial connection, and start of playback, for common clients which require a certain amount of buffered data locally before they'll begin playback.

If you're in any way interested in low-delay, you should disable it.

At the size you've selected, it's unlikely that increasing the queue size will help with the problem - it might delay it, but no more. Also, if you're approaching this limit, your latency will be increasing.

The most common reason for that, assuming a fast enough network connection between server and client, is that the clock on the client doesn't accurately match (in rate) the clock on the source that's creating the stream. Smarter clients will interpolate an accurate clock from the incoming datastream, but that's quite difficult, and not generally implemented in http clients.

Mike
Back to top
View user's profile Send private message Send e-mail
Anonymous
Guest





PostPosted: Wed Aug 02, 2006 5:27 am    Post subject: Reply with quote

Thanks Mike for the update.

I don't believe on a clock problem, as we had the Server and Client running for weeks without interruption on the same Network (LAN-side)

Now that we are running our tests with a DSL Line connecting both sites together, we are facing this problem.
Looks like we have to monitor line speed on both ends to track down the reason for this.
Thank you both, Karl and Mike, for your professional help on this matter!

regards:
-Serge-
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber