Research Article

O2: A Network Protocol for Music Systems

Table 2

Small message send time (just the destination address and a 32-bit integer) for O2 versus OSC and TCP versus UDP. The same communication was also implemented directly in TCP and UDP without any additional layers, sending only one 32-bit integer per message. Run times are wall time, with all messages between two processes on the same host. Averages from multiple runs are reported. Individual runs vary by ±1.5%.

UDPTCP

Time/MessageMessages/SecondTime/MessageMessages/Second

OSC29 μs35,000 s−156 μs18,000 s−1

O230 μs34,000 s−128 μs36,000 s−1

Direct22 μs46,000 s−120 μs44,000 s−1