研究生: |
曾胤燁 Yin-Yeh Tseng |
---|---|
論文名稱: |
BitTorrent系統中考量合作節點興趣之片段選擇演算法 Interest-Intended Piece Selection in BitTorrent |
指導教授: |
陳文村
Wen-Tsuen Chen |
口試委員: | |
學位類別: |
碩士 Master |
系所名稱: |
電機資訊學院 - 資訊工程學系 Computer Science |
論文出版年: | 2007 |
畢業學年度: | 95 |
語文別: | 中文 |
論文頁數: | 78 |
中文關鍵詞: | 點對點網路 、BitTorrent 、斷頭問題 、強健度 |
外文關鍵詞: | Peer-to-Peer Network, BitTorrent, the Last Block Problem, Robustness |
相關次數: | 點閱:2 下載:0 |
分享至: |
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
BitTorrent是目前受到相當廣泛使用之點對點(peer-to-peer)模式的網路檔案分享系統。在此系統中,一個檔案被切割成一塊塊較小的檔案片段,使得節點可以同時向不同的其他節點抓取不同的檔案片段,以縮短整個檔案完成下載所需的時間。由於檔案完成下載前的每個階段,每個節點其所擁用的檔案片段分佈與其他節點所擁有的檔案片段分佈皆不相同,在點對點網路模式中節點動態加入與離開的環境下,當擁有稀少檔案片段的節點離開造成此片段的遺失,使得系統中所有的使用者因為缺少此遺失的片段而無法完成完整檔案下載,此問題稱為斷頭問題( last block problem )。因此檔案片段的下載順序對於所有檔案片段於網路中的分佈是影響BitTorrent斷頭問題的重要關鍵,同時也對整體下載效能產生影響。
BitTorrent採用最稀少片段優先演算法(rarest first algorithm),使每一個節點根據每一個檔案片段存在網路中的普遍度,優先選擇網路中存在最稀少的片段進行下載,藉此來減低斷頭問題發生的機率。然而,由於每個節點僅擁有其相連節點取得之片段分佈資訊,使得最稀少片段優先演算法的效能,因受限的區域性片段分佈資訊而有所限制。本文提出之方法,除了新增一個簡單的訊息交換機制,使得每一個節點能取得更廣域的片段分佈資訊做為選擇檔案片段下載的依據,同時搭配考量合作節點興趣之片段選擇演算法,有效地使得節點能夠配合其合作節點而優先下載真正稀有的檔案片段,除了達到降低斷頭問題的發生機率,也增加節點間合作的穩定性。透過模擬實驗的驗證四種相關演算法,其結果顯示,本文所提出之方法,確實相較於目前BitTorrent所使用之最稀少片段優先演算法,更加能夠避免斷頭問題的發生。
BitTorrent is a popular file distribution system based on emerging peer-to-peer communication model. Files are partitioned into pieces and can be downloaded from multiple peers in parallel in order to shorten the downloading process. However, due to dynamics of peer joining and leaving, the last block problem may occur when some rare pieces cannot be found among existing peers. BitTorrent employs a rarest-first piece selection algorithm for alleviating the last block problem, but its efficiency is limited due to a local view of peers. In this thesis, we proposed an interest-intended piece selection (IIPS) algorithm to select pieces that, if downloaded, would increase the availability of those pieces in the system while also increase the probability that the downloading peer to be selected for cooperation by its neighboring peers. This is done by a lightly-weighted vector exchanging process which enlarges the scope of piece rareness. Simulation results show that the proposed scheme effectively prevents the last block problem and outperforms the rarest-first algorithm in terms of system robustness, average file download time and the occurrences of the last block problem.
[1] Y. Xiangying and G. de Veciana, "Service capacity of peer to peer networks," in Proceedings of IEEE INFOCOM 2004.
[2] "KazaA," http://www.kazaa.com.
[3] "eMule," http://eMule-Project.net.
[4] "BitTorrent," http://www.bittorrent.com.
[5] T. Karagiannis, A. Broido, N. Brownlee, K. C. Claffy, and M. Faloutsos, "Is P2P dying or just hiding? [P2P traffic measurement]," in Proceedings of Global Telecommunications Conference, 2004. GLOBECOM '04. IEEE, 2004,
[6] A. Legout, G. Urvoy-Keller, and P. Michiardi, "Understanding BitTorrent: An Experimental Perspective," Techinical Report, INRIA, 2005.
[7] J. A. Pouwelse, P. Garbacki, D. H. J. Epema, and H. J. Sips, "The bittorrent p2p file-sharing system: Measurements and Analysis," in Proceedings of International Workshop on Peer-to-Peer Systems (IPTPS'05), 2005.
[8] D. Qiu and R. Srikant, "Modeling and performance analysis of bittorrent-like peer-to-peer network," in Proceedings of ACM SIGCOMM 2004, Portland, OR, USA, 2004.
[9] G. Neglia, G. Reina, H. Zhang, D. Towsley, A. Venkataramani, and J. Danaher, "Availability in BitTorrent Systems," in Proceedings of IEEE INFOCOM 2007, Anchorage, AK, USA, 2007.
[10] Y. Tian, D. Wu, and K. W. Ng, "Modeling, Analysis and Improvement for BitTorrent-Like File Sharing Networks," in Proceedings of IEEE INFOCOM 2006, Barcelona, Catalunya, SPAIN, 2006.
[11] A. R. Bharambe, C. Herley, and V. N. Padmanabhan, "Analyzing and Improving a BitTorrent Network's Performance Mechanisms," in Proceedings of IEEE INFOCOM 2006, Barcelona, Catalunya, SPAIN, 2006.
[12] M. Izal, G. Urvoy-Keller, E. W. Biersack, P. A. Felber, A. A. Hamra, and L. Garces-Erice, "Dissecting BitTorrent: Five Months in a Torrent's Lifetime," in Passive and Active Measurements (PAM), 2004.
[13] J. W. Byers, M. Luby, and M. Mitzenmacher, "Accessing multiple mirror sites in parallel: using Tornado codes to speed up downloads," in Proceedings of IEEE INFOCOM 1999, New York, NY, USA, 1999.
[14] P. Rodriguez, A. Kirpal, and E. W. Biersack, "Parallel-access for mirror sites in the Internet," in Proceedings of IEEE INFOCOM 2000, Tel Aviv, Israel 2000.
[15] B. Cohen, "Incentives build robustness in bittorrent," in Proceedings of Workshop on Economics of Peer-to-Peer Systems (P2PEcon'03), Berkeley, CA, USA, 2003.
[16] E. Adar and B. A. Huberman, "Free Riding on Gnutella," in First Monday, October 2000.
[17] M. Barbera, A. Lombardo, G. Schembra, and M. Tribastone, "A Markov model of a freerider in a BitTorrent P2P network," in Proceedings of Global Telecommunications Conference, 2005. GLOBECOM '05. IEEE, 2005.
[18] Z. Pei and W. Chen, "SODON: a high availability multi-source content distribution overlay," in Proceedings of 13th International Conference on Computer Communications and Networks (ICCCN 2004), Chicago, IL USA, 2004.
[19] C. Haitao, G. Zhenghu, and H. Zunguo, "Parallel Downloading Algorithm for Large-volume File Distribution," in Proceedings of Sixth International Conference on Parallel and Distributed Computing, Applications and Technologies(PDCAT 2005), Dalian, China, 2005.
[20] C. JiuJun, L. XiaoPeng, Y. KuiFei, and M. Jian, "A study on the pieces on seed for mobile peer-to-peer file sharing applications," in Proceedings of International Conference on Wireless Communications, Networking and Mobile Computing, Wuhan, China, 2005.