[PD] udpsend performance issue
Martin Peach
martin.peach at sympatico.ca
Mon May 9 14:59:22 CEST 2011
On 2011-05-09 01:45, Matteo Sisti Sette wrote:
> On 05/09/2011 04:54 AM, Martin Peach wrote:
>>
>> [udpsend] uses almost the same code as [netsend] to send the data.
>> I guess the bottleneck is in the way you load the hundreds of messages
>> into [udpsend]. Are you receiving one packet per message at the other
>> end?
>
> What do you mean by one packet per message?
>
If you send a message through [udpsend] it will be packaged into a UDP
packet. A UDP packet can be up to 32768 bytes. Sending lots of small
packets adds a lot of overhead compared to sending the same data as one
packet.
Martin
More information about the Pd-list
mailing list