• 沒有找到結果。

The Impact of Buer Size

Simulation Analysis

4.4 The Impact of Buer Size

Table 4.8: Simulation parameters in 500000 time slot.

Parameter type Parameter value

Width of grid network × Height of grid network 10 × 10

Packet generating rate per node 0.0167, 0.0333, 0.00833 packet/time slot

Ran-MAC probability 0.1 packet/time slot

Buer size 10 ∼ 60 packets

Information pool size 100 ∼ 600 packets

Maximal retransmission time 5times

Maximal packet alive time 10time slots

Simulation duration 500000 time slots

Table 4.8 describes the simulation parameters in detail. Each experiment also runs on 50 tasks, and the results are averaged. In the section 4.4, each experiment with variable buer sizes runs at the packet generating rates. We analysis the impact of variable buer sizes on throughput and packet loss. To clearly know the impact of variable buer size, packet generating rates of 0.0167, 0.0333 and 0.00833 are selected to represent respectively the rise of throughput, the maximal throughput and the decline of throughput, each in turn representing high trac load, middle trac load, and low trac load.

4.4.1 Packet Loss

Figure 4.7: Buer size v.s. Packet loss (at arrival 0.0333 packet/time slot)

0 20 40 60 80

Figure 4.8: Buer size v.s. Packet loss (at arrival 0.0167 packet/time slot)

0 20 40 60 80 0

5 10 15

x 104

Buffer size

Packet loss

XOR Unicast

Figure 4.9: Buer size v.s. Packet loss (at arrival 0.0083 packet/time slot).

Table 4.9: Decrease of packet loss by increase of per buer size.

Packet generating rate Buer size 10 ∼ 30 Buer size 30 ∼ 80

0.0083 - XOR 1241.2 19.38

0.0167 - XOR 2080.55 193.02

0.0333 - XOR 468.8 72.62

0.0083 - Unicast 1033.75 81.32

0.0167- Unicast 314.7 84.76

0.0333- Unicast −61.65 30.38

Figures 4.7, 4.8 and 4.9 show that packet loss decreases as buer size increases. Table 4.9 shows that using Unicast, the increase of per buer size from 10 ∼ 30 averagely reduces packet loss by 1033.75 and 314.7, respectively at packet generating rates of 0.0083 and 0.0167.

However, the buer size increased from 30 ∼ 80 averagely reduces packet loss by 81.32 and 84.76, respectively at packet generating rates of 0.0083 and 0.0167. We know that packet loss is improved by the increase of per buer size, much more by the increase from 10 ∼ 30 than by that from 30 ∼ 80 at packet generating rates of 0.0083 and 0.01667. Using the

XOR coding algorithm, Table 4.9 shows that the impact of the packet loss improved by increasing the buer size from10 ∼ 30 is more obvious than that improved by the increase from 30 ∼ 80. As the buer size exceeds 30, the decrease trend of packet loss slows down and ceases rapidly. Overall, no matter whether the XOR coding algorithm is utilized or not, this result suggests that the optimal buer size is 30, and it is concluded that packet loss is decreased by the increase of buer size.

4.4.2 Throughput

0 20 40 60 80

0 0.002 0.004 0.006 0.008 0.01 0.012

Buffer Size

Throughput

XOR Unicast

Figure 4.10: Buer size v.s. Throughput (with packet generating rate 0.0333)

Figures 4.10, 4.11 and 4.12 demonstrate that the throughput of the grid network increases along with buer size and increases faster from the buer size 10 ∼ 30 than that from the buer size 30 ∼ 80. With or without the XOR coding algorithm, as the previous subsection 4.4.1 mentioned, packet loss decreases faster from the buer size 10 ∼ 30 than that from the buer size 30 ∼ 80 (see Figures 4.7, 4.8 and 4.9). Thus, the throughput increases faster with the increase of per buer size from 10 ∼ 30 than with the increase of per buer size from 30 ∼ 80. Table 4.10 shows that, in the XOR coding algorithm, the increase of per buer size

0 20 40 60 80 0

0.002 0.004 0.006 0.008 0.01 0.012 0.014

Buffer Size

Throughput

XOR Unicast

Figure 4.11: Buer size v.s. Throughput (with packet generating rate 0.0167)

generating rates of 0.0083, 0.01667 and 0.0333. Moreover, with the increase of per buer size from 30 ∼ 80, throughput is improved by about 0.68%, 1.60%, and 0.79%, respectively at packet generating rates of 0.0083, 0.01667 and 0.0333. Although the buer size increases little from 10 ∼ 30, it enables the throughput to increase faster. Hence, throughput is also improved by the increase of per buer size from 10 ∼ 30 much more than by that from 30 ∼ 80. Overall, the throughput increases because of increase of the buer size with limited storage resource.

0 20 40 60 80 0

0.002 0.004 0.006 0.008 0.01

Buffer Size

Throughput

XOR Unicast

Figure 4.12: Buer size v.s. Throughput (with packet generating rate 0.0083)

Table 4.10: Ratio of throughput increase in buer size 30 (or 80) to that in buer size 10 (or 30).

Packet generating rate Buer size 30 to 10 Buer size 80 to 30

0.0083 - XOR 1.071839 1.006863

0.0167 - XOR 1.127344 1.016077

0.0333 - XOR 1.096358 1.007988

0.0083 - Unicast 1.101762 1.010305

0.0167 - Unicast 1.045612 1.005792

0.0333 - Unicast 1.016299 1.002703

Chapter 5 Conclusion

In this thesis, we explore the network coding technique, the XOR coding algorithm, to improve the throughput of the grid network, and to examine how packet generating rate and buer size impact the network throughput, packet loss and end-to-end delay. In our simulation, the XOR coding algorithm, being built on greedy grid unicast routing, namely U nicast, is evaluated with Unicast. Under the light trac load, 500000 to be exact trans-mitted, which are generated randomly with their source and destination pairs distributed uniformly over the 20 × 20 grid network, the distribution of the trac load of each grid in the XOR coding algorithm or in Unicast is like a hill, the results of which are similar to , but atter than those of a previous paper [6] due to collisions and retransmissions. In the 10 × 10 grid network, which is in a stable state and runs with the same number of time slots, namely 500000 time slots, at packet generating rates of 0.005 0.1, the XOR coding algorithm improves the throughput and end-to-end delay by about 74.7% and 55.7% on average as compared with Unicast. With respect to variable buer size, the throughput increases along with the buer size, and increases faster when the buer size is between 10 30. On the contrary, packet loss decreases along with the buer size, and decreases faster when the buer size is between 10 30. However, as the buer size exceeds 30, the increase of

the throughput and the decrease of packet loss slows down and ceases rapidly. Thus, with limited resources, this result suggests that 30 is the optimal buer size. As a summary of the series of simulation analyses, it can be concluded that the network coding can both in-crease network throughput and reduce end-to-end delay for the grid network under dierent network environments.

In the future, we will perform several theoretical analyses, such as those on throughput, end-to-end delay, packet loss, with queuing model, and try to nd the theoretical trac load of each grid cell in the collisions and retransmissions network model. Moreover, we will extend the network coding to delauney network and hexagonal network, to know how network topology impacts throughput, end-to-end delay, packet loss, and nd the relationship between the network topology and the network coding. Finally, the random linear network coding algorithm will also be implemented between MAC layer and IP layer in the realistic environment.

Bibliography

[1] J. Li, J. Jannotti, D. S. J. D. Couto, D. R. Karger, and R. Morris, A scalable location service for geographic ad hoc routing, in MobiCom '00: Proceedings of the 6th annual international conference on Mobile computing and networking. New York, NY, USA:

ACM, 2000, pp. 120130.

[2] R. Jain, A. Puri, and R. Sengupta, Geographical routing using partial information for wireless ad hoc networks, Personal Communications, IEEE [see also IEEE Wireless Communications], vol. 8, no. 1, pp. 4857, Feb 2001.

[3] W.-H. Liao, J.-P. Sheu, and Y.-C. Tseng, GRID: A fully location-aware routing protocol for mobile ad hoc networks, Telecommunication Systems, vol. 18, no. 1-3, pp.

3760, 2001. [Online]. Available: citeseer.ist.psu.edu/liao01grid.html

[4] B. Karp and H. T. Kung, GPSR: greedy perimeter stateless routing for wireless net-works, in MobiCom '00: Proceedings of the 6th annual international conference on Mobile computing and networking. New York, NY, USA: ACM, 2000, pp. 243254.

[5] S. Katti, H. Rahul, W. Hu, D. Katabi, M. Medard, and J. Crowcroft, XORs in the air:

Practical wireless network coding, IEEE/ACM Transactions on Networking, vol. 16, no. 3, pp. 497510, June 2008.

[6] C.-W. Huang and C.-W. Yi, The critical grid size and transmission radius for local-minimum-free grid routing in wireless ad hoc networks, Master Thesis of Institute of

Network Engineering, College of Computer Science, National Chiao-Tung University, 2007.

[7] C. Perkins and P. Bhagwat, Highly dynamic destination-sequenced distance-vector routing (DSDV) for mobile computers, in ACM SIGCOMM'94 Conference on Communications Architectures, Protocols and Applications, 1994, pp. 234244. [Online].

Available: citeseer.ist.psu.edu/perkins94highly.html

[8] P. Jacquet, P. Muhlethaler, T. Clausen, A. Laouiti, A. Qayyum, and L. Viennot, Op-timized link state routing protocol for ad hoc networks, Multi Topic Conference, 2001.

IEEE INMIC 2001. Technology for the 21st Century. Proceedings. IEEE International, pp. 6268, 2001.

[9] R. Ogier, Topology dissemination based on reversepath forwarding (TBRPF),

February 2004. [Online]. Available: citeseer.ist.psu.edu/ogier04topology.html

[10] B. Bellur and R. Ogier, A reliable, ecient topology broadcast protocol for dynamic networks, INFOCOM '99. Eighteenth Annual Joint Conference of the IEEE Computer and Communications Societies. Proceedings. IEEE, vol. 1, pp. 178186 vol.1, Mar 1999.

[11] Y. H. D. Johnson and D. Maltz, RFC 4728 the dynamic source routing protocol (DSR) for mobile ad hoc networks for IPv4, 2007.

[12] C. Perkins and E. Royer, Ad-hoc on-demand distance vector routing, Mobile Comput-ing Systems and Applications, 1999. ProceedComput-ings. WMCSA '99. Second IEEE Workshop on, pp. 90100, Feb 1999.

[13] R. Ahlswede, N. Cai, S.-Y. Li, and R. Yeung, Network information ow, Information Theory, IEEE Transactions on, vol. 46, no. 4, pp. 12041216, Jul 2000.

[14] S.-Y. Li, R. Yeung, and N. Cai, Linear network coding, Information Theory, IEEE

[15] S. Fong and R. Yeung, Variable-rate linear network coding, Information Theory Work-shop, 2006. ITW '06 Chengdu. IEEE, pp. 409412, Oct. 2006.

[16] R. Koetter and M. Medard, An algebraic approach to network coding, IEEE/ACM Transactions on Networking, vol. 11, no. 5, pp. 782795, Oct. 2003.

[17] T. Ho, R. Koetter, M. Medard, D. Karger, and M. Eros, The benets of coding over routing in a randomized setting, IEEE International Symposium onInformation Theory, 2003, p. 442, June-4 July 2003.

[18] A. Dimakis, V. Prabhakaran, and K. Ramchandran, Decentralized erasure codes for distributed networked storage, Information Theory, IEEE Transactions on, vol. 52, no. 6, pp. 28092816, June 2006.

[19] D. Wang, Q. Zhang, and J. Liu, Partial network coding: Theory and application for continuous sensor data collection, Quality of Service, 2006. IWQoS 2006. 14th IEEE International Workshop on, pp. 93101, June 2006.

[20] T. Ho and R. Koetter., Online incremental network coding for multiple unicasts, in In DIMACS Working Group on Network Coding, 2005.

[21] P. A. C. Y. Wu and S. Y. Kung, Online incremental network coding for multiple unicasts, in Technical Report MSR-TR-2004-78, Microsoft Research, 2004.

[22] Z. Li and B. Li, Network coding: the case of multiple unicast sessions, in in Proceedings of the 42nd Allerton Annual Conference on Communication, Control, and Computing, 2004.

[23] S. Chachulski, M. Jennings, S. Katti, and D. Katabi, Trading structure for randomness in wireless opportunistic routing, in SIGCOMM '07: Proceedings of the 2007 conference on Applications, technologies, architectures, and protocols for computer communications.

New York, NY, USA: ACM, 2007, pp. 169180.

[24] P. Gupta and P. Kumar, The capacity of wireless networks, Information Theory, IEEE Transactions on, vol. 46, no. 2, pp. 388404, Mar 2000.

[25] S. Toumpis and A. Goldsmith, Large wireless networks under fading, mobility, and delay constraints, INFOCOM 2004. Twenty-third AnnualJoint Conference of the IEEE Computer and Communications Societies, vol. 1, pp. 619, March 2004.

[26] L.-L. Xie and P. Kumar, A network information theory for wireless communica-tion: scaling laws and optimal operation, Information Theory, IEEE Transactions on, vol. 50, no. 5, pp. 748767, May 2004.

[27] J. Liu, D. Goeckel, and D. Towsley, Bounds on the gain of network coding and broad-casting in wireless networks, INFOCOM 2007. 26th IEEE International Conference on Computer Communications. IEEE, pp. 724732, May 2007.

[28] K. Lu, S. Fu, and Y. Qian, Capacity of random wireless networks: Impact of physical-layer network coding, Communications, 2008. ICC '08. IEEE International Conference on, pp. 39033907, May 2008.

[29] P. Samuel David and A. Kumar, Network coding for TCP throughput enhancement over a multi-hop wireless network, Communication Systems Software and Middleware and Workshops, 2008. COMSWARE 2008. 3rd International Conference on, pp. 224

233, Jan. 2008.

[30] C. Fragouli, J. Widmer, and J.-Y. Le Boudec, Ecient broadcasting using network coding, Networking, IEEE/ACM Transactions on, vol. 16, no. 2, pp. 450463, April 2008.

相關文件