CS G250:
Wireless Networks Spring 2007 Simulation Assignment 2 - MAC layer simulation study |
Due
Date: Tuesday, March 13 I. Medium Access Control The goal of this work is to study the performance of IEEE 802.11 MAC protocol under highly-loaded network and lightly-loaded netowrk,respectively. Please set up the simulation scenario as follows, 1. This is a network consisting of a base station (Server node) and multiple static nodes (client). 2. All nodes are within the transmission range of each other. In other words, no hidden or exposed terminal problem in this network. 3. Constant-Bit-Rate is chosen as upper layer application. Each client node starts sending data from second 0, and transmission interval is 4ms. The packet size is 512 bytes. Assume that each node has an infinite number of packets to send. 4. The simulation time is 5 seconds. 5. The propagation model is FREE-SPACE model. 6. UNIFORM node placement. 7. set your simulation terrain to be 500m*500m. 8. RADIO-RX-TYPE SNR-BOUNDED. RADIO-RX-THRESHOLD 10.0 9. TX-POWER 15dBm 10.ANTENNA GAIN 0 11. RX-SENSITIVITY -81.0dBm RX-THRESHOLD -81.0dBm Change the number of client nodes from 1 to 6, in step of 1. Observe how the network performance is going to change in terms of the total throughput of base station and end-to-end delay averaged over all client nodes. system throughput: total number of packets received by the base station Deliverables 1. Brief description of your simulation procedure. Clearly describe how you define your app.conf. 2. Plot the node placement for a network consisting of 6 nodes 3. Plot number of clients vs. system throughput 4. Plot number of clients vs. end-to-end delay averaged over all nodes (Glomo.stat contains throughtput and end-to-end delay for individual nodes. You could write a very short shell script to calculate the system throughput and end-to-end delay.) 5. Analysis of your plots to discuss the benefits or disadvantages of 802.11. II. Study of End-to-End throughput in multi-hop Ad-Hoc Wireless Network In this task, we are going to study how end-to-end throughput changes with the increase of hops between src and destination. This simulation will help you understand the space reuse in network wireless medium utilization and multi-hop routing, which determines how well the network scale as we expand the network. Set up the network scenario as follows, 1. Set up a chain network consisting of N+1 nodes, node 0 to node N.The distance between two neighboring nodes is 100 meter. 2. Node 0 is the source node, who has CBR as upper layer application and keeps generating nodes destined to node N. CBR 0 N 0 1500 10MS 0 0 3. TX-POWER 1dBm 4. All other radio parameters are the same to the value defined in task 1. 5. Set simulation time to 3 seconds. 6. Use ROUTES.IN to define the static routing scheme. In our simulation, node x always relay packets to node x+1 until packet arrives at destination. The format of ROUTES.IN is as follows, src dest nexthop 7. Use 802.11 as MAC protocol in our simulation. In a fixed network topology,change your CBR definition by changing "interval" from 10ms to 100ms. Repeat your simulation to find out the optimal "interval" value which achieves maximum end-to-end throughput. Plot the curve of pkt interval vs. end-to-end throughput. Increase the number of nodes in the chain network by chaning N from 1 to 8. At the end of your simulation, you should have 8 plots one for each of 8 network topologies. Comment on how the end-to-end throughput changes with the increase of hops from source node to destination node. end-to-end throughput: total number of packets received by node N Deliverables: 1. 8 curves of pkt interval vs. end-to-end throughput for all 8 network topologies. 2. Analysis of how the end-to-end throughput changes with the changes of packet generation rate and number of hops between source and destination. III. Study of network capacity in grid network In this task, we are going to study the impact of space reuse and route lengths in grid neetwork. Set up the network scenario as follows, 1. Edit nodes.input to define a grid network consisting of 4, 9 or 16 nodes. (you need to do simulation for all 3 scenarios) 2. Static routing is applied. ROUTES.IN could be downloaded from here. 3. Set simulation time to 10 minutes. 4. Use 802.11 as MAC protocol. 5. Define CBR application as follow: CBR src dest 0 1500 2S 0 0 In your simulation, study the three grid topologies illustrated in above figure. Each node randomly chooses its destination among all other nodes in the grid network at the beginning of simulation, and keeps sending packets to this node through the whole simulation. The upper layer CBR packets are routed to its randomly determined destination node by static routing scheme. It's acceptable that more than 1 node choose the same destination node. At the end of the simulation, calculate system throughput and end-to-end delay averaged over all nodes. Repeat your simulation for 3 times, and get the system throughput and end-to-end delay, which are both averaged over 3 runs. System throughput: total number of packets that have been successfully transmitted to destinations in the whole network average End-to-End delay: End-to-End delay averaged across all nodes Deliverables: 1. Plot average system throughput vs. size of grid. 2. Plot average end-to-end delay vs. size of grid. 3. According to your simulation result, analyze how the network performance changes as grid network expands . |
|