• 沒有找到結果。

乙太被動光纖網路中利用PRNN預估器作品質服務提升之動態頻寬配置研究

N/A
N/A
Protected

Academic year: 2021

Share "乙太被動光纖網路中利用PRNN預估器作品質服務提升之動態頻寬配置研究"

Copied!
54
0
0

加載中.... (立即查看全文)

全文

(1)國立交通大學 電機學院. 電信學程. 碩 士 論 文 乙 太 被 動 光 纖 網 路 中 利 用 PRNN 預 估 器 作品質服務提升之動態頻寬配置研究 PRNN-based Predictive QoS-promoted Dynamic Bandwidth Allocation for Ethernet Passive Optical Networks. 研 究 生:吳星毅 指導教授:張仲儒 教授. 中華民國九十六年七月.

(2) 乙太被動光纖網路中利用 PRNN 預估器 作品質服務提升之動態頻寬配置研究 PRNN-based Predictive QoS-promoted Dynamic Bandwidth Allocation for Ethernet Passive Optical Networks 研 究 生:吳星毅 指導教授:張仲儒 教授. Student:Hsing-Yi Wu Advisor:Prof. Chung-Ju Chang. 國 立 交 通 大 學 電機學院 電信學程 碩 士 論 文 A Thesis Submitted to College of Electrical and Computer Engineering National Chiao Tung University in partial Fulfillment of the Requirements for the Degree of Master of Science in Communication Engineering July 2007 Hsinchu, Taiwan, Republic of China. 中華民國九十六年七月.

(3) 乙太被動光纖網路中利用 PRNN 預估器 作品質服務提升之動態頻寬配置研究 研究生:吳星毅. 指導教授:張仲儒 教授. 國立交通大學 電機學院 電信學程碩士班 中文摘要 乙太被動光纖網路(EPON)因其成本低廉之乙太網路設備及簡單、易維護之被動 光纖架構,被認為是最佳之接取網路解決方案。隨著寬頻的普及與傳輸速率的提升,由 語音、視訊與數據等結合的三合一服務(Triple Play)成為新趨勢,而乙太被動光纖網 路整合既有基礎光纖網路與成熟之乙太網路技術,使得它成為提供三合一服務的極佳選 擇。而為了提供服務使用者更快速以及更穩定的傳輸品質,有效地配置頻寬以保證服務 品質(Quality of Service)便成為它的一個重要之研究課題。 在本篇論文中,我們提出了一個於乙太被動光纖網路中利用 PRNN 預估器作品質 服務提升之動態頻寬配置方法。我們利用 PRNN 預估器收斂快速及預估準確之特性, 針對及時性服務(例如語音服務、視訊服務)及非及時性服務(例如網際網路資料傳輸) 於局端設備(OLT)作未及時回報之資料流量預測,而利用此預估結果作為頻寬分配之 依據。模擬的結果顯示,我們所提出的利用 PRNN 預估器輔助作動態頻寬分配之方法 確實能夠讓語音及視訊服務封包的平均延遲較 Q-DBA 方法分別改善 26%及 29%,對於 資料封包而言,其平均延遲改善約 34%,而系統效能則改善約 2%。. i.

(4) PRNN-based Predictive QoS-promoted Dynamic Bandwidth Allocation for Ethernet Passive Optical Networks Student:Hsing-Yi Wu. Advisor:Dr. Chung-Ju Chang. Degree Program of Electrical and Computer Engineering National Chiao Tung University ABSTRACT The Ethernet passive optical network (EPON), which represents the combinations of low-cost Ethernet equipment and simple fiber infrastructure, is considered to be the best solution to the next generation access network. Owing to the pervasion of broadband and the requirement of high-speed transmission, triple play services (combines voice, video, and data services) have become the current trend. With the integration of existing fiber network and mature Ethernet technology, EPON is considered to be the best candidate to support the triple play services. In order to provide faster and more stable transmission, an adaptive dynamic bandwidth allocation for QoS (quality of service) guaranteed has become a crucial research topic. In this thesis, we propose a PRNN-based predictive QoS-promoted dynamic bandwidth allocation for EPONs. With the characteristics of fast convergence and accurate prediction, the PRNN-based predictor is selected to predict the late-reported traffic (real-time and non-real-time traffic) and the result of prediction is a basis for the dynamic bandwidth allocation at OLT. Simulation results show that the proposed predictive Q-DBA method improves the average voice and video delay time by an amount of 26% and 29% than Q-DBA method, respectively. The predictive Q-DBA method also improves the average data delay time about 34% and the system utilization by an amount of 2%.. ii.

(5) 誌. 謝. 利用工作之餘進修的確需要專注力及意志力方能竟全功,這次修讀碩士專班給了我 很好的機會驗證學術與實務間的異同,對我日後工作相信會有很大之助益。碩士論文能 夠順利完成,首先由衷感謝張仲儒教授耐心而仔細的教導,不論是在學術上或是做人處 世方面都給予我最大的幫助。感謝正文學長在這幾年來對我的幫忙,不論是在問題的討 論、各項資料蒐集及提供都對我助益良多。也感謝家慶學長、文祥學長不吝提供相關參 考資料,使我能順利完成研究。 最後我要感謝我的父母、我太太昀真以及可愛的女兒旻晏,沒有他們的支持與鼓 勵,就不會有這本論文的完成。. 吳星毅 謹誌 民國九十六年. iii.

(6) Contents Mandarin Abstract. i. English Abstract. ii. Acknowledgements. iii. Contents. iv. List of Tables. vi. List of Figures. vii. Chapter 1 Introduction………………………………………………………...1 Chapter 2. Chapter 3. Related Works……………………………………………………...8 2.1. Interleaved Polling with Adaptive Cycle Time (IPACT)………………...9. 2.2. QLP Scheduling Algorithm…………………………………………….10. 2.3. LQF Scheduling Algorithm……………………………...……………..11. 2.4. GLQF Scheduling Algorithm…………………………………………..12. 2.5. PLQF Scheduling Algorithm………...…………………………………13. 2.6. Q-DBA Scheduling Algorithm…………………………………………13. The PRNN-based Predictive Q-DBA Method for EPON………...15 3.1. System Architecture…………………………………………………….15. 3.2. The PRNN-based Prediction……...…………………………………….18. 3.3. The Predictive Q-DBA Method…………………………..….…………25. iv.

(7) Chapter 4. Chapter 5. Simulation Results and Discussions……………………………...29 4.1. Simulation Environment…………………………….………………….29. 4.2. Simulation Results…………...………………………………….……...31. Conclusion………………………………………………………..40. Bibliography…………………………………………………………………...42 Vita. 45. v.

(8) List of Tables 1.1 Data rate and transmission distance of xDSL and cable modem……………………..2 1.2. Analysis of technology in xPON……………………………………………………..5. vi.

(9) List of Figures 1.1. EPON-tree network…………………………………………………………………...3. 1.2 EPON topologies……………………………………………………………………..4 1.3. Statistics and forecast of worldwide broadband customers…………………………..6. 1.4. Statistics of broadband customers in Japan…………………………………………..7. 3.1. System architecture of EPON……………………………………………………….16. 3.2. The PRNN-based Predictive Q-DBA scheme………………………………………17. 3.3 Format of GATE and REPORT messages…………………………………………..17 3.4. Upstream timeslot assignments……………………………………………………..19. 3.5 Fully Connected Structure of the RNN……………………………………………...24 3.6. Pipelined Recurrent Neural Network (PRNN)……………………………………...24. 4.1. Average voice delay time versus the system load in EPON………………….32. 4.2. Average video delay time versus the system load in EPON……………………….33. 4.3. Average data delay time versus the system load in EPON………………………….34. 4.4. Average video dropping probability versus the system load in EPON……………...36. 4.5. Average data packet blocking probability versus the system load in EPON………..36. 4.6 Average data starvation ratio versus the system load in EPON……………………..37 4.7. System utilization versus the system load in EPON………………………………...38. vii.

(10) Chapter 1 Introduction. The “access network” (also referred to as “last mile” or “local loop”) has been a popular topic recently. Due to the rapid growth of the internet traffic in the past few years, a larger bandwidth requirement of the access network is needed urgently. Nowadays, the most widely deployment configurations of broadband access network are digital subscriber loops (DSL) and CATV networks. In Taiwan, up to the end of year 2006, the subscribers of xDSL and cable modem have exceeded 3.3 millions [1]. DSL uses the same copper twisted pair as telephone line where the data rate transmits in the range of 64 Kbps to 100 Mbps. Table 1.1 lists the data rate and available distance for xDSL (families of DSL) and cable modem services. As presented in Table 1.1, either xDSL or cable modem has its limitation in the data rate and available distance, which are the bottlenecks for the development of traditional access networks. Optical fiber, with its characteristics of unlimited bandwidth, low signal loss, long distance transmission, non-conductive, and low price, has been widely applied in the core network for a long time. Due to the increasing demands for bandwidth in access network and the maturity of the optics technology, the deployment of optical fiber in the access network is an inevitable trend. As a matter of fact, optical fiber is absolutely a good solution to the bottlenecks of xDSL and cable modem, it has the capability of delivering integrated, plesio-infinite broadband voice, data, and video services at the distance beyond 20 km in the access network and has the ability to fulfill the multi-demands of broadband services.. 1.

(11) Downstream Data Rate. Upstream Data Rate. Transmission Distance (km). 128 Kbps. 128 Kbps. 5.5. T1/E1. T1/E1. 3.5/2.7. SDSL (Symmetric DSL). 1.5~2 Mbps. 1.5~2 Mbps. 4~3. UDSL (Universal DSL). 2 Mbps. 2 Mbps. 5.5. 1.5~8 Mbps. 64~1000 Kbps. 5.5~3.7. 24 Mbps max.. 1 Mbps max. 6. RADSL (Rate-Adaptive DSL). 12 Mbps. 1 Mbps. 3.7. VDSL (Very high bit rate DSL). 13~52 Mbps. 1.5~2.3 Mbps. 1.4~0.3. VDSL2 (Very high bit rate DSL2). 1~100 Mbps. 1~100 Mbps. 5~0.2. Cable modem. 27~36 Mbps. 0.768~10 Mbps. >100. xDSL IDSL (ISDN-like DSL) HDSL (High bit rate DSL). ADSL (Asymmetric DSL) ADSL2+(Asymmetric DSL). Table 1.1: Data rate and transmission distance of xDSL and cable modem The Ethernet passive optical network (EPON), which represents the combinations of low-cost Ethernet equipment and low-cost fiber infrastructure, is considered to be the best solution to the next generation access network. As shown in Figure 1.1, the EPON is a point to multi-point optical network with no active elements in the signal’s path from source to destination. The only interior elements used in EPON are passive optical components, such as optical fiber, couplers, combiners and splitters. All transmissions in an EPON are performed between an optical line terminal (OLT) and optical network units (ONUs). The OLT resides in the local exchange (central office) and connects the optical access network to an Internet protocol (IP), asynchronous transfer mode (ATM), or synchronous optical network (SONET) backbone. The ONU is located either at the end-user location (fiber-to-the-home (FTTH) and fiber-to-the-business (FTTB) solutions), or fiber-to-the-curb (FTTC solution) and provides broadband voice, data, and video services. Several topologies are suitable for an EPON (Figure 1.2), such as tree, ring, bus or combinations of these three topologies. In the access network, tree topology is more common used for the easy deployment and the economical use of optical fibers. Thus, for the rest of our thesis, we will focus our attention on the tree topology, as shown in Figure 1.1.. 2.

(12) ‧‧‧. Downstream:Broadcast Upstream:Multi-Access Downstream Service Node. OLT. ONU. optical fiber Upstream splitter/combiner. Home Network. ‧‧‧. (IP,ATM,SONET). EPON Figure 1.1: EPON-tree network. In the downstream direction (defined as frames traveling direction from the OLT to the ONU(s)), EPON is a broadcasting media (point to multi-point network). Ethernet packets transmitted by the OLT pass through a 1:N passive splitter/combiner and reach each ONU. An ONU discards packets that are not destined to it before passing the rest of them to a user. In the upstream direction (defined as frames traveling direction from the ONU(s) to the OLT), unlike downstream direction, EPON uses multi-access (multi-point to point network). Since its multi-access characteristics, the upstream multiple access scheme of EPON is the most challenging and interesting issue. The ONU needs to employ some arbitration mechanism to avoid data collisions and fairly share the fiber-channel capacity. This is achieved by allocation of a transmission window (timeslot) to each ONU. Each timeslot is capable of carrying several Ethernet packets. The ONU should buffer packets received from a subscriber until its timeslot arrives. When its timeslot arrives, the ONU should “burst” all stored packets at full channel speed. The timeslot size may be fixed or variable, for example, it may depend on the amount of data stored in the waiting queues of the ONU. Due to its tremendous capacity of transmission, EPON is capable of transmitting various sorts of communication services, including voice, video, and data. To support the multitude of application of EPON, we classify the traffic into classes of service (CoS) and provide differentiated treatment to each class [2]. In this thesis, traffic is categorized into three classes: voice, video and data. 3.

(13) ONU 1. ONU 2 OLT ONU 3 ONU 4. (a) Tree topology ONU 1. ONU 3. OLT ONU 2. ONU 4. (b) Bus topology OLT. ONU 1. ONU 4. ONU 3. ONU 2. (c) Ring topology Figure 1.2: EPON topologies Recently, PON technology has been discussed enthusiastically. Except the EPON technology, GPON (Gigabit-Capable PON) seems to be the most attractive one among xPON technologies. Table 1.2 is the analysis of technologies about APON (ATM PON), BPON (Broadband PON), GPON, and EPON. APON is a technology based on ATM structure and developed by FSAN[3] (Full Service Access Network, an interest group for the world's leading telecommunications services providers, independent test labs, and equipment suppliers to work towards a common goal of truly broadband fiber access networks.) in 1990s’. BPON, the extension of APON, is also developed in FSAN by 1998. Owing to the complicated ATM structure, APON and BPON are not deployed extensively. As for the GPON, 4.

(14) it is also developed by FSAN and standardized in 2004. GPON can support not only the Ethernet service but also the ATM and TDM service, and therefore, GPON gets more and more interest lately.. Characteristic. APON / BPON. GPON. EPON. standard. ITU-T G.983. ITU-T G.984. IEEE 802.3ah. Downstream line rates (Mbps). 155 or 622. 1244 or 2488. 1250. Upstream line rates (Mbps). 155 or 622. 155, 622, 1244, or 2488. 1250. Payload encapsulation. ATM. ATM or GFP. Ethernet Framing. Addressing capability (minimum). 32. 64. 16. Addressing capability (maximum). 64. 128. 256. Logical reach (km). 20. 20. 10 or 20. Table 1.2: Analysis of technology in xPON. For its capability of supporting Ethernet service, ATM service, and TDM service, GPON is thought to be the powerful competitor of EPON. But according the analysis of experts in the market trends, EPON is still believed the best technology, why? We summarize the advantages of using EPON in subscriber access network as follows. ( i ) EPON minimizes the fiber deployment in access network (both local central office and local loop). (ii) EPON allows for long reach between central office and customers (over 20 km). (iii) EPON provides higher bandwidth (gigabit solutions). (iv) Because there are only passive elements in EPON, EPON eliminates the necessity to maintain the active curbside units and provide power to them. 5.

(15) ( v ) EPON allows upgrades to higher bit rates or additional wavelengths owing to optically transparent end to end. (vi) The cost of deployment in EPON is lower than that in GPON due to the widely use of Ethernet. Figure 1.3 shows the statistics and forecast of worldwide broadband customers from 2004 to 2010. According to the statistics of ITRI IEK, there are about 0.2 billion broadband customers in 2006, most of them are DSL users. But we can see that the increase of DSL users will slow down after 2008, and the customers of FTTx will increase rapidly. ITRI IEK estimates that there are about 0.4 billion broadband customers in 2010, and the customers of FTTx are about 0.13 billion, that is, the development of FTTx is prosperous in the future.. DSL FTTx. Source: Industrial Technology Research Institute IEK(工研院產業經濟與趨勢研究中心) (2007/05). Figure 1.3: Statistics and forecast of worldwide broadband customers EPON plays an important role in FTTx. Let’s focus on the development of EPON in Japan, the customers of EPON increases rapidly than the customers of DSL since 2006, as depicted in Figure 1.4. We can also found that the customers of DSL have been decreasing from Q1 to Q2, 2006 (about 27 thousand customers’ attenuation). According the explanation of the authorities in Japan, because the deployment of fiber is widely throughout the megalopolis in 6.

(16) Japan, and the price of EPON and DSL are almost the same, therefore, the development of EPON is faster than that of DSL in Japan.. DSL. EPON. Source: 日本總務省(MIC) (2006/09). Figure 1.4: Statistics of broadband customers in Japan In EPON, the upstream transmission (packets transmissions from ONU to OLT) uses a GATE-REPORT mechanism, and the research of the dynamic bandwidth allocation (DBA) is so attractive that our thesis will focus on the discussion of the DBA mechanism for EPON. For the remainder of the thesis, chapter 2 describes some related works about scheduling algorithms. Chapter 3 proposes a PRNN-based predictive Q-DBA method. Chapter 4 discusses the result of simulation and evaluation of performance. Finally, conclusion remarks are presented in Chapter 5.. 7.

(17) Chapter 2 Related Works. An EPON cannot be considered as a shared medium or a point to point network. In the downstream direction, Ethernet frames transmitted by the OLT pass through a 1:N passive splitter to reach each ONU. The packets broadcasted by the OLT will be filtered by their destination ONUs based on the medium access control (MAC) addresses. In the upstream direction, due to the directional property of a passive combiner, packets from any ONU can only reach the OLT, not other ONUs. Hence, ONUs have to share the trunk fiber channel in the upstream, and medium access control is required to deploy ONUs’ transmission to prevent data from being corrupted owing to multiple ONU transmitting at the same time. Owing to the directional property of optical splitter, ONUs cannot easily detect a collision at the OLT. So, the conventional carrier sense multiple access/ collision detection (CSMA/CD) is difficult to implement in EPON. Furthermore, the bandwidth distribution to each ONU cannot be controlled, guaranteed and make it very hard for any form of quality of service (QoS) to be supported. Considering the above factors, a time division multiple access (TDMA) scheme on a common wavelength for scheduling is more attractive for upstream traffic. In this Chapter, we present some related works about scheduling algorithms, including IPACT, QLP, LQF, GLQF, PLQF, and Q-DBA method.. 8.

(18) 2.1. Interleaved Polling with Adaptive Cycle Time (IPACT). As proposed in [4], interleaved polling with adaptive cycle time (IPACT) is a welldesigned scheme for dynamic bandwidth allocation in EPON because it minimizes unused bandwidth by using polling messages which are interleaved on downstream Ethernet traffic. In IPACT, the OLT distributes variable size time windows whose size depends on the amount of frames buffered at the respective ONUs, as reported by the respective ONUs, using control messages. Each ONU executes the same procedure driven by a grant message received from the OLT. It is an OLT-based centralized dynamic medium access arbitration scheme; thus, it is easy to adaptively change the scheduling at run-time based on the actual network condition. Also, it considers the large propagation delay of an EPON that could span as far as 20km. IPACT is an attractive proposition because, firstly, no synchronization is needed among ONUs, and, secondly, polling message is interleaved with frame transmission so that the overall overhead arisen from the propagation delay is reduced and the efficiency is higher. Unfortunately, IPACT does not explicitly consider the fact that different ONUs have different requirements due to the differences in subscribers service level agreements (SLAs). In addition, IPACT’s dynamic bandwidth allocation scheme also introduces burstiness in the transmission of traffic from each ONU to the OLT. The simulations in [4] assume that all ONUs have the same maximum transmission window Wmax. How the OLT determine the granted window size if the requested window size W[i]<Wmax? A few approaches have been introduced, including, ( i ) Fixed service: It ignores the requested window size and always grants the maximum window. (ii)Limited service: It grants the requested windows size but no more than Wmax. (iii)Constant credit scheme: A 9.

(19) constant credit is added to the requested window size to compensate the data arriving between the time an ONU sent the Request and received the Grant message. (iv)Linear credit scheme: A similar method as the constant credit scheme, the credit size is proportional to the requested window. ( v ) Elastic service: It has an attempt to the fixed maximum window limit, and the maximum cycle time is the only limiting factor. Among these approaches described above, it is concluded that the limited service is the best service discipline.. 2.2. QLP Scheduling Algorithm. In [5], queue length proportional (QLP) scheduling algorithm concentrates on how the bandwidth can be efficiently allocated according to the real traffic load. The bandwidth allocation is implemented by considering both the bandwidth and the queue length in each buffer proportionally. The QLP is able to achieve a high throughput as well as to improve the utilization of buffer space by avoiding the possible cell loss caused by the Max-Min fairness algorithm under the heavy congestion situation. The QLP algorithm assigns an input port with a rate proportional to its buffer queue length. Let L1, L2, …, LN be the buffer queue length for input n (n=1,2,…,N), LT= L1 + L2+…+ LN be the total queue length. Let R1, R2,…, RN be the assigned bandwidth by output m (m=1,2,…,N) for input 1,2,…,N respectively. RT = R1 + R2 +…+ RN is the available bandwidth of output m for the best effort traffic. Applying the QLP algorithm, we got. R1 =. L1 L RT = 1 RT , L1 + L2 + ... + LN LT #. RN =. LN L RT = N RT . L1 + L2 + ... + LN LT. Ri RT 1 = = , Li LT µ. i = 1,2,...N .. 10.

(20) Because the bandwidth allocation of QLP is based on the traffic queue length and the available bandwidth, so the buffer space and bandwidth will not be wasted for possible mismatch between them. A high throughput and low cell loss ratio cab be achieved because that QLP considers the constraint of the buffer space inside a switch. QLP has another conspicuous feature that the heavy load traffic in an input port can logically share buffers of the other input ports although there are no physical congestion among them. After the analysis in this paper, the QLP is considered to be able to maximize overall throughputs and handle buffer utilization comparing to those in conventional scheduling algorithms.. 2.3. LQF Scheduling Algorithm. It has been known that the throughput of the N x N port input-queued switch with FIFO (First In, First Out) queues is limited to 58.6%, [14]. The throughput is limited since a cell can be hindered by another cell ahead of it which is destined for a different output. This is so called HOL (Head of Line) blocking. This result applies only to input-queued switches with FIFO queues. The HOL blocking can be eliminated by using a simple buffering strategy, that is, rather than maintain a single FIFO queue for all cells, each input maintains a separate queue for all cells. When the traffic is independent and uniform, a number of algorithms demonstrate that the throughput can reach 100%. But all of these algorithms perform less well when traffic is non-uniform. Nick McKeown proposed longest quest first (LQF) scheduling algorithm in [6], LQF gives preferential service to the longest queue by using a maximum weight matching algorithm, where each integer-value weight is set to the corresponding queue length. It was proved in N. Mckeown’s paper that, for independent and either uniform or non-uniform arrivals, using the LQF scheduling algorithm, the throughput could be increased to approximately 100% compared to the throughput of traditional FIFO scheduling algorithm. In Nick McKeown’s previous paper, it was found that LQF can achieve 100% throughput 11.

(21) for independent uniform and non-uniform traffic by considering the occupancies of queues (queue length). As a matter of fact, the LQF is very difficult to put into practice in hardware at high speed. A new algorithm called Longest Port First (LPF) [15] is proposed to conquer the complexity problems of LQF. In LPF each weight is a function of queue lengths (the weights are not exactly equal to the queue lengths, but are similar.). LPF can be implemented in hardware at high speed. It is proved that LPF can also achieve 100% throughput for both uniform and non-uniform traffic.. 2.4. GLQF Scheduling Algorithm. Generalized longest queue first (GLQF) scheduling algorithm was proposed in [7]. Firstly, the sources are classified into N classes so that sources in one class have the same cell loss probability requirement. Under this scheduling algorithm, each buffer is assigned a positive number as its weight according to the product of the corresponding weight of class and the queue length. The scheduler transmits the cell from the buffer that has the maximal weight. The advantage of this algorithm is that it can adapt to momentary overload rapidly comparing to the traditional LQF scheduling algorithm. This feature ensures that the overloaded buffer could receive almost the overall service and reduce the losses owing to the buffer overflows and cell delay variation. A method of analysis of which approximates the queue length distribution was developed for this GLQF. This method works well from low to medium utilization. As for the high utilization, a heavy traffic limit theorem for the Generalized Longest Queue First scheduling algorithm was proven. Finally, in this thesis, the smaller variance in the behavior of the maximum queue length explains that GLQF scheduling algorithm provides smaller cell delay variation.. 12.

(22) 2.5. PLQF Scheduling Algorithm. In [8], an improved scheduling algorithm called prediction-based longest queue first (PLQF) was introduced. Due to the natural randomness of broadband traffic in ATM networks, instantaneous traffic bursts may take place and surpass the network bandwidth. And the PLQF is designed to achieve minimal cell loss rate (CLR) when the incoming traffic is bursty. After analyzing the conventional LQF scheduling algorithm, it is found that the LQF may not be applicable for high bursty traffic. That is, when the incoming traffic to the buffer is bursty, the conventional LQF scheduling algorithm can cause poor buffer utilization and CLR. The PLQF is designed to solve this problem. Under this scheduling algorithm, the scheduler considers not only the queue length, but also the incoming traffic. The scheduler can adjust the queue lengths in advance to provide to the incoming traffic. The scheduler of PLOF calculates a weight for each user considering the incoming traffic. The scheduler always serves the user who has the maximum weight. Based on the information of user queue length and the incoming traffic, the resource is allocated to the user who has the highest probability to overflow in the near future. The measure QoS parameter in this paper is CLR. For the PLQF algorithm, two versions, on-line PLQF (in which predictor is used) and off-line PLQF (in which traffic information is pre-known) are simulated. Through the theoretical analysis in this paper, it is proved that the PLQF scheduling algorithm could reduce the CLR by 10% to 60% than conventional LQF scheduling algorithms.. 2.6. Q-DBA Method Scheduling Algorithm. In [9], an improved scheduling algorithm called QoS-promoted dynamic bandwidth allocation (Q-DBA) was introduced. Six kinds of information of queues included in the report message of ONU were sent to OLT. In addition to the traditional information of the occupancy of real-time voice packets, real-time video packets, and non-real-time data packets, the 13.

(23) Q-DBA scheduling mechanism also considers three new kinds of information of queues, the delay criterion of video packets, the dropping probability of video packets, and the waiting time of data packets. Upon receiving the report messages from each ONU, the OLT allocates the available bandwidth in a proportional method. The sequence of bandwidth allocation is as follows. The voice packets get the first priority, then the video packets which violate the delay criterion and the dropping probability, the data packets whose waiting time is larger than the waiting bound acquire the fourth priority, and finally, the normal video and data packets have the lowermost priority. According to the simulation result in this paper, the Q-DBA method improves the performance in EPON, including the average video packet dropping probability, the average data packet blocking probability, the average video delay, and the overall fairness index of packet.. 14.

(24) Chapter 3 The PRNN-based Predictive Q-DBA Method for EPON. 3.1. System Architecture. The proposed EPON architecture is shown in Figure 3.1. There are an OLT, M ONUs and a 1:M splitter between OLT and ONUs. The splitter is used to broadcast packets from the OLT to all the ONUs. The downstream transmission is the packets broadcasting from the OLT to the ONU and the upstream transmission is the packets transmitted from the ONU to the OLT following a GATE-REPORT mechanism [2]. There are OLT with line rate RE (bps) between OLT and each ONU, and M ONUs with line rate RU (bps) between ONU and its own end users. In ONUi, 1 ≤ i ≤ M, three classes of queues are provided to store real-time voice, real-time video, and non-real-time data packets coming from the users and are denoted by Q0,i , Q1,i ,and Q2,i , respectively. The queue size of Q0,i , Q1,i and Q2,i are Q0,i , Q1,i and Q2,i , respectively. The packet controller of the ONU puts the incoming packets from users into the corresponding queue according to their types and will drop some type of packets if the queue is full. Base on the Q-DBA method [9], the packet controller will also drop certain type of packets if they violate their delay criteria. The queue manager takes over the management of the transmission between the OLT and the ONUs, that is, it transmits and receives packets between OLT and the ONUs. In addition, the queue manager also takes charge of generating the REPORT message. 15.

(25) To transmit data in upstream channel (from the ONU to the OLT) of an EPON, the polling scheme is considered the better way. That is, the ONU sends a request message (REPORT) to the OLT to get the required timeslots in the next transmission cycle. According to the requests of the ONUs, the OLT sends a grant message (GATE) to the ONU and allocates the granted timeslots in a fixed or dynamic length. The former algorithm is called GATE-REPORT mechanism [2]. The OLT sends a GATE signal to inform the ONU of when and how to transmit data to the OLT. Relatively, the ONU will send a REPORT signal tailed with the data to inform the OLT of the requested bandwidth in the next transmission cycle. ONU 1. RU:Line rate of user to ONU link(bps). RU. Packets Controller. RE. RE. Upstream. … Q0,i … … Q1,i … … Q2,i …. RU. users. ․․․. Gate Message Generator. Downstream. users. ONU i. 1:M splitter. Queue Management. PRNN-based Predictive Q-DBA Scheme. … Q2,1 …. RU. Packets Controller. OLT. … Q1,1 …. Packets Controller. RE. … Q0,1 …. ․․․. Queue Management. RE:Line rate of EPON(bps). ONU M Queue Management. RE. … Q0,M… … Q1,M… … Q2,M…. users. Figure 3.1: System architecture of EPON. Figure 3.2 is the PRNN-based predictive Q-DBA scheme, the PRNN predictor will be introduced in section 3.2, and the predictive Q-DBA will be presented in section 3.3.. 16.

(26) Predictive Q-DBA Scheme PRNN predictor Figure 3.2: The PRNN-based predictive Q-DBA scheme The format of GATE and REPORT messages are shown in Figure 3.3. Upon receiving the GATE message from the OLT, the ONU begins to transmit packets. In the meantime, the ONU will keep receiving packets from the user. After finishing the packets transmission, the ONU will generate a REPORT message to inform the OLT of the requested packets in the next cycle. If the packets in the queue are null, the ONU still sends REPORT message but the requested packets is zero. GATE message Destination address (DA) Source address (SA) Length/Type = 88 − 0816 Opcode = 00 − 0216 Timestamp Number of grants/flags [Grant #1 start time] [Grant #1 length] [Grant #2 start time] [Grant #2 length] [Grant #3 start time] [Grant #3 length] [Grant #4 start time] [Grant #4 length] Pad/Reserved. Octets. REPORT message Destination address (DA) Source address (SA) Length/Type = 88 − 0816 Opcode = 00 − 0316 Timestamp Number of queue sets [Report bitmap] [Queue #1 report] [Queue #2 report] [Queue #3 report] [Queue #4 report] [Queue #5 report] [Queue #6 report] [Queue #7 report] [Queue #8 report] Pad /Reserved Frame check sequence (FCS). 6 6 2 2 4 1 4 2 4 2 4 2 4 2 15/39. Frame check sequence (FCS). 4. [ ]: optional Figure 3.3: Format of GATE and REPORT messages 17. Octets 6 6 2 2 4 1 1 2 2 2 2 2 2 2 2 0-39 4.

(27) 3.2. The PRNN-based Prediction. First, we define notations in the following: cycle n (of ONUi) : the time difference between the OLT first beginning to receive the nth REPORT message from ONUi and the next beginning to receive the (n+1)st REPORT message from the same ONUi; L0 ,i (n) : the reported occupancy of queue Q0,i in bytes at cycle n;. L1,i (n) : the reported occupancy of queue Q1,i in bytes at cycle n;. L2 ,i (n) : the reported occupancy of queue Q2,i in bytes at cycle n; Ldp ,i (n) : the total amount of video packets (in bytes at cycle n) which will be dropped at the end of the next cycle if they are not transmitted at the next cycle because their delay time will violate the delay constraint; Td* : the delay constraint of video packets in seconds; Ld ,i (n) : the total amount of video packets (in bytes at cycle n) which should be transmitted at the next timeslot in order to sustain the requirement of packet dropping probability; Pd* : the dropping probability bound of video packet; Lw,i (n) : the total amount of data packets (in bytes at cycle n) whose waiting time is larger than a waiting bound; Tw* : the waiting bound of data packets in seconds; Gm,i (n) : the granted bandwidth in bytes for Qm,i at cycle n; Lm,i (n) : the reported occupancy of queues Qm,i at cycle n; ~ E m ,i (n) : the amount of estimated new arrival packets for Qm,i in bytes during cycle n;. Pm ,i (n) : the predicted occupancy of Qm,i in bytes during cycle n; Ti (n) : the cycle time of EPON in seconds at cycle n for ONUi; ~ λ m ,i (n) : the estimated packet arrival rate in bytes/sec. during cycle n; 18.

(28) Am ,i (n) : the amount of actual new arrival packets at Qm,i in bytes during cycle n;. λm,i (n) : the actual packet arrival rate in bytes/sec. during cycle n. The proposed PRNN-based predictive QoS-promoted dynamic bandwidth allocation (PRNN-based predictive Q-DBA method) assumes that ONUi, 1 ≤ i ≤ M, sends report message including six sorts of information of queues, L0 ,i (n) , L1,i (n) , L2 ,i (n) , Ldp ,i (n) , Ld ,i (n) , and Lw,i (n) . The L0 ,i (n) , L1,i (n) , and L2 ,i (n) denote the reported occupancy of queues Q0 ,i , Q1,i , and Q2 ,i in bytes at cycle n, respectively. The Ldp ,i (n) denotes the total amount of video packets (in bytes at cycle n) which will be dropped at the end of the next cycle if they are not transmitted at the next cycle because their delay time will violate the delay constraint of video packet, Td* . The Ld ,i (n) denotes the total amount of video packets (in bytes at cycle n) which should be transmitted at the next timeslot in order to sustain the requirement of packet dropping probability of video packet, Pd* . The Lw,i (n) denotes the total amount of data packets (in bytes at cycle n) whose waiting time is larger than a waiting bound, Tw* .. Figure 3.4: Upstream timeslot assignments Figure 3.4 shows the upstream timeslot assignment between the OLT and the ONU. “A cycle n of ONUi” is defined as the time difference between the OLT first beginning to receive the nth REPORT message from ONUi and the next beginning to receive the (n+1)st REPORT message from the same ONUi (As depicted in Figure 3.4, T5-T1 is the cycle n-1 for ONU1). 19.

(29) When the ONU receives the GATE message from the OLT, it is ready for ONU to transmit packets at its timeslot. For example, as shown in Figure 3.4, upon receiving Gm ,1 (n-1) , m ∈ 0, 1, 2, the granted bandwidth in bytes for Qm ,1 with service type m at cycle n-1, ONU1 starts to transmit packets at t1 (assigned by OLT), the ONU1 will end its transmission at t2 and give a report message to OLT with the reported queue occupancy. In the meantime between T1 and T5, the ONU1 will keep receiving packets from the user. Assume that the OLT is at the present cycle n-1(start at T1, as depicted in Figure 3.4). In order to make a better utilization of bandwidth, we need to consider the new arrival packets at cycle n-1 for ONUi. That is, we make a prediction of the amount of ONUi’s new arrival packets at cycle n-1. ~ Denote E m ,i (n-1) to be the amount of estimated new arrival packets of Qm,i in bytes at. cycle n-1 and Pm ,i (n) to be the predicted occupancy of Qm ,i in bytes at cycle n. Pm,i (n) can be obtained by ~ Pm ,i (n) = Lm ,i (n-1) + E m ,i (n-1) .. (1). Denote Ti (n-1) to be the cycle time of EPON in seconds at cycle n-1 for ONUi. ~ and λ m,i (n-1) to be the estimated packet arrival rate in bytes/sec. during cycle n-1. ~ The E m ,i (n-1) can be calculated as follows. ~ ~ E m,i (n-1) = λ m,i (n-1) * Ti (n-1) .. (2). Through the analysis of the relationship between the reported queue occupancy and the granted bandwidth, we could find the way to get the amount of actual new arrival packets at Qm ,i . For example, let Am ,i (n-2) to be the amount of actual new arrival packets at Qm ,i in bytes at cycle n-2. At cycle n-1, the OLT can obtain the amount of actual new arrival packets Am ,i (n-2) according to the reported queue occupancy of Qm ,i , Lm ,i (n-1) , Lm ,i (n-2) and the granted bandwidth Gm ,i (n-1) . If the reported queue occupancy Lm ,i (n-1) is greater than zero, then the amount of actual new arrival packets Am ,i (n-2) can be calculated from 20.

(30) Gm ,i (n-1) , Lm,i (n-1) , and Lm,i (n-2) . If the reported queue occupancy equals to zero, assume that the actual new arrival packets arrive in uniform distribution, then the Am ,i (n-2) can be obtained as follows ⎧ ⎪Gm ,i (n-1) + Lm ,i (n-1) − Lm ,i (n-2), ⎪ Am ,i (n-2) = ⎨ ⎪ G (n-1) − L (n-2) m ,i ⎪ m ,i , ⎩ 2. if Lm ,i (n-1) > 0,. (3) if Lm ,i (n-1) = 0.. Denote λm ,i (n-2) to be the actual packet arrival rate at cycle n-2, it can be calculated as follows. λm,i (n-2) =. Am,i (n-2). . (4) Ti (n-2) As mentioned earlier, in order to make a better utilization of bandwidth, we need to consider the mount of new arrival packets to the ONU between each ONU’s report time. In this thesis, we estimate the mount of new arrival packets using the PRNN predictor. As depicted in Figure 3.6, let λm ,i (n-2) to be the input of PRNN predictor, then the estimated ~ packet arrival rate λ m ,i (n-1) can be obtained from the output of PRNN predictor. For example, as depicted in Figure 3.4, the OLT can make a prediction of the new packet arrival ~ ~ rate λ m,1 (n-1) at T2, then λ m ,2 (n-1) at T3, and so forth. After the OLT has collected all the predicted data for ONUi at cycle n-1 (at T4), the proposed DBA mechanism allocates the available bandwidth to each ONU. The details of proposed DBA mechanism will be discussed in next section and the description of PRNN predictor will be introduced in the following. Least mean square (LMS) and recursive least squares (RLS) are two linear adaptive structures for the prediction of signals. LMS is firstly introduced by Widrow and Hoff in 1959, the strength of the LMS resides on its simplicity and easy processing. Afterward there are some improved algorithms for LMS, such as normalized least mean square (NLMS), fast least mean square (FLMS), discrete cosine transform - least mean square (DCT - LMS) [10]. RLS is a representative of the other prediction algorithms, it is based on the method of the least squares on the theory of Kalman filters. The main difference between LMS and RLS is the 21.

(31) inherent statistical conception. In RLS algorithm, we work with time-based averages calculated from different samples of the same random process, but on the contrary, in LMS algorithm, averaging involves values acquire from specific time but from different realization of one random process. Because of the calculation of time average requires more instructions, so the computational complexity of RLS-based is one order higher than that of LMS-based methods. But from the point of view of the performance of convergence rate, the RLS-based algorithms are several times speedy than LMS-based algorithms. In 1995, Haykin and Li [11] presented a nonlinear predictor based on the pipelined recurrent neural network (PRNN). The PRNN is believed to outperform the LMS and RLS in the prediction of nonlinear and non-stationary signals. The PRNN is composed of a number of small recurrent neutral networks (RNN’s) but keep its relatively low computational complexity. A real-time recurrent learning algorithm (RTRL) [12] is used by Haykin and Li for the training of the PRNN and it helps to predict the nonlinear and non-stationary signals more precisely and accurately. The PRNN predictor is a modular neural network, and consists of a certain number r of RNN’s as its module, each module is composed of N neurons. The PRNN predictor has good nonlinear prediction capability and fast convergent time. A fully connected RNN structure, which has N neutrons and p+q+N input nodes, is shown in Fig.3.5. The predicted data ~. λ m,i (n+1) is expressed as follows (For simplicity, the lower subscript is omitted.) ~. ~. ~. ~. ~. λ (n+1) = H ( λ (n) ,..., λ (n-p+1);1; λ (n) ,...,λ (n-q+1); y2 (n-1) ,..., yN (n-1)) ,. (5). where H (⋅) is an unknown nonlinear function. The j th neutron first calculate a weighted sum, denoted by v j (n) , and is given by equation (6) p+q+ N. v j (n) = ∑ wij (n)ui (n) , i =1. (6). where wij denotes the weight of the connection from the ith input node to the jth neuron, ui(n) is the ith input node. The output yj(n) is the transformation of the vj(n) by a sigmoidal activation function, which is given by. 22.

(32) yj (n) = ϕ ( vj ( n ) ) =. 1 . 1 + exp( − vj (n)). (7). We can get the weight wij by using RTRL algorithm [13]. w(n + 1) = w(n) − η. ∂C (n) , ∂w. (8). where η is a fixed learning rate parameter, C(n) is the cost function defined as q C (n) = ∑ α n i−1e 2 (n − i + 1) , i =1. (9). where α n is an exponential forgetting factor that lies in the range of 0 ≤ α n ≤ 1 , and e is the prediction error. As shown in Fig.3.6, the PRNN is a pipelined structure of the NARMA-based RNN predictor. All the modules of the PRNN are designed to have exactly the same synaptic weight ~ matrix W. The predicted data λ m ,i (n-1) can be obtained from the first neutron of the first module.. 23.

(33) λ(n) λ(n-1). u1. v1 y1(n). w11. u2. λ(n+1). w21 v2 y2(n). ··· up. ···. λ(n-p+1). ~. 1 ~. vN yN(n). λ(n-q+1). ···. ~. λ(n-1) ~. λ(n) WN,p+q+N. y2(n-1). ···. yN(n-1). up+q+N. …. z-1I Figure 3.5: Fully Connected Structure of the RNN. λ(n-r). z-1I Module r. λ(n-r+1). λ(n-r+2). z-1I. ·····. λ(n-3). z-1I. weight matrix W. Module r-1 weight matrix W. Module 1 weight matrix W. z-1I. z-1I. z-1I. z-1 Figure 3.6: Pipelined Recurrent Neural Network (PRNN). 24. λ(n-2) ~. λ(n-1).

(34) 3.3. The Predictive Q-DBA Method. The OLT determines the bandwidth allocation. Upon receiving all report messages from each ONU, that is, L0 ,i (n) , L1,i (n) , L2 ,i (n) , Ldp ,i (n) , Ld ,i (n) , and Lw,i (n) . For simplicity, the label of cycle n for each ONU will be omitted in the following discussion. According to the PRNN-based prediction of the new arrival packets of queues Q0,i , Q1,i , and Q2,i proposed earlier, the report messages can be adjusted to P0,i , P1,i , P2,i , Pdp ,i , Pd ,i , and Pw,i , respectively. Denote B to be the total bandwidth of each ONU. The allocated bandwidths are sent to each ONU by the GATE message. The GATE message tells ONUi the start time of the packet transmission and the amount of bandwidth in bytes ONUi can transmit. As soon as ONUs receive their own GATE message, they are ready to transmit the packets. In order to guarantee the QoS requirements, we classify the packets which come from users into six priorities. Due to its delay sensitivity, the predictive voice data P0 ,i get the highest priority. The predictive video packets Pdp ,i and Pd ,i which will be dropped if they are not transmitted at the next cycle have the second and third priorities. Then we consider the starvation of the predictive data packets, Pw,i , whose waiting time outrun the waiting bound, and they have the fourth priority in the bandwidth allocation. After that, we deal with the unallocated predictive video and data packets, P1,i and P2,i , they have the fifth and sixth priorities. Finally, if there is residual bandwidth after the previous bandwidth allocation, the predictive video and data packets share the leftover bandwidth proportionally until the bandwidth is finished up. The bandwidth allocation of proposed PRNN-based predictive Q-DBA method is described in detail as follows. [Step 1]: Bandwidth allocation to voice ' Denote G0,i as the allocated bandwidth in Q0,i . Based on the predicted queue occupancy ' is given by of Q0,i , P0,i , and the total bandwidth B, G0,i. 25.

(35) ⎧ ⎪ ⎪ P0,i , ⎪ ⎪ G0,' i = ⎨ ⎪ P ⎪ B × M 0,i , ⎪ P0,i ∑ ⎪ i =1 ⎩. if. M. ∑P i =1. 0,i. ≤ B,. (10) elsewhere.. [Step 2]: Bandwidth allocation to video packets with the second and the third priorities Denote G1' ,i as the allocated bandwidth in Q1,i . Based on the predicted data, Pdp ,i , Pd ,i and the total bandwidth B, G1' ,i is given by ⎧ ⎪ ⎪ M M ⎪ ' − ≥ P , if B G Pdp ,i , ∑ ∑ , 0, dp i i ⎪ i =1 i =1 ⎪ M M M M P −P ⎪ ' G1,i = ⎨ Pd ,i + ( B − ∑ [G0,' i + Pd ,i ]) + × M dp ,i d ,i , if ∑ Pd ,i < B −∑ G0,' i < ∑ Pdp ,i , i =1 i =1 i =1 i =1 ⎪ ( Pdp ,i − Pd ,i ) ∑ ⎪ i =1 ⎪ M M M P ⎪ ( B − ∑ G0,' i ) + × M d ,i , if B − ∑ G0,' i ≤ ∑ Pd ,i . ⎪ i =1 i =1 i =1 Pd ,i ⎪ ∑ i =1 ⎩ (11) [Step 3]: Bandwidth allocation to data packets with the fourth priority Denote G2' ,i as the allocated bandwidth in Q2 ,i . Based on the predicted data, Pw,i and the ' is given by total bandwidth B, G2,i. ⎧ M M ⎪ ⎪ Pw,i , if B − ∑ [G0,' i + G1,' i ] > ∑ Pw,i , ⎪ i =1 i =1 ⎪ ' G2,i = ⎨ ⎪ M P ⎪( B − ∑ [G0,' i + G1,' i ]) + × M w,i , elsewhere. ⎪ i =1 Pw,i ∑ ⎪ i =1 ⎩. [Step 4]: Bandwidth allocation to video packets with the fifth priority 26. (12).

(36) " as the allocated bandwidth in Q1,i . Based on the predicted data, P1,i − Pdp ,i and Denote G1,i " the residual bandwidth , G1,i is given by. ⎧ ⎪ M ⎪ P1,i − G1,' i , if B − ∑ [G0,' i + G1,' i + G2,' i ] > ⎪ i =1 ⎪ " G1,i = ⎨ ⎪ ' M ⎪( B − [G ' + G ' + G ' ]) + × P1,i − G1,i , ∑ 0,i 1,i 2,i M ⎪ i =1 ( P1,i − G1,' i ) ∑ ⎪ i =1 ⎩. M. ∑ (P i =1. 1,i. − G1,' i ), (13). elsewhere.. [Step 5]: Bandwidth allocation to data packets with the sixth priority Denote. G"2 ,i as the allocated bandwidth in Q2 ,i . Based on the predicted. data, P2 ,i − Pw,i and the residual bandwidth , G"2 ,i is given by. ⎧ ⎪ M ⎪ P2,i − G2,' i , if B − ∑ [G0,' i + G1,' i + G2,' i + G1," i ] > ⎪ i =1 ⎪ " G2,i = ⎨ ⎪ ' M ⎪( B − [G ' + G ' + G ' + G" ]) + × P2,i − G2,i , ∑ 0,i 1,i 2,i 1,i M ⎪ i =1 ( P2,i − G2,' i ) ∑ ⎪ i =1 ⎩. M. ∑ (P i =1. 2,i. − G2,' i ), (14). elsewhere.. [Step 6]: Residual bandwidth allocation " "' and G1,i as the allocated bandwidth in Q0,i and Q1,i , respectively. Based on Denote G0,i " "' the predicted data, P0,i , P1,i and the residual bandwidth , G0,i and G1,i is given by M P0,i ⎧ " G B ( [G0,' i + G1,' i + G1," i + G2,' i + G2," i ]+ > M , = − ∑ ⎪ 0,i i =1 ⎪ ( P0,i + P1,i ) ∑ ⎪ i =1 ⎪ ⎨ ⎪ M P1,i ⎪G1,"'i = ( B − ∑ [G0,' i + G1,' i + G1," i + G2,' i + G2," i ]+ > M . ⎪ i =1 ( P0,i + P1,i ) ∑ ⎪ i =1 ⎩. [Step 7]: Gate message generation 27. (15).

(37) Denote G0,i , G1,i , and G2,i to be the final granted bandw. idth in the GATE message to Q0 ,i , Q1,i ,and Q2 ,i respectively, so they can be given by. ⎧G0,i = G0,' i + G0," i . ⎪⎪ ' " "' ⎨G1,i = G1,i + G1,i + G1,i . ⎪ ' " ⎪⎩G2,i = G2,i + G2,i .. (16). G1,i , G1,i , and G2 ,i are included in the GATE message, and the OLT sends the GATE message to Q0 ,i , Q1,i ,and Q2 ,i , respectively. Each follows the information in the GATE message to transmit its own packets and sends the new REPORT message to OLT at the end of timeslot.. 28.

(38) Chapter 4 1 Simulation Results and Discussions. 4.1. Simulation Environment. An event-driven packet-based simulation is elaborated to the performance of the proposed PRNN-based predictive Q-DBA, the Q-DBA [9], and the DBAM [16]. The simulation environment is described as follows. ( i ) A PON architecture of 32 ONUs connected in a tree topology (as depicted in Figure 3.1). (ii) The distance between the OLT and the ONU is 20km. (iii) The distance between the ONU and the splitter (1:32) is 500m. (iv) The line rate between the OLT and the ONU is 1 Gbps. (v) The line rate between the ONU and the end user is 100 Mbps. (vi) For simulation simplification, we set the cycle time in a fixed value of 0.72 ms. (vii) Each ONU has three priority queues, the buffer space of each ONU is set to 1 Mbytes. (viii) The guard time between each transmission window is set to 1 µ s. We consider three kinds of packets, real-time voice packets, real-time video packets, and non-real-time data packets. The real-time voice packets possess the highest priority, then the real-time video packets, and the non-real-time data packets are the lowest. The ON-OFF voice 29.

(39) traffic stream is generated by a two level MMDP (Markov Modulated Deterministic Process). To emulate T1 connection, there are 24 channels in a T1 link. The ONU aggregates the traffic from every channels. The average durations of talk spurs and silence periods are assumed to be exponentially distributed with 1/ α =1 sec. and 1/ β =1.35 sec. The generation rate of a voice packet is constant bit rate (CBR) and the packet size is fixed to 70 bytes. The video and data packets are modeled by ON/OFF Parato-distributed model in order to generate self-similar traffic. Most network traffic (i.e., http, ftp, VOD (Video on Demand), MOD (Multi-media on Demand), etc.) can be characterized by self-similarity and long-range independence (LRD) according to lots of studies [17]-[20]. The ON/OFF Parato-distributed model is to generate the highly bursty video and data packets. The packet size of each packet arrival is in uniform distribution and ranges form 64 to 1518 bytes. The choice of voice delay criteria is according to the recommendation of ITU-T: 1.5ms one way propagation delay in access network. Since six kinds of priority packets are concerned, we have to decide the choice of video delay constraint Td* , the video dropping probability bound Pd* , and the waiting bound of data packets Tw* . These three parameters: Td* , Pd* , Tw* are defined 10ms, 1%, and 500ms respectively. For the performance parameters, at first we consider the average packet delay of voice, video and data packets individually. After that we show the dropping probability of video packets, the blocking probability and the starvation ratio of data packets. At last we discuss the overall system utilization.. 30.

(40) 4.2. Simulation Results. In this section, we show the performance of the PRNN-based predictive Q-DBA method. All the simulation results of the proposed PRNN-based predictive Q-DBA Method are comparing to that in DBAM [16] and Q-DBA method [9]. The traffic arrival rates are set as follows: Voice service: 4.48Mbps x 32 (iid) Video service: 0.55Mbps x 32 (iid) ~ 15.75Mbps x 32 (iid) Data service: 0.28Mbps x 32 (iid) ~ 7.27Mbps x 32 (iid) For DBAM [16], the ONUs send report message according to their queues’ occupancies and the waiting times between last and present timeslots. A maximum window of total bandwidth requirement is pre-assigned according to service level agreement (SLA) in OLT. When the total bandwidth requirement of the ONUi is less than the pre-assigned maximum window, the allocated total bandwidth equals its requirement. When the total bandwidth requirement of the ONUi is larger than the pre-assigned maximum window, the allocated total bandwidth equals the pre-assigned maximum windows. Besides, the rule of allocating bandwidth to voice and video packets is similar as that in allocating the total bandwidth for ONUi. At last, the residual bandwidth is allocated to data packets. For Q-DBA, The ONUi send six kinds of information of queues to the OLT. Upon receiving the report messages from each ONU, the OLT allocates the available bandwidth according to the priorities of report information in a proportional method. The steps in bandwidth allocation are set as follows: (i) Bandwidth allocation to voice packets. 31.

(41) (ii) Bandwidth allocation to video packets with the 2nd and 3rd priority. (iii) Bandwidth allocation to data packets with the 4th priority. (iv) Bandwidth allocation to video packets with the 5th priority. (v) Bandwidth allocation to data packets with the 6th priority. (vi) Residual bandwidth allocation. Since the voice dropping probability is zero whether in predictive Q-DBA, Q-DBA or DBAM, we omit to show the simulation result, this result is due to the QoS requirement for voice packets.. Packet Delay Average Voice Packet Delay (s). -3 x 10. 1.6 1.5 1.4 1.3 1.2 1.1 1.0 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2. Voice Delay Requirement DBAM Q-DBA Predictive Q-DBA. 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Figure 4.1: Average voice delay time versus the system load in EPON Figure 4.1 shows the average voice delay time versus the system load in EPON. It can be found that all the voice delays of the three schemes are within the requirement. However, the voice delay in DBAM and Q-DBA increases with the increasing of the system load, but in 32.

(42) predictive Q-DBA, the delay time is almost the same when the system load is below 0.8. It is because the predictive Q-DBA makes a prediction of the new arrival voice packets which arrive between two consecutive reporting times for each ONU, thus the allocated bandwidth could meet the actual traffic condition of each ONU. When the system load is larger than 0.8, it can be seen that the delay time increases apparently because of the greatly increasing of the burst packets. It also can be found that the delay time in predictive Q-DBA has improved by about 26% and 21% on the average over Q-DBA and DBAM, respectively.. Packet DelayDelay (s) Average Video Packet. 11. -3 x 10. 10. Video Delay Requirement. 9 8. DBAM Q-DBA Predictive Q-DBA. 7 6 5 4 3 2 1 0 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Figure 4.2: Average video delay time versus the system load in EPON Figure 4.2 shows the average video delay time versus the system load in EPON. It can be found that, when the system load is below 0.8, the average video delay in Q-DBA and predictive Q-DBA is far from the video delay requirement because the system has enough bandwidth to allocate, so the ONUs could get more bandwidth to transmit the video packets 33.

(43) which are not reported. But in DBAM, the average video delay increases almost smoothly with the increasing of system load because of the maximum window in DBAM, and the prediction in ONUs. Since the PRNN-based predictor is known to be good at the prediction of burst traffic, the predictive Q-DBA improves the delay time by about 29% over Q-DBA (90% better than DBAM) when the system load is below 0.8. When the system load is larger than 0.8, the packets are dropped because the capacity of fiber link is limited, so the average video delay is close to the video delay requirement. At last, it can be easily found that the video delay requirement is still satisfied and is good when the system load is below 0.8.. Average Data Packet Delay (s) Packet Delay. 0.5. Data Delay Bound. 0.4. DBAM Q-DBA Predictive Q-DBA. 0.3 0.2 0.1 0.0 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Figure 4.3: Average data delay time versus the system load in EPON Figure 4.3 illustrates the average data delay time versus the system load in EPON. In DBAM, it can be seen that the average data delay increases with the increasing of system load, because the maximum window does not meet the real requirement of data packets, and the 34.

(44) burst arrival cannot be served instantly. When the system load is below 0.8, the average data delay in Q-DBA and predictive Q-DBA increases almost smoothly with the increasing of system load. This is the same phenomenon as in video delay. Since both the Q-DBA and predictive Q-DBA have the prediction of the new arrival data packets, the delay time is small when the system load is below 0.8. Furthermore, due to the Q-DBA and predictive Q-DBA considers the condition of waiting bound, the data packets in Q-DBA and predictive Q-DBA does not violate the delay bound as early as that in DBAM does. For the better prediction performance of the PRNN-based predictor, the predictive Q-DBA improves the delay time about 34% than Q-DBA and 43% than DBAM. When the system load is larger than 0.8, the delay time increases apparently because of the greatly increasing of the burst packets. The reason is similar to the average video delay. As same as video delay, it also can be found that the data delay requirement is still satisfied and is good when the system load is below 0.8. Figure 4.4 illustrates the average video dropping probability versus the system load in EPON. It can be found that the average video dropping probability of Q-DBA and predictive Q-DBA equals to zero when the system load is below 0.8. It is because in both Q-DBA and predictive Q-DBA, the priority of video packets with the problem of delay requirement will be raised. The video packets with higher priority will be served prior to the video packets with original priority. When the system load is larger than 0.8, the average video dropping probability exceeds the video dropping probability requirement because the capacity of fiber link is limited. It can also be found that the dropping probability in DBAM cannot be guaranteed. It is because the maximum window cannot totally support the burst arrival, therefore the video dropping probability is violated.. 35.

(45) Average Video Packet Dropping Packet Dropping ProbaProbability. 0.15 0.14 0.13 0.12 0.11 0.10 0.09 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0.00. DBAM Q-DBA Predictive Q-DBA. Video Dropping Probability Requirement. 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Average Data Packet Blocking Probability Packet Blocking Proba. Figure 4.4: Average video dropping probability versus the system load in EPON. 0.08 0.07. DBAM Q-DBA Predictive Q-DBA. 0.06 0.05 0.04 0.03 0.02 0.01 0.00 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Figure 4.5: Average data packet blocking probability versus the system load in EPON 36.

(46) Average Data Packet Starvation Packet Starvation R Ratio. 0.040 0.035. DBAM Q-DBA Predictive Q-DBA. 0.030 0.025 0.020 0.015 0.010 0.005 0.000 0.1. 0.2. 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. System Load. Figure 4.6: Average data starvation ratio versus the system load in EPON Figure 4.5 illustrates the average blocking probability of data packets versus the system load in EPON. It can be found that the average blocking probability of data packets in DBAM, Q-DBA and predictive Q-DBA equals to zero when the system load is below 0.7. It is because the system has enough capacity to support the system load. When the system load is larger than 0.7, the blocking probability increases greatly. It is because the system cannot afford the burst arrival data packets. Due to no limitation of allocated bandwidth in Q-DBA, predictive Q-DBA and the consideration of waiting bound for data packets, the blocking probability in Q-DBA and predictive Q-DBA does not increase as greatly as that in DBAM. Figure 4.6 illustrates the average starvation ratio of data packets versus the system load in EPON. The starvation ratio of data packets is defined to express the percentage of data packets whose delay time exceed the delay bound among the total transmitted data packets. It can be seen that the starvation ratio of data packets in DBAM, Q-DBA and predictive Q-DBA 37.

(47) is zero when the system load is less than 0.7. That is, the starvation does not occur in all of them. It is because the system has enough bandwidth to support the system. When the system load is larger than 0.8, the starvation ratio goes high. It is because the data packets have lower priority than video packets. When the arrival video and data packets increase rapidly simultaneously, the video packets will be served earlier than data packets. Thus, the starvation ratio of data packets will have a conspicuous increase. However, due to the priority of data packets will be raised when considering the waiting bound in Q-DBA and predictive Q-DBA, and the data packets with a higher priority are more easily transmitted than before. Therefore, the starvation in Q-DBA and predictive Q-DBA is less than that in DBAM.. 1.0 0.9. DBAM Q-DBA Predictive Q-DBA. System Utilizat System Utilization. 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.0 0.17 1.0. 0.26 2.0. 0.36 3.0. 0.45 4.0. 0.53 5.0. 0.61 6.0. 0.70 7.0. 0.80 8.0. 0.9 9.0. System Load. Figure 4.7: System utilization versus the system load in EPON. 38.

(48) Figure 4.7 shows the system utilization versus the system load in EPON. It can be found that the system utilization in predictive Q-DBA is better than that in DBAM, Q-DBA by an amount of 4%, 2% on the average. Firstly, because the bandwidth in Q-DBA and predictive Q-DBA is allocated step by step to different classes rather than set a maximum window to each class in advance, so the system utilization in Q-DBA and predictive Q-DBA is better than that in DBAM. Secondly, with the increasing of system load, the available residual bandwidth decreases, rather than allocates the residual bandwidth to all classes of packets proportionally in Q-DBA, the predictive Q-DBA allocates more residual bandwidth to the high priority traffic than that in Q-DBA. That is, the packets with higher priority in predictive Q-DBA will get more bandwidth to transmit. Therefore, the sytem utilization in predictive Q-DBA is superior to that in Q-DBA method.. 39.

(49) Chapter 5 2 Conclusion. In this thesis, we propose a predictive Q-DBA method which introduced a PRNN-based predictor. Owing to the characteristics of accurate and fast convergence, the PRNN-based predictor is known to be good for the prediction of the burst traffic and the ability to make the decision fleetly. Three classes of packets, real-time voice, real-time video, and non-real-time data are taking into consideration. Voice packets are strictly delay sensitive, and video packets are delay sensitive. The dropping probability of voice and video packets are also concerned. The predictive Q-DBA method sets six different priorities in order to meet the QoS requirement. They are voice packets, video packets with delay and dropping problem, data packets with starvation problem, video and data packets. The OLT combines all these six reported information and the prediction of the unreported packets which arrive between two consecutive report times, therefore the OLT could allocate more bandwidth to the high priority traffic. Thus, the total performance will improve in a certain degree, especially when the system load is high. The performance of the proposed predictive Q-DBA is compared to DBAM [16] and Q-DBA [9]. The simulation results show that the performance of predictive Q-DBA is better than DBAM and Q-DBA in many respects. The predictive Q-DBA improves the average 40.

(50) voice delay time by an amount of 26% and 21% over Q-DBA and DBAM, respectively. It also improves the average video delay time by an amount of 29% and 90% over Q-DBA and DBAM, respectively. As for the data service, the predictive Q-DBA improves the average data delay time about 34% than Q-DBA and 43% than DBAM. The system utilization in predictive Q-DBA is better than that in DBAM, Q-DBA by an amount of 4% and 2% on the average. As for the video dropping probability, data blocking probability, and data starvation ratio, the predictive Q-DBA is better than DBAM and almost the same with Q-DBA. In this thesis, the predictive Q-DBA can support most of the system load without violating the QoS requirements. If the proposed predictive Q-DBA method could be adopted to manage the resource in EPON, the customers will get more benefits.. 41.

(51) Bibliography [1]. website, http://www.find.org.tw/0105/howmany/howmany_disp.asp?id=159. [2] G. Kramer, B. Mukherjee, S. Dixit, Y. Ye, and R. Hirth, “Supporting differentiated classes of service in Ethernet passive optical networks,” IEEE Journal of Optical Networking., vol. 1, Nos. 8 & 9, pp. 280-298, August & September 2002. [3] website, http://www.fsanweb.org/ [4]. G. Kramer, B. Mukherjee, and G. Pesavento, “IPACT: a dynamic protocol for an Ethernet PON (EPON),” IEEE Commun. 40(2), pp. 74-80, 2002.. [5]. D. Liu, N. Ansari, and E. Hou, “QLP: A joint buffer management and scheduling scheme for input queued switches,” Advanced Networking Laboratory, pp. 164-168, 2001.. [6]. N. McKeown, V. Anantharam, J. Walrand, “Achieving 100% throughput in an input-queued switch”, Proc. IEEE INFOCOMM’96, pp. 296-302, 1996.. [7]. D. S Lee, “Generalized Longest Queue First: An adaptive scheduling discipline for ATM networks,” C&C Research Laboratory, pp. 318-325, 1997.. [8] S. Wu, Q. Ding and K. C. Chung, “Improving the network performance using prediction based longest queue first (PLQF) scheduling algorithm,” Centre for Signal Processing, Nanyang Technological University, pp. 344-348, 2001. 42.

(52) [9]. Chin-Ya Huang, “QoS-Promoted Dynamic Bandwidth Allocation (Q-DBA) for Ethernet Passive Optical Networks,” National Chiao Tung University, Hsinchu, Taiwan. Computer and Communication Research Labs, Industrial Technology Research Institute, Hsinchu, Taiwan. , pp. 13-50, 2006.. [10]. V. Malenovsky, “Comparison of LMS- and RLS-based adaptive algorithms for speech enhancement,” ElectronicLetters.com., pp. 1-11, 2002.. [11] S. Haykin and L. Li, “Nonlinear adaptive prediction of nonstationary signals,” IEEE Trans. Signal Processing, vol 43, pp. 526-535, 1995. [12]. R. J. Williams and D. Zipser, “A Learning algorithm for continually running fully recurrent neutral networks,” Neural Comput., pp. 270-280, 1989.. [13]. A. Demers, S. Keshav, and S. Shenker, “Analysis and simulation of a fair queueing algorithm,” ACM SIGCOMM, pp. 1-14, 1989.. [14] M. Karol, M. Hluchyj, and Morgan. S, “Input versus output queueing on a space division switch,” IEEE Trans. Communications, pp. 1347-1356, 1987. [15]. A. Mekkittikul, N. McKeown, “A practical scheduling to achieve 100% throughput in input-queued switches”, IEEE INFORCOM’98, pp. 792-797, 1998.. [16] Y. Luo and N. Ansari, “Bandwidth allocation for multiservice access on EPONs," IEEE Opt. Commun., vol. 43, pp. 16–21, Feb. 2005. [17] A. Adas, “Traffic models in broadband networks," IEEE Commun. Mag., vol. 35, no. 7, pp. 82–89, July 1997. 43.

(53) [18] W. Willinger, M. Taqqu, R. Sherman, and D. Wilson, “ Self-similarity through high-variability: statistical analysis of Ethernet LAN traffic at the source level," Proc. ACM SIGCOMM, pp. 100–113, Aug. 1995. [19] C. S. H. Hlavacs, G. Kotsis, “Traffic source modeling," in Technical Report, pp. TR–99 101. [20] W. Leland, M. Taqqu, W. Willinger, and D. Wilson, “On the self-similiar nature of Ethernet traffic (Extened Version),"IEEE/ACM Transactions on Networking, vol. 2, no. 1, pp. 1–15, Feb. 1994.. 44.

(54) Vita. Hsing-Yi Wu was born in Taipei, Taiwan. He received B.E. degree in department of electrical engineering from National Taiwan Institute of Technology, Taiwan, in 1994, and the M.S. degree in the degree program of electrical engineering and computer science in National Chiao Tung University, Taiwan, in 2007. His research interests include resource management and optical network.. 45.

(55)

數據

Table 1.1: Data rate and transmission distance of xDSL and cable modem
Figure 1.1: EPON-tree network
Figure 1.2: EPON topologies
Table 1.2: Analysis of technology in xPON
+7

參考文獻

相關文件

♦ The action functional does not discriminate collision solutions from classical solutions...

6 《中論·觀因緣品》,《佛藏要籍選刊》第 9 冊,上海古籍出版社 1994 年版,第 1

 If I buy a call option from you, I am paying you a certain amount of money in return for the right to force you to sell me a share of the stock, if I want it, at the strike price,

I certify that I have audited the financial statements of the Grant Schools Provident Fund set out on pages 24 to 48, which comprise the balance sheet as at 31 August 2017, and

I certify that I have audited the financial statements of the Subsidized Schools Provident Fund set out on pages 24 to 45, which comprise the balance sheet as at

I certify that I have audited the financial statements of the Subsidized Schools Provident Fund set out on pages 24 to 47, which comprise the balance sheet as at 31 August

A subgroup N which is open in the norm topology by Theorem 3.1.3 is a group of norms N L/K L ∗ of a finite abelian extension L/K.. Then N is open in the norm topology if and only if

Generalized LSMA theorem: The low-energy states in gapped phases of SU (N ) spin systems cannot be triv- ially gapped in the thermodynamical limit if the total number of