| 38 | == Analysis == |
| 39 | The same analysis is performed on the results of the two experiments below. The analysis results are shown in the plots for experiment. |
| 40 | |
| 41 | === Aggregate Results === |
| 42 | The simplest analysis uses the aggregate Tx/Rx statistics at each node. These statistics include the total number of packets and bytes transmitted and received for each flow, and the number of successful packets and bytes for each flow. |
| 43 | |
| 44 | These statistics are sufficient to calculate total throughput, packet delivery ratio (PDR) and average number of re-transmissions per packet. |
| 45 | |
| 46 | As illustrated below the aggregate statistics mask some interesting MAC behavior changes when carrier sensing is disabled. |
| 47 | |
| 48 | === Log-based Results === |
| 49 | Each experiment ran for 300 seconds, during which all three nodes were writing logs to local memory for every Tx and Rx event. These logs were retrieved after the experiment for analysis. |
| 50 | |
| 51 | * '''Throughput vs. Time''': computes the throughput of each flow over a 1 second rolling window. The aggregate throughput calculated above is the mean of the 1 second throughputs, but very interesting behaviors can be observed by calculating these throughputs on shorter time scales. |
| 52 | |
| 53 | * '''Throughput Histogram''': plots the probability density function of the time series of throughputs calculated for '''Throughput vs. Time'''. |
| 54 | |
| 55 | * '''Rx Power vs. Time''': plots the power of every packet received for each flow |
| 56 | |
| 57 | * '''Contention Window vs. Time''': plots the contention window at each node for every PHY transmission |
| 58 | |
| 59 | * '''Collision Time Offsets''': plots the difference in start times of transmissions that collided, broken down by flow and colliding transmitter |
| 60 | |
| 61 | |