Basic 802.11 Statistics
来源:互联网 发布:湖南软件工程学院 编辑:程序博客网 时间:2024/05/06 12:24
He is currently doing research in the area of ad-hoc wireless networks using 802.11 hardware. I've just started ramping up with some simulations usingns-2. I was lucky to find Making NS-2 simulate an 802.11b link , a page with tips for getting ns2's output to match real hardware. This page presents some simple 802.11 simulations, and hopefully will eventually include some real measurements to back them up.
Maximum Throughput
802.11b hardware supports 1, 2, 5.5, and 11 Mbps data rates. Real hardware automatically selects the rate based on errors. If there are many errors, it steps the rate down. If there have been no errors, it steps the rate up. The following graph shows the raw throughput that each of these data rates can actually deliver between two nodes, when sending data at a constant rate. This throughput is the network layer throughput, meaning the throughput if you strip out the MAC header, but include the IP headers.
As you can see, each data rate tops out at a little bit below the actual data rate. This difference becomes more pronounced as the data rate increases. At 1 Mbps, 802.11 delivers 91.7% of its data rate, while at 11 Mbps it delivers only 55.4%. However, this test was performed with the standard "long" preamble. Some modern cards can use a shorter preamble which is about half the length. This makes for a slight improvement (+ 483 kbps at 11 Mbps). I repeated this experiment with TCP Sack. The maximum data rates are listed in the table below. The TCP throughput is for the delivered bytes at the network layer. It includes the IP and TCP headers, but excludes retransmissions. As expected, TCP achieves a reasonable data rate, but still falls short of the optimal values.
Multihop Throughput
Things start to get more interesting when you relay data over multiple hops. When you go over two hops, the ideal throughput is halved, since the node in the middle must accept and retransmit the data. While it is doing so, the sender cannot transmit. The next simulation is the same as the first, except this time the data is being sent over two hops. The ideal values shown are the maximum throughputs obtained in the first experiment divided by two.
What this data shows is that 802.11 does a very good job of scheduling packets in the two hop case. Even when trying to send much more data than the network can handle, it continues to deliver very close to the ideal throughput. The ns2 script I used to create these graphs is here.
- Basic 802.11 Statistics
- MLlib学习Basic Statistics
- Spark MLlib - Basic Statistics 总结
- Spark 1.1.0 Basic Statistics(下)
- Machine Learning on Spark -- Basic Statistics
- Basic Statistics Using SAS Enterprise Guide: A Primer
- 概率论基础概念总结 Basic Concepts in Statistics
- 在windows环境下安装perl( Statistics::Basic module)相关包
- 802.11 Supported Basic Rates
- @Basic
- Basic
- Basic
- BASIC
- @Basic
- @Basic
- basic
- Robust Statistics
- Error statistics
- 课程助理 For Android 预览版
- 【DFS】hdu 2181 哈密顿绕行世界问题
- Java判断一个日期时间是否是昨天
- UVA 704 Colour Hash (双向bfs + 判重)
- 整合hibernate+struts后,关闭Myeclipse之前的工程全都消失
- Basic 802.11 Statistics
- 用CSS设置Table的细边框的几种方法
- 杭电ACM 1880 魔咒字典
- jni java和C之间的值传递(int String int[])
- kmp算法(下)——next数组
- JavaScript Date 对象参考手册
- 理解call apply
- CSS块级元素、内联元素概念
- JQuery学习笔记--Day03