This chapter presents the results of measuring the throughput for local communications. Use this information as a guide when evaluating the throughput for the titles you are developing. Throughput declines when the processing load is high and the signal environment is poor.
7.1. Measurement Environment and Measurement Results
Three test units were placed in a shielded box and connected together, with one configured as the master and the other two acting as clients. One client was configured to send but not receive data, and the other was configured only to receive data
To measure throughput, the sample program SampleDemos/uds/simple
was modified for measurement purposes and compiled using CTR-SDK 4.2.1.
The client configured to only send data called the SendTo()
function using the combinations of elements shown in the table below.
Element |
Conditions |
---|---|
Data sizes |
100 / 200 / 500 / 800 / 1000 / 1200 / 1478 bytes |
Call intervals |
1000 / 2000 / 3000 / 4000 / 5000 / 6000 / 7000 / 8000 / 9000 / 10000 µs |
Send options |
0x00 / NO_WAIT / FORCE_DIRECT_BC / NO_WAIT | FORCE_DIRECT_BC |
The measurement results are presented in the graphs below, which give the throughput and the error rate for the different send options, as measured on the client that was configured only to receive data.
Figure 7-1. Send Option = 0x00
Figure 7-2. Send Option = NO_WAIT
Figure 7-3. Send Option = FORCE_DIRECT_BC
Figure 7-4. Send Option = NO_WAIT | FORCE_DIRECT_BC