README 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. This example measures the IEEE 802.11 wireless network throughput from a
  2. number of hosts to the access point (AP). The theoretical maximum
  3. throughput can be calculated using the attached Excel sheet. The host and
  4. the access point transmitter powers are configured so that every host hears
  5. all the others.
  6. 1. Single-host throughput
  7. Throughput is measured by the "sink" submodule of the AP. It is recorded
  8. into the output scalar file, but can also be inspected during runtime.
  9. The Excel sheet includes throughput measured by the simulation, and compares
  10. it to the theoretical maximum which is roughly 5.12 Mbps (at 11 Mbps bitrate
  11. and 1000-byte packets). The theoretical value and the simulation output
  12. are very close, the difference being less than 1 kbps.
  13. 2. Multi-host throughput
  14. In this case, the average backoff interval on the channel is smaller which
  15. would increase throughput, but are also collisions. This makes the
  16. calculation of the theoretical maximum rather complicated. To simplify
  17. things, the Excel sheet does not consider collisions when calculating the
  18. maximum throughput. For 3 hosts the minimum backoff period is (n - 1) ^ 2 /
  19. (4 * n) where n is the contention window size, that is, n=32. This shows an
  20. average contention window of roughly 7.5, and an increased total channel
  21. throughput.
  22. The difference between the theoretical throughput maximum and the measured
  23. throughput is caused by collisions. Adding the number of frame collisions
  24. to the number of correctly received frames makes the difference less than
  25. 50 kbps. The difference is probably caused by inter-frame spacing: the
  26. simulation waits EIFS after detecting a collision, but the spreadsheet
  27. calculates with DIFS.
  28. The experiments are were inspired by the following paper:
  29. S. Choi, K. Park and C. Kim, "On the Performance Characteristics of WLANs:
  30. Revisited", Proceedings of the ACM SIGMETRICS 2005, pp. 97-108, 2005.