This paper presents the design procedure of the NS-3 script for WLAN that is organized according to the hierarchical manner of TCP/IP model. We configure all layers by using NS-3 model objects and set and modify the values used by objects to investigate the effects of MAC parameters (access mechanism, CWmin, CWmax and retry limit) on the performance metrics viz. packet delivery ratio, packet lost ratio, aggregated throughput, and average delay. The simulation results show that RTS/CTS access mechanism outperforms basic access mechanism in saturated state, whereas the MAC parameters have no significant impact on network performance in non-saturated state. A higher value of CWmin improves the aggregated throughput in expense of average delay. The tradeoff relationships among the performance metrics are also observed in results for the optimal values of MAC parameters. Our design procedure represents a good guideline for new NS-3 users to design and modify script and results greatly benefit the network design and management.
翻译:本文件介绍了按照TCP/IP模式的等级方式编排的WLANNS-3脚本的设计程序。我们通过使用NS-3模型对象来配置所有层次,并设定和修改物体使用的数值,以调查MAC参数(接入机制、CWmin、CWmax和retry 限制)对性能指标(如包交付率、包损失率、总吞吐量和平均延迟率)的影响。模拟结果表明,RTS/CTS访问机制在饱和状态下优于基本接入机制,而MAC参数对非饱和状态下的网络性能没有重大影响。CWmin的更高价值提高了平均延迟成本的累计总吞吐量。还观察到性能指标之间的权衡关系,其结果是MAC参数的最佳值。我们的设计程序为新的NS-3用户设计和修改脚本并产生极大效益的网络设计和管理提供了良好的指导。