[Icecast-dev] icecast performance on manyconcurrentlow-bitrate streams

Karl Heyes karl at xiph.org
Thu Jul 28 15:54:22 PDT 2005


On Thu, 2005-07-28 at 23:29, Klaas Jan Wierenga wrote:
> Karl,
> 
> I've managed to patch up my branch of Icecast to do the batching. Checked
> everything with valgrind and tested it extensively. It looks good. Tcpdump
> now shows nice size frames (mostly 1400 bytes). Any reason why you're not
> settings the MTU to something closer to 1500?

It isn't setting the MTU, I'm just making sure initially that the block
size is large enough to make fuller packets. Obviously it's not possible
to determine the best size due to the fact that it's listener dependant
and we are batching up at the reading not sending stage. 

However as you have mentioned, the common MTU size is 1500 but that
includes TCP so 1400 bytes sends was a quick/near estimation of a full
packet, you can increase the block size by some more.  The code
demonstrates the mechanism more than the absolute maximum currently.

karl.




More information about the Icecast-dev mailing list