[Freeswitch-users] minimum UDP packet size

Madovsky infos at madovsky.org
Tue Feb 1 19:15:50 MSK 2011


but UDP packet is independent of MTU.
even if you put your UDP packet higher than MTU it will be fragment as MTU size...

  ----- Original Message ----- 
  From: Brian West 
  To: FreeSWITCH Users Help 
  Sent: Tuesday, February 01, 2011 10:35 AM
  Subject: Re: [Freeswitch-users] minimum UDP packet size


  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.




------------------------------------------------------------------------------


  _______________________________________________
  FreeSWITCH-users mailing list
  FreeSWITCH-users at lists.freeswitch.org
  http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
  UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
  http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110201/a508073e/attachment-0001.html 


More information about the FreeSWITCH-users mailing list