| 研究生: |
王竣鋒 Chun-Feng Wang |
|---|---|
| 論文名稱: | Heterogeneous Flow Table Distribution in Software-defined Networks |
| 指導教授: |
張貴雲
Guey-Yun Chang |
| 口試委員: | |
| 學位類別: |
碩士 Master |
| 系所名稱: |
資訊電機學院 - 資訊工程學系 Department of Computer Science & Information Engineering |
| 論文出版年: | 2015 |
| 畢業學年度: | 103 |
| 語文別: | 英文 |
| 論文頁數: | 89 |
| 中文關鍵詞: | 軟體定義網路 、三態內容尋址儲存器 、OpenFlow 、規模可伸縮性 |
| 外文關鍵詞: | Software-defined Networks, TCAM, OpenFlow, Scalability |
| 相關次數: | 點閱:7 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
近幾年來,軟體定義網路(SDN)已經變成了一個重要而且受歡迎的技術,這個技術提供了真實網路中開發新協議與政策的更好的彈性。而在軟體定義網路中的控制器轉換網路政策成網路規則,這些規則大多都儲存於交換器中的封包路徑表格中,而封包路徑表格通常都是用三態內容尋址儲存器(TCAM)來實作。而三態內容尋址儲存器有著一些限制,這種儲存器價格較為昂貴、耗電量高、以及高廢熱的產生使得在交換器中的三態內容尋址儲存器並不會太大,因此,若交換器需要儲存上百甚至上千條的規則的話,可能會不夠用。而其中一個解決的方案是若交換器有這樣規則的需求時,才向控制器尋問並快取這些規則,但這樣會使得封包延遲與佔用龐大的緩衝區。在此篇論文中,我們提出了一個規則分散與放置的演算法來提高效能,這個演算法會分散規則到各個交換器上,我們的演算法不僅適合用於容量小三態內容尋址儲存器的交換器上,更可保證語意上的正確性(即網路全域的行為不會受到改變),我們在現有的系統上實作了我們的演算法並且展示一些結果來說明我們的演算法可以增進整個網路效能。
Recently, Software-defined Network (SDN) has become an important and popular technology which provides for the flexibility of developing new protocols and the policies of real networks. The controller in SDN translates network policies into rules which are installed in the flow tables (Flow tables are usually stored in ternary content addressable memory (TCAM)) of switches in the networks. Hence, TCAM usually has some critical disadvantages (e.g., high costs, power consumption and high heat generation). Flow tables cannot scale beyond a few hundred entries. Therefore, switches may need to cache rules reactively (i.e., installing rules on demand). However, when cache misses happen, switches will send the packet-in message to the controller and reactively cache the rules, which causes packet delay and large buffers. In this thesis, we propose a rule partition and allocation algorithm that distributes rules across network switches to improve the performance. Our algorithm not only is applicable to small TCAM switch scenario, but also guarantees semantically-invariant (i.e., the global action of the network is unchanged). We implement our algorithm into the real world SDN scenario and the experiment result shows that our algorithm have obviously reduced TCAM usage.
[1] Software-defined networking from wikipedia, the free encyclopedia. http://en.wikipedia.org/wiki/Software-defined_networking.
[2] Software-defined networking (sdn) definition. https://www.opennetworking.org/sdn-resources/sdn-definition.
[3] Openflow. https://www.opennetworking.org/sdn-resources/openflow.
[4] V. C. Ravikumar and R.N. Mahapatra. Tcam architecture for ip lookup using prefix properties. IEEE Micro, 24(2):60–69, 2004.
[5] Y. Kanizo, D. Hay, and I Keslassy. Palette: Distributing tables in software-defined networks. In The IEEE INFOCOM, 2013.
[6] Chad R. Meiners, Alex X. Liu, and Eric Torng. Bit weaving: A non-prefix approach to compressing packet classifiers in tcams. IEEE/ACM Transactions on Networking, 20(2):488–500, 2012.
[7] Minlan Yu, Jennifer Rexford, Michael J. Freedman, and Jia Wang. Scalable flowbased networking with difane. In the ACM SIGCOMM, 2010.
[8] OpenFlow cisco connect. http://www.cisco.com/web/CZ/ciscoconnect/2014/assets/tech_sdn2_sp_api_openflow_
ungerman.pdf.
[9] Amin Tootoonchian, Sergey Gorbunov, Yashar Ganjali, Martin Casado, and Rob Sherwood. On controller performance in software-defined networks. In Presented as part of the 2nd USENIX Workshop on Hot Topics in Management of Internet, Cloud, and Enterprise Networks and Services, Berkeley, CA, 2012. USENIX.
[10] David A. Applegate, Gruia Calinescu, David S. Johnson, Howard Karloff, Katrina Ligett, and Jia Wang. Compressing rectilinear pictures and minimizing access control lists. In the ACM/SIAM SODA, 2007.
[11] Qunfeng Dong, Suman Banerjee, Jia Wang, Dheeraj Agrawal, and Ashutosh Shukla. Packet classifiers in ternary cams can be smaller. In SIGMETRICS, 2006.
[12] AX. Liu and M.G. Gouda. Complete redundancy removal for packet classifiers in tcams. IEEE Transactions on Parallel and Distributed Systems, 21(4):424–437, 2010.
[13] AX. Liu, C.R. Meiners, and E. Torng. Tcam razor: A systematic approach towards minimizing packet classifiers in tcams. IEEE/ACM Transactions on Networking, 18(2):490–500, 2010.
[14] Subhash Suri, Tuomas Sandholm, and Priyank Warkhede. Compressing twodimensional routing tables. Algorithmica, 35(4):287–300, 2003.
[15] R.P. Draves, C. King, S. Venkatachary, and B.D. Zill. Constructing optimal ip routing tables. In The IEEE INFOCOM, 1999.
[16] Nanxi Kang, Zhenming Liu, Jennifer Rexford, and David Walker. Optimizing the ”one big switch” abstraction in software-defined networks. In the Ninth ACM CoNEXT, 2013.
[17] Masoud Moshref, Minlan Yu, Abhishek Sharma, and Ramesh Govindan. vcrib: Virtualized rule management in the cloud. In HotCloud, 2012.
[18] Bo Yan, Yang Xu, Hongya Xing, Kang Xi, and H. Jonathan Chao. Cab: A reactive wildcard rule caching system for software-defined networks. In Proceedings of the Third Workshop on Hot Topics in Software Defined Networking, HotSDN ’14, pages 163–168, New York, NY, USA, 2014. ACM.
[19] D. J. A. Welsh and M. B. Powell. An upper bound for the chromatic number of a graph and its application to timetabling problems. The Computer Journal, 10(1): 85–86, 1967.
[20] Ryu. http://osrg.github.io/ryu/.
[21] Nox, pox. http://www.noxrepo.org/.
[22] Floodlight. http://www.projectfloodlight.org/floodlight/.
[23] Open vswitch. http://openvswitch.org/.
[24] AX. Liu, C.R. Meiners, and Yun Zhou. All-match based complete redundancy removal for packet classifiers in tcams. In IEEE INFOCOM, pages –, 2008.
[25] Alex X. Liu and Mohamed G. Gouda. Complete redundancy detection in firewalls. In DBSec, 2005.
[26] F. d’Amore, V.H. Nguyen, T. Roos, and P. Widmayer. On optimal cuts of hyperrectangles. Springer Computing, 55(3):191–206, 1995.
[27] RFC2722. https://tools.ietf.org/html/rfc2722.
[28] Mohammad Al-Fares, Alexander Loukissas, and Amin Vahdat. A scalable, commodity data center network architecture. In Proceedings of the ACM SIGCOMM 2008 Conference on Data Communication, SIGCOMM ’08, pages 63–74, New York, NY, USA, 2008. ACM.