[Freeswitch-users] minimum UDP packet size
Brian West
brian at freeswitch.org
Tue Feb 1 18:35:36 MSK 2011
While performance will be better with larger packets you're failing to realize that 1440 byte RTP packet would be 180ms of audio. We only support up to 120ms per packet. If you start to exceed the MTU most consumer routers will not pass any packets on UDP that exceed the MTU so your testing gains you nothing.
/b
On Feb 1, 2011, at 9:27 AM, Madovsky wrote:
> No my question is minimum udp.
> usually the max udp packet is around 65000kB,
> David was talking about MTU which is different (Max Transmit Unit
> which is usually 1500 over the net, but ins some internal network (as my cluster)
> I use jumbo frames (9000) with 1GB network cards.
> by default linux kernel UDP min packet is set to 4096.
> I made some tests, from 1024 to 65000 and the server behavior looks like more
> cool when packet is big, but I'm almost sure that it creates also more latency in case
> of audio data. I'm finally happy to use exactly the same rate as MTU, performance
> seems to be better in multitask.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110201/60cbcc01/attachment.html
More information about the FreeSWITCH-users
mailing list