• 沒有找到結果。

全光近屬封包交換 IP-over-WDM 網路之訊務控制技術與效能分析

N/A
N/A
Protected

Academic year: 2021

Share "全光近屬封包交換 IP-over-WDM 網路之訊務控制技術與效能分析"

Copied!
94
0
0

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

全文

(1)國 立 交 通 大 學 資 訊 工 程 學 系 博 士 論 文 全光近屬封包交換 IP-over-WDM 網路之訊 務控制技術與效能分析 Traffic Control and Performance Analyses for Optical Coarse Packet-Switched IP-over-WDM Networks. 研 指. 究 導. 生:施汝霖 教. 授:楊啟瑞. 博士. 中 華 民 國 九 十 五 年 七 月.

(2) 全光近屬封包交換 IP-over-WDM 網路之訊 務控制技術與效能分析 Traffic Control and Performance Analyses for Optical Coarse Packet-Switched IP-over-WDM Networks 研 究 生:施汝霖 指導教授:楊啟瑞 博士. Student: Ju-Lin Shih Advisor: Dr. Maria C. Yuang. 國立交通大學 資訊學院 資訊工程學系 博士論文 A Thesis Submitted to Department of Computer Science College of Computer Science National Chiao Tung University in partial Fulfillment of the Requirements for the Degree of Doctor of Philosophy in Computer Science July 2006 Hsinchu, Taiwan, R.O.C.. 中 華 民 國 九 十 五 年 七 月.

(3) 全光近屬封包交換 IP-over-WDM 網路之訊務控 制技術與效能分析 研究生:施汝霖. 指導教授:楊啟瑞. 國立交通大學. 博士. 資訊工程學系. 中文摘要 對於IP-over-WDM網路而言,全光近屬封包交換網路(OCPS)技術已設 計來克服全光封包交換的限制。藉由使用內頻控制進行叢集交換,同時採用訊務 控制強化技術,以提供高頻寬使用率與服務品質保證。在此篇論文裡,先簡單介 紹全光近屬封包交換網路技術,接著提出所設計的服務品質強化訊務控制機制, 於入口路由器做封包集結動作時,提供延遲等級區分與遺失等級區分技術,以應 用於全光近屬封包交換網路上。根據這兩個目的,此機制可稱之為(ψ,τ)封包排程 器/流量調節器,其中ψ與τ分別代表最大的叢集大小與最長叢集組合時間。為了 提供延遲等級區分,IP封包資料流選定一個延遲相關之權重,(ψ,τ)封包排程器根 據這些權重與大小為ψ的虛擬視窗,集結封包為叢集。每個延遲等級之延遲保證 上限,可以藉由正式規範的逐步服務曲線來量化。為了提供遺失等級區分,(ψ,τ) 流量調節器分配較大的叢集尺寸給較高遺失優先權等級者,以促進訊務調節效 果。為了檢查此效果與遺失表現之關係,此論文分析並導出了(ψ,τ)流量調節器的 輸 出 程 序 , 封 包 輸 入 流 則 模 組 化 為 具 有 批 次 輸 入 的 雙 態Markov Modulated Bernoulli Process。分析結果顯示(ψ,τ)流量調節器的叢集輸出間距時間的變化程 度的減少,與叢集大小是有關的。最後,此論文做了個模擬實驗,環境設定為24 節點的美國ARPANET網路與16節點的4x4-torus網路,並比較全光近屬封包交換 技術與全光叢集交換技術之遺失率表現。模擬結果顯示,透過叢集尺寸調整,(ψ,τ) i.

(4) 流量調節器可以有效的區分遺失等級,與使用外頻控制與偏移時間服務品質策略 之全光叢集交換技術相比,全光近屬封包交換技術可以呈現優越的封包遺失率予 高優先權等級,與較佳的遺失訊務等級區分。. ii.

(5) Traffic Control and Performance Analyses for Optical Coarse Packet-Switched IP-over-WDM Networks Student: Ju-Lin Shih. Advisor: Dr. Maria C. Yuang. Department of Computer Science National Chiao Tung University, Taiwan. Abstract For IP-over-WDM networks, Optical Coarse Packet Switching (OCPS) has been proposed to circumvent optical packet switching limitations by using in-band-controlled per-burst switching and advocating traffic control enforcement to achieve high bandwidth utilization and Quality-of- Service (QoS). In this thesis, we first introduce the OCPS paradigm. Significantly, we present a QoS-enhanced traffic control scheme exerted during packet aggregation at ingress nodes, aiming at providing delay and loss class differentiations for OCPS networks. Serving a dual purpose, the scheme is called (ψ,τ)-Scheduler/Shaper, where ψ and τ are the maximum burst size and burst assembly time, respectively. To provide delay class differentiation, for IP packet flows designated with delay-associated weights, (ψ,τ)-Scheduler performs packet scheduling and assembly into bursts based on their weights and a virtual window of size ψ. The guaranteed delay bound for each delay class is quantified via the formal specification of a stepwise service curve. To provide loss class differentiation, (ψ,τ)-Shaper facilitates traffic shaping with larger burst sizes assigned to higher loss priority classes. To examine the shaping effect on loss performance, we analytically derive the departure process of (ψ,τ)-Shaper. The aggregate packet arrivals are modeled as a two-state Markov Modulated Bernoulli. iii.

(6) Process (MMBP) with batch arrivals. Analytical results delineate that (ψ,τ)-Shaper yields substantial reduction, proportional to the burst size, in the coefficient of variation of the burst inter-departure time. Furthermore, we conduct extensive simulations on a 24-node ARPANET network and a 16-node 4x4-torus network to draw packet loss comparisons between OCPS and Just-Enough-Time (JET)-based OBS. Simulation results demonstrate that, through burst size adjustment, (ψ,τ)-Shaper effectively achieves differentiation of loss classes. Essentially, compared to JET-based OBS using out-of-band control and offset-time-based QoS strategy, OCPS is shown to achieve invariably superior packet loss probability for a high priority class, facilitating better differentiation of loss traffic classes.. iv.

(7) Acknowledgements. I am deeply grateful to my dearest advisor, Prof. Maria C. Yuang, for her great guidance and encouragement during the preparation of this thesis. I also like to particularly acknowledge and thank Prof. Jean-Lien Chen, Prof. San-Liang Lee, Prof. Cheng-Shang Chang, Prof. Duan-Shin Lee, Prof. Ying-Dar Lin and Prof. Ming-Feng Chang, for their patient reviewing and giving valuable comments and suggestions. I would like to thank all the members in Broadband and Optical Network Laboratory for their assistance. Finally, I would like to express my deepest gratitude to my families for their love and encourage during the preparation of this thesis.. v.

(8) Table of Contents 中文摘要........................................................................................................................i Abstract...................................................................................................................... iii Acknowledgements......................................................................................................v Table of Contents .......................................................................................................vi List of Figures............................................................................................................vii Symbols .......................................................................................................................ix Acronyms ....................................................................................................................xi Chapter 1. Introduction ..............................................................................................1 Chapter 2. (ψ,τ)-Scheduler/Shaper System Architecture and Design Concept .....8 Chapter 3. (ψ,τ)-Scheduler and Delay QoS............................................................. 11 3.1 Scheduling Design and Algorithm ................................................................. 11 3.2 Worst Delay Bound Guarantee- Stepwise Service Curve ..............................15 3.3 Delay QoS Provision......................................................................................23 Chapter 4. (ψ,τ)-Shaper and Departure Process Analysis.....................................28 4.1 Departure Process Analysis............................................................................28 4.2 Numerical Results..........................................................................................38 Chapter 5. Loss QoS Provision and Performance Comparison............................50 5.1 Traffic Shaping Effect....................................................................................52 5.2 Loss QoS Provision........................................................................................54 5.3 OCPS and OBS Performance Comparison ....................................................67 Chapter 6. Conclusions and Future Work ..............................................................72 6.1 Summary ........................................................................................................72 6.2 Future work....................................................................................................73 Appendix ....................................................................................................................74 References ..................................................................................................................77 Biography...................................................................................................................81. vi.

(9) List of Figures Figure 1. Optical Coarse Packet Switching (OCPS)......................................................5 Figure 2. (ψ,τ)-Scheduler/Shaper system architecture ..................................................8 Figure 3. (ψ,τ)-Scheduler/Shaper design concept .......................................................10 Figure 4. (ψ,τ)-Scheduler: an example ........................................................................13 Figure 5. (ψ,τ)-Scheduler: the algorithm .....................................................................14 Figure 6. Concept of stepwise service curve ...............................................................16 Figure 7. (ψ,τ)-Scheduler’s stepwise service curves for two classes ..........................19 Figure 8. Worst delay bound of the 15th packet in bulk arrival ...................................21 Figure 9. Worst delay bound of the 25th packet in bulk arrival ...................................22 Figure 10. Delay QoS provision under various loads ..................................................25 Figure 11. Delay QoS provision via the weight adjustment. .......................................26 Figure 12. Mean burstification delay under different ψ and τ.....................................27 Figure 13. (ψ,τ)-Shaper: departure process analysis ...................................................30 Figure 14. System queue length distribution ...............................................................40 Figure 15. Departure process distributions (ψ=25 under medium load) .....................41 Figure 16. Departure process distributions (ψ=25 under high load) ...........................42 Figure 17. Departure process distributions (ψ=100 under high load) .........................43 Figure 18. CoV of the inter-departure time .................................................................46 Figure 19. CoV of the burst size ..................................................................................47 Figure 20. Mean burst size under different τ ...............................................................48 Figure 21. Mean burst size associated with ψ and τ ....................................................49 Figure 22. Network topology.......................................................................................51 Figure 23. Traffic shaping effect: a comparison between the OCPS and baseline networks under ARPANET network ........................................................53 vii.

(10) Figure 24. Traffic shaping effect: a comparison between the OCPS and baseline networks under 4x4-torus network ...........................................................53 Figure 25. QCP with least-harm preemption ...............................................................55 Figure 26. Performance of QCP (without support of partially collided bursts)...........60 Figure 27. Performance of QCP under ARPANET network (with and without support of partially collided bursts) .......................................................................61 Figure 28. Performance of QCP under 4x4-torus network (with and without support of partially collided bursts)............................................................................61 Figure 29. (ψ,τ)-Shaper: loss performance under various burst size of Class H.........62 Figure 30. (ψ,τ)-Shaper: loss performance under various burst size of Class M ........62 Figure 31. (ψ,τ)-Shaper: loss QoS provision via burst size of Class H adjustment ....63 Figure 32. (ψ,τ)-Shaper: loss QoS provision via burst size of Class M adjustment ....63 Figure 33. Loss probability as a function of (ψ, τ) ......................................................65 Figure 34. Loss probability of Class M under different load .......................................66 Figure 35. OCPS and OBS loss performance comparison under ARPANET network ......................................................................................................................................70 Figure 36. OCPS and OBS loss performance comparison under 4x4-torus network..71. viii.

(11) Symbols ψ. Maximun burst size/Window Size. τMaximum burst assembly time MNumber of destination*loss classes N. Number of delay classes. W. Number of wavelengths. wi. Normalized weight of delay class i. δ (t ,θ ). Stepwise Function of time t and delay θ. θ min. The minimum value of θ. TkΠ. Time when actual k⋅G service amount is received. Tk∆. Time when at least k⋅G service amount is received. Tkδ. The kth ascending point in stepwise function. Π (t ). The amount of service actually received by a class at time t. ∆ (t ). Stepwise service curve. S. General server to guarantee the stepwise service curve. R. Optical link rate. L Offer load/mean arrival rate B. Burstiness. α. Probability of changing from state H to L in a slot. β. Probability of changing from state L to H in a slot. λH. Probability of having a batch arrival at state H. λL. Probability of having a batch arrival at state L. Pi , j. State change probability from state i to state j. bH(m). Batch size distribution at state H. bL(m). Batch size distribution at state L. bH. mean batch size of bH(m). bL. mean batch size of bL(m) ix.

(12) t. random variable represent the burst inter-departure time. s. random variable represent the burst size. Pt , s (t , s ). q ykk. Joint distribution of t and s number of packets left in queue behind by the kth departing burst, say at time slot tk, under the condition that the arrival process is in state yk at tk. u z| y number of packets that arrive during the burst inter-departure interval, under the. condition that the arrival process changes from state y prior to the beginning of the interval, to state z at the end of the interval. vzn| y. number of packets that arrive during the transmission time of an n-packet burst, namely n slots, under the condition that the arrival process changes from state y prior to the beginning of the time interval, to state z at the end of the interval. crtt |r0 (m). probability that m packets have arrived in an interval of t slots, under the condition the arrival process changes from state r0 prior to the beginning of the interval, to state rt at the end of the interval. λi. Arrival rates of class i. µi. Service rates of class i. ni. Total number of class-i bursts in the system. LPi. Loss probability for class i. π n ,",n 1. Y. Joint distribution of ni. x.

(13) Acronyms BAT. Burst Assembly Time. BATr. Burst Assembly Timer. BoB. Begin of Burst. CoV. Coefficient of Variation. EoB. End of Burst. FDL. Fiber Delay Line. FIFO. First In First Out. FCFS. First Come First Serve. HER. Header Eraser. HET. Header Extractor. IP. Internet Protocol. JET. Just Enough Time. JIT. Just In Time. MMBP. Markov Modulated Bernoulli Process. OBS. Optical Burst Switching. OCS. Optical Circuit Switching. OCPS. Optical Coarse Packet Switching. OLSP. Optical Label Switched Path. OPS. Optical Packet Switching. QCP. QoS Control Processor. QoS. Quality of Service. SASK TLS WDM. Superimposed Amplitude Shift Keying Tunable Laser Source Wavelength Division Multiplexing. xi.

(14) Chapter 1. Introduction The ever-growing demand for Internet bandwidth and recent advances in optical Wavelength Division Multiplexing (WDM) technologies [1] brings about fundamental changes in the design and implementation of the next generation IP-over-WDM networks or optical Internet. Current applications of WDM mostly follow the Optical Circuit Switching (OCS) paradigm by making relatively static utilization of individual WDM channels. Optical Packet Switching (OPS) technologies [2-5], on the other hand, enable fine-grained on-demand channel allocation and have been envisioned as an ultimate solution for data-centric optical Internet. Nevertheless, OPS currently faces some technological limitations, such as the lack of optical signal processing and optical buffer technologies, and large switching overhead. In light of this, while some work [4,6,7] directly confronts the OPS limitations, others attempt to tackle the problem by exploiting different switching paradigms, in which Optical Burst Switching (OBS) [8-18] has received most attention. OBS [8] was originally designed to efficiently support all-optical bufferless [9,10] networks while circumventing OPS limitations. By adopting per-burst switching, OBS requires IP packets to be first assembled into bursts at ingress nodes. The most common packet assembly schemes are based on timer [18], packet-count threshold [10], and a combination of both [10,13,19]. Essentially, major focuses in OBS have been on one-way out-of-band wavelength allocation (e.g., Just-In-Time (JIT) [11], and Just-Enough-Time (JET) [9,12]), and the support of Quality of Service (QoS) for networks without buffers [9,10] or with limited Fiber-Delay-Line (FDL)-based buffers [14]. Particularly in the JET-based OBS scheme that is 1.

(15) considered most effective, a control packet for each burst payload is first transmitted out-of-band, allowing each switch to perform just-in-time configuration before the burst arrives. Accordingly, a wavelength is reserved only for the duration of the burst. Without waiting for a positive acknowledgment from the destination node, the burst payload follows its control packet immediately after a predetermined offset time, which is path (hop-count) dependent and theoretically designated as the sum of intra-nodal processing delays. In the context of supporting QoS in bufferless OBS networks, the work in [9] employs a prioritized extra offset-time method. In the method, a high loss priority class is given a larger extra offset time, allowing the high priority class to make earlier wavelength reservation than lower priority classes. The method effectively provides different grades of loss performance, but at the expense of a drastic increase in the end-to-end delay particularly for high priority classes. Besides, as discussed in [20], the method undergoes the unfairness and near-far problems. Especially due to the near-far problem, a low priority burst with a longer path to travel may end up with the same or larger offset time than that of a high priority burst, resulting in obstacles to QoS burst truncation [21] in switching nodes. The prioritized burst segmentation approach proposed in [10], different from most approaches, adopts the assembly of different priority packets into a burst in the order of decreasing priorities. Should contention occur in switching nodes, the approach supports burst truncation rendering lower-priority packets toward the tail be dropped or deflected with higher probability. The approach achieves low packet loss probability for high priority classes, with the price of excessive complexity paid during burst scheduling in switching nodes.. 2.

(16) OBS gains the benefits of OCS and OPS. However, its offset-time-based design results in three complications. First, the determination of the offset time is a design dilemma. A large offset time incurs excessive packet delay. A small offset time may fail to make wavelength reservation prior to the burst arrival. This fact renders deflection routing (via longer paths) infeasible during contention resolution. Second, to enable efficient reservation of wavelengths, JET-based OBS requires the offset-time and burst length information to be included in the control packet, to provide a switch with the exact time and duration that the burst arrives and lasts, respectively. At each switching node along the path, such information needs to be maintained for future configuration until the burst arrives. Besides, the offset time is required to be decremented at every switching node and the burst length needs to be updated should burst truncation occur. Evidently, such design results in significantly increased complexity [15]. Third, the inclusion of the burst length information in control packets, together with the near-far problem described above, OBS gives rise to a difficulty in supporting QoS burst truncation. For example, consider a case that there is a high priority burst that arrives after a low priority burst and potentially collides with the low priority burst. If the control packet of the low priority burst has already departed, its length can no longer be updated. In this case, the switching node is left no choice but to truncate the high priority rather than the low priority burst. This type of operation is referred to as restricted QoS burst truncation. These three OBS design complications are the primary motivators behind the design of the Optical Coarse Packet Switching (OCPS) paradigm [22-24]. While OBS can be viewed as a more efficient variant of OCS; OCPS can be considered as a less stringent variant of OPS. Similar to OBS, OCPS is aimed at supporting all-optical per-burst switched networks, which are labeled-based [12], QoS-oriented, and either 3.

(17) bufferless or with limited FDL-based buffers. Unlike OBS using offset-time-based out-of-band control, OCPS (see Figure 1) adopts in-band control in which the header and payload are together transported via the same wavelength. More specifically, in an OCPS network, IP packets belonging to the same loss class and the same destination are assembled into bursts at ingress routers. A header for a burst payload, which carries forwarding (i.e., label) and QoS (e.g., priority) information, is modulated with the payload based on the newly designed Superimposed Amplitude Shift Keying (SASK) technique [25]. Besides, they are time-aligned during modulation via necessary padding added to the header. They are re-aligned in switching nodes should burst truncation occur. Such design eliminates the payload length information from the header, and thus as will be shown, facilitates restriction-free QoS burst truncation in switching nodes. The entire burst is then forwarded along a pre-established Optical Label Switched Path (OLSP). At each switching node, the header and payload are first SASK-based demodulated [25]. Each burst payload is switched according to the label information in the header. While the header is electronically processed, the burst payload remains transported optically in a fixed-length FDL achieving constant delay and data transparency. The main focus of my thesis is on QoS-enhanced traffic control exerted during packet burstification at ingress nodes, aiming at providing delay and loss class differentiations for OCPS networks. In this work, optical switches are assumed buffer-less and all wavelengths are shared using wavelength converters [3,26]. Regarding delay performance, due to the absence of buffering delay in core switches, the end-to-end delay performance is solely determined by the burstification delay. Considering the assembly of packets from flows with different delay requirements, the problem becomes the scheduling of these packets during burstification. At first 4.

(18) thought, existing scheduling disciplines [27,28,29] are possible candidates. These schemes have placed emphasis on the design of scalable packet schedulers achieving fairness and delay guarantees. All packets follow the exact departure order that is computed according to virtual finishing times being associated with packets. Nevertheless, in the case of burstification, considering tens or hundreds of packets in a burst, the exact position of packets within a burst is no longer relevant. Most existing scheduling schemes thus become economically unviable. Regarding loss performance, rather than exploring reactive contention resolution mechanisms [20], in this work we focus on the design of traffic shaping with QoS provisioning. In this thesis, we present a dual-purpose traffic control scheme, called (ψ,τ)-Scheduler/Shaper. Notice that from the packet burstification perspective, it is simply a timer and threshold combined scheme, where ψ and τ are the maximum burst size (packet count) and maximum burst assembly time, respectively. To provide delay class differentiation, for IP packet flows designated with delay-associated weights, (ψ,τ)-Scheduler performs packet scheduling and assembly into bursts based. SASK-based Modulation Payload Header. Electrical Header Processing O/E. Header Processing. QoS Processing. Header Regeneration. Optical power spectrum density H Payload Packet Assembly. E/O. HET HER. H Payload FDL. H Payload. Switch Fabric H. HET HER. Payload FDL. Legend: HET: Header Extractor; HER: Header Eraser; Figure 1. Optical Coarse Packet Switching (OCPS). 5. Packet Disassembly.

(19) on their weights and a virtual window of size ψ. The Scheduler exerts simple First In First Out (FIFO) service within the window and assures weight-proportional service at the window boundary. The guaranteed delay bound for each delay class is quantified via the formal specification of a stepwise service curve [27]. The mean delay and 99% delay bound for each delay class are also demonstrated via simulation results. To provide loss class differentiation, (ψ,τ)-Shaper facilitates traffic shaping with a larger burst size (ψ) assigned to a higher priority class. To examine the shaping effect on loss performance, we analytically derive the departure process of (ψ,τ)-Shaper. The aggregate packet arrivals are modeled as a two-state Markov Modulated Bernoulli Process (MMBP) with batch arrivals. Analytical results delineate that (ψ,τ)-Shaper yields substantial reduction in the Coefficient of Variation (CoV) of the burst inter-departure time. The greater the burst size, the more reduction in the CoV. Furthermore, extensive simulations are conduct on a 24-node ARPANET network and a 4x4-torus network to draw loss performance comparisons between OCPS and JET-based OBS. Simulation results demonstrate that, through burst size adjustment, (ψ,τ)-Shaper effectively achieves differentiation of loss classes. Essentially, owing to enabling restriction-free QoS burst truncation in switching nodes, OCPS is shown to achieve superior packet loss probability for a high priority class, and facilitate better differentiation of traffic classes, compared to JET-based OBS. The remainder of this thesis is organized as follows. In Chapter 2, we introduce the (ψ,τ)-Scheduler/Shaper system architecture. In Chapter 3, we describe the (ψ,τ)-Scheduler design, the stepwise service curve, and show the worst and 99% 6.

(20) delay bounds for each delay class. In Chapter 4, we present a precise departure process analysis for (ψ,τ)-Shaper to analytically delineate the shaping effect on departing traffic characteristics. In Chapter 5, we demonstrate the provision of loss class differentiation, and draw packet loss comparisons between OCPS and JET-based OBS via network-wide simulation results. Finally, concluding remarks are made in Chapter 6.. 7.

(21) Chapter 2. (ψ,τ)-Scheduler/Shaper System Architecture and Design Concept In any ingress node, incoming packets (see Figure 2) are first classified on the basis of their destination, loss, and delay classes. Packets belonging to the same destination and the same loss class are assembled into a burst. Thus, a burst contains packets of various delay classes. In the figure, we assume there are M destination*loss classes and N delay classes in the system. For any one of M destination*loss classes, say class k, packets of flows belonging to N different delay classes are assembled into bursts. through. (ψ,τ)-Scheduler/Shaperk. according. to. their. pre-assigned. delay-associated weights. Departing bursts from any (ψ,τ)-Scheduler/Shaper are optically transmitted, and forwarded via their corresponding, pre-established OLSP.. F1,1 …. F1,N. (ψ,τ)Scheduler/Shaper1. (ψ,τ)Scheduler/Shaperk. TLS …. Packets (delay class N). Bursts (OLSP k). …. Packet Classifier. …. Fk,N. …. Fk,1. TLS. …. Packets (delay class 1). Bursts (OLSP 1). FM,1 …. FM,N. (ψ,τ)Scheduler/ShaperM. Bursts TLS (OLSP M). Legend: : Packet flow of destination*loss class d and of delay class y; Fd,y OLSP : Optical Label Switched Path; TLS : Tunable Laser Source; Figure 2. (ψ,τ)-Scheduler/Shaper system architecture.. 8.

(22) Essentially, (ψ,τ)-Scheduler/Shaper is a dual-purpose scheme. It is a scheduler for packets, abbreviated as (ψ,τ)-Scheduler, which performs the scheduling of different delay class packets into back-to-back bursts. On the other hand, it is a shaper for bursts, referred to as (ψ,τ)-Shaper, which determines the sizes and departure times of bursts. (ψ,τ)-Scheduler performs packet scheduling on their weights and a virtual window of size ψ. The Scheduler exerts simple FIFO service within the window and assures weight-proportional service at the window boundary. The design concept of (ψ,τ)-Scheduler is shown in Figure 3(a). While the First Come First Serve (FCFS)-based burstification simply aggregates the first six arriving packets into a burst, (ψ,τ)-Scheduler assembles the first window into a burst to assure weight-proportional service of different delay class. The functional design diagram of the (ψ,τ)-Shaper is shown in Figure 3(b). IP packets arrive at the system queue. If the total number of packets reaches ψ before the burst assembly time exceeds τ, a burst of size ψ is generated and transmitted. The burst assembly time is controlled by τ, which is activated at two different instants. Basically, burst assembly timer (BATr) is triggered by the first arriving packet to an empty queue and is set by τ, then BATr starts counting down. The second instant is occurred after finishing transmission of a burst leaving a non-empty queue. BATr is re-activated and set by τ. While the BATr expire and system queue size is less than ψ, a burst consisted by all the packets in the queue is generated and transmitted.. 9.

(23) FCFS-based burstification. ψ=6. Burst A8A7A6A5A4A3A2A1C3C2 C1B5B4B3B2B1 (ψ,τ)-Scheduler-based burstification. Window size = ψ = 6; Three flows: A, B, and C; wA : wB : wC = 3 : 2 : 1; A8A7C3B5. A6A5A4C2B4B3 Window. A3A2A1C1B2B1 Burst. (a) (ψ,τ)-Scheduler design concept. BATr Activated/Reset BATr ← τ First Packet. Packet Arrival. BATr Expire?. −. (ψ,τ)-Scheduler. Non-empty Queue. Y Burst Generation Y Reach ψ?. +. (b) (ψ,τ)-Shaper: functional design Figure 3. (ψ,τ)-Scheduler/Shaper design concept.. 10. Burst Departure.

(24) Chapter 3. (ψ,τ)-Scheduler and Delay QoS In the (ψ,τ)-Scheduler system, each delay class is associated with a pre-determined weight [27]. A higher delay priority class is given a greater weight, which corresponds to a more stringent delay bound requirement. In addition, we assume all packets are of fixed size of one unit. Generally, (ψ,τ)-Scheduler performs scheduling of packets in accordance with their weights and a virtual window of size ψ. The weight of a class corresponds to the maximum number of packets of the class that can be accommodated in a window, or burst in this case. Such window-based scheduling allows simple FIFO service within the window and assures weight-proportional service at the window boundary. In the sequel, we present the design and algorithm, followed by the specification of the stepwise service curve from which the guaranteed delay bound can be obtained. 3.1 Scheduling Design and Algorithm Upon arriving, packets of different classes are sequentially inserted in a sequence of virtual windows. The window size, which is set as the maximum burst size, ψ, together with the weight (w) of a class, determines the maximum number of packets (i.e., quotas) from this class that can be allocated in a window. For a class, if there are sufficient quotas, its new packets are sequentially placed in the current window in a FIFO manner. Otherwise, its packets are placed in an upward window in accordance to the total accumulated quotas. A burst is formed and departs when the burst size reaches ψ or the Burst Assembly Timer (BATr) (set as τ initially) expires. For convenience, class weights are normalized to the window size. Namely, ∑ wi = ψ , where wi is the normalized weight of class i. 11.

(25) The operation of (ψ,τ)-Scheduler can be best explained via a simple example illustrated in Figure 4. For ease of illustration, the normalized weights are set as integers in the example. Initially, five packets from three classes (X, Y, and Z) arrive at time 1, and four of them are placed in the first virtual window except Y2 due to having only one quota in a window. The BATr is activated and set as BATr = τ = 3. At the end of time 1, a burst of size ψ =4 packets departs. The same operation repeats until the end of time 4. Notice that there are four packets in the system, which are placed in three consecutive virtual windows. A burst is still generated at the end of time 4. This explains why the “virtual” window is named. Finally, at time 8, a burst of size three is generated due to time out of the BATr. The detailed algorithm of (ψ,τ)-Scheduler is outlined in Figure 5. First, the system performs the Initialization operation whenever the system changes from being idle to busy due to packet arrivals. The quota of each class is initialized as its normalized weight, and the BATr is activated and set to be the value of τ. The algorithm then asynchronously performs two tasks repeatedly: Arrival and Departure. The Arrival task handles the insertion (Enqueue) of newly arriving packets in appropriate virtual windows; whereas the Departure task removes (Dequeue) the generated burst from the queue. If the queue remains non-empty, the BATr is reset to the τ value. It is worth noting that the algorithm works under non-integer normalized weights which are practically the case in real systems.. 12.

(26) Assumptions:. ψ = 4, τ = 3, R = 4; Three classes: X, Y, Z; wX : wY : wZ = 2 : 1 : 1; Time. Packet Arrival. 1. Z1Y2Y1X2X1. 2. Z2X4X3Y4Y3. Virtual-Window Queue. Y4. 3 4. Y5Z3. 5. Z4. 6. Z5. 7 8. X5. Y5. BATr. Burst Departure. Y2 Z1Y1X2X1. Aa→3. Z1Y1X2X1. Y3 Z2X4X3Y2. Rd→3. Z2X4X3Y2. Y4. Y3. Rd→3. Y4. Z3Y3. 2. Z4. Aa→3. Z5. Z4. 2. Z5. Z4. 1. Z5. X5Z4. 0. Legend: xn: The nth packet of class x (x = X, Y, or Z); Aa: Activated by the first packet arrival; Rd: Reset by burst departure; Figure 4. (ψ,τ)-Scheduler: an example.. 13. Y5Y4Z3Y3. Z5X5Z4.

(27) Variable wi : normalized weight of class i (Σwi=ψ); cw : index of currently served window; lwi : index of window containing the last class i’s packet; qi : net quota for class i; Pi : newly arriving packet from class i; Bu : the generated burst; BATr : burst assembly timer; /∗ idle to busy ∗/. Initialization(). 1. cw ← 1; 2. for (each class i) do lwi ← 1;. qi ← wi;. endfor. 3. BATr ← τ; Arrival(Pi). /∗ a newly arriving packet from class i ∗/. Determine the window Pi can be placed; 1. if (lwi < cw) lwi ← cw; qi ← wi; endif 2. while (qi < 1) do lwi ← lwi + 1; qi ← qi + wi;. endwhile. Place packet in window lwi and update quota; 3. Enqueue(Pi, lwi); qi ← qi - 1; Departure(Bu). /∗ BATr expires or packet count ≥ ψ ∗/. Remove burst Bu from the head of the queue; 1. Dequeue(Bu); Update information; 2. cw ← index of the next window with packets; 3. if (queue is not empty) BATr ← τ ; endif Figure 5. (ψ,τ)-Scheduler: the algorithm.. 14.

(28) 3.2 Worst Delay Bound Guarantee- Stepwise Service Curve The service curve specification [27,29] has been widely used as a flexible methodology for resource allocation to satisfy diverse delay and throughput guarantees. Prevailing packet scheduling schemes are mostly work conserving exhibiting continuous-wise service curves. In contrast, the (ψ,τ)-Scheduler is a non-work-conserving server, in which packets do not depart from the system before the burst is generated. My objective is to characterize the stepwise nature of the service curve for the non-work-conserving system, (ψ,τ)-Scheduler. In the sequel, we first define the stepwise function and introduce the stepwise service curve guaranteed by a general server, S. Then we specify the stepwise service curve guaranteed for a delay class by (ψ,τ)-Scheduler in Theorem 1. Finally we provide the worst delay bound in two different forms based on the theorem. Throughout this section we assume that there are N delay classes in the system, and the optical link capacity is R packets/slot. For ease of description, the normalized weight of any class is assumed greater than or equal to one.. Definition 1: A stepwise function δ (t , θ ) of time t and delay θ , under jump G and incremental interval I, is defined as. ⎧⎪k ⋅ G , Tkδ ≤ t < Tkδ+1 , and k ≥ 0 , δ (t ,θ ) = ⎨ ⎪⎩0, 0 ≤ t < T0δ. where Tkδ is the kth ascending point, defined as Tkδ ≡ θ + k ⋅ I . 15. (1).

(29) Accordingly, a stepwise function is uniquely determined by three parameters, G, I, and θ The significance of such stepwise function is that it corresponds to a quasi-constant-bit-rate service, in which a fixed amount (G) of service can be offered per every time period (I), after a minimum delay of time θ . As depicted in Figure 6, under a general server, S, let Π (t ) denote the amount of service actually received by a class at time t. In addition, denote TkΠ the time instant at which the received service exceeds k times of service granularity, G. Namely, TkΠ ≡ min {t : Π (t ) ≥ k ⋅G} , for all k ≥ 0 . For example in Figure 6, a G amount of service corresponds to the finishing transmission of four packets. Due to batch service, server S actually finishes a two-packet (=0.5G) transmission at t2, and a total of six-packet (=1.5G) transmission at t6. Thus, T1Π is equal to t6 which is the. Offered service 4G. Π (t ). (G = 4 packets). (Actual service) 3G t7. t6. 2G. ∆ (t ) (Guaranteed service). t2. G 0. T0Π 0. ∆ 0. T1Π. ∆ 1. T. T. θ min. T2Π T2∆. I. I. T3Π T3∆ I. T4Π. Time(t) ∆ 4. T I. Legend: TkΠ : Time when actual k⋅G service amount is received; Tk∆ : Time when at least k⋅G service amount is received; tx : Time when x-packets are actually served; Figure 6. Concept of stepwise service curve. 16.

(30) earliest time upon which 1G (four-packet) service has been received. The problem of seeking guaranteed service becomes the determination of a stepwise function ∆ (t ) which is the greatest lower bound of all possible scenarios of Π (t ) (see Figure 6). ∆ (t ) is called the stepwise service curve, guaranteed by S,. defined as follows.. Definition 2:. A stepwise service curve ∆ (t ) under G and I, guaranteed by general. server S, is defined as. ∆ (t ) ≡ sup {δ (t , θ )} , ∀t ≥ 0, θ ∈E. (2). where E = {θ : δ (t , θ ) ≤ Π (t ), ∀t ≥ 0} . The supremum of Equation (2) uniquely occurs at the minimum value of θ , denoted as θ min .. Notice that the above uniqueness and minimum properties of θ min rest on the fact that, by fixing θ , function δ (t , θ ) is monotonically increasing with t; and by fixing t, the function is monotonically decreasing with θ . My main goal is to determine the stepwise service curve guaranteed by (ψ,τ)-Scheduler for a class, say class i. To this end, one way of approaching it is to find the minimum service amount achieved at any given time, i.e., to find y-axis service amount for any given x-axis time t. Another way, which is what we adopt here, is to determine the maximum time required before a given service amount is received, i.e., to find x-axis time value for any given y-axis service amount. For rigorousness, the above statement is outlined in the next lemma. 17.

(31) Lemma 1: If server S guarantees a stepwise service curve ∆ (t ) with θ min taken * by by Definition 2. If for all stepwise functions δ (t ,θi ) , ∀i ≥ 0 , defining θ min. * θ min ≡ inf {θ i ≥ 0 : TkΠ ≤ Tkδ , ∀δ (t , θ i ), ∀i, k ≥ 0} ,. (3). * = θ min . then θ min. The proof of Lemma 1 is in Appendix A. To find the stepwise service curve for class i, three parameters, G, I, and θ min have to determine first. It is simple to perceive that service granularity G for class i is equal to the normalized weight, wi , of the class. Second, the worst time period that wi amount of service can be at least offered is the maximum burst assembly time, τ, plus the burst transmission time, namely ψ / R . Therefore, it arrive at I = τ + ψ / R . The problem left is to find θ min , which is given in the following theorem, with the proof shown in Appendix B.. Theorem 1: A stepwise service curve guaranteed by (ψ,τ)-Scheduler for class i, is. ∆ i (t ) in which G = wi , I = τ +. ⎛ ⎡N ⎤⎞ ⎛ ψ ⎞ and θ min = ⎜1 + ⎢ ⎥ ⎟ ⋅ ⎜τ + ⎟ . R⎠ R ⎝ ⎢ψ ⎥ ⎠ ⎝. ψ. Based on Theorem 1, we are now in the position to derive the worst delay bound for different delay classes of traffic. Notice that, the work [27] provided an absolute delay bound, subject to the constraint that arriving packets are leaky-bucket regulated. In this work, due to the lack of traffic regulation, a time-independent delay. 18.

(32) bound is unachievable. In the end, the worst delay bound for each class is provided in two forms. In the first form, we present a time-dependent worst delay bound for a packet, given the class of the packet. As shown in Figure 7, we delineate two guaranteed service curves for class 1 with w1 =3 and class 2 with w2 =1, respectively, based on Theorem 1. Suppose the forth packet ( P 4 ) from the beginning of a busy period arrives at t4 . According to the theorem, if the packet is of class 1, the worst delay bound until packet P 4 served is θ min + 2 ⋅ I − t4 , and if the packet is of class 2, the worst delay bound until packet P 4 served is θ min + 4 ⋅ I − t4 . Accordingly, for the jth packet Pi j of class i arriving at time t j from the beginning of a busy period, the. ⎡ j⎤ worst delay bound is θ min + ⎢ ⎥ ⋅ I − t j , where θ min and I are given in Theorem 1. ⎢ wi ⎥ Offered service. 8. θ min + 4 I − t4 θ min + 2 I − t4. 6. G = w1 = 3. 4 2. G = w2 = 1. 0. 0. θ min. θ min +I. θ min +2 I. P4 arrival time ≡ t4. θ min +3I. θ min +4 I. Time(t). I = τ +ψ R ;. θ min = (1 + ⎢⎡ N ψ ⎥⎤ ) (τ + ψ R ) ;. Figure 7. (ψ,τ)-Scheduler’s stepwise service curves for two classes.. 19.

(33) In the second form, we provide the worst delay bound of an observed packet (of one class) that arrives along with a bulk of packet arrivals that belong to any traffic classes. Based on Theorem 1, we plot in Figures 8 and 9 the worst delay bound as a function of the normalized weight for the observed packets (15th packet and 25th packet), under a bulk arrival of 25 packets (including the observed packets). In the setting, we assume that the optical link capacity is 2 packets per slot. we reveal from the figure that the worst delay bound grows while the burst size (ψ from 30 to 150) or the burst assembly time (τ from 50 to 250) increase, and the dramatically declines as the class weight increases under all (ψ,τ) settings. In Figure 8, the worst delays of the15th packet under weights 5, 6, and 7 are the same. It is caused by that the 15th packet is transmitted on the same (3rd) burst. Significantly, such worst delay bound is guaranteed irrelevant to the weight and class distributions of other packets that arrive in the same bulk. This partially illustrates the significance of service curve in providing delay and throughput guarantees.. 20.

(34) Worst delay bound (slot). 3000. ψ = 30 ψ = 60 ψ = 90 ψ =120 ψ =150. 2500 2000 1500 1000 500. τ =50 R=2. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight. Worst delay bound (slot). (a) Under different ψ values. 3000. τ = 50 τ =100 τ =150 τ =200 τ =250. 2500 2000 1500 1000 500. ψ =30 R=2. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight. (b) Under different τ values. Figure 8. Worst delay bound of the 15th packet in bulk arrival.. 21.

(35) Worst delay bound (slot). 3000. ψ = 30 ψ = 60 ψ = 90 ψ =120 ψ =150. 2500 2000 1500 1000 500. τ =50 R=2. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight. Worst delay bound (slot). (a) Under different ψ values. 3000. τ = 50 τ =100 τ =150 τ =200 τ =250. 2500 2000 1500 1000 500. ψ =30 R=2. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight. (b) Under different τ values. Figure 9. Worst delay bound of the 25th packet in bulk arrival.. 22.

(36) 3.3 Delay QoS Provision. In addition to the deterministic worst delay bound, we also seek stochastic delay performance metrics to gain more insights into the effectiveness of the weight-based scheduling on delay QoS provisioning. To this end, we carried out event-based simulations in which the mean packet delay and 99% delay bound (in units of slots) were measured. In the simulations, there are four delay classes (C1-C4), with the weights set as 10, 6, 5, and 4 (or 40, 24, 20, and 16, normalized with respect to ψ = 100). The system is served by a wavelength in a capacity of one 60-byte packet per slot time. Each of these four classes generate an equal amount of traffic based on a two-state (H and L) MMBP. In the MMBP, the probability of switching from state H to L is equal to 0.225, and from state L to H is equal to 0.025. The probability of having one packet arrival during state H is equal to L and during state L is equal to L / 6 , under an offered load, L , i.e., L /4 for each class. Accordingly, the burstiness of traffic is B = 4. To draw a comparison, a FIFO system was also experimented. Simulations are terminated after reaching 95% confidence interval. Simulation results are plotted in Figures 10 and 11. We observe from Figure 10 that both mean delay and 99% delay bound of all classes increase with the offered load (from 0.9 to 0.99). Superior to the FIFO system that undergoes long delay/bound at high loads, (ψ,τ)-Scheduler invariably assures low delay/bound for high priority classes (e.g., C1 and C2) at a cost of increased delay/bound for low priority classes (e.g., C4). In Figure 11, we observe mean delay and 99% delay bound of C1-C4 under different weight of C1. In the 23.

(37) setting that w1 = 1, the normalized weights of C1, C2, C3 and C4 with respect to ψ = 100 are 6.25, 37.5, 31.25, and 25, respectively. The weight of a class can be adjusted to meet its delay/bound requirements. For example, as shown in Figure 11(b), to meet a 99% delay bound guarantee of 200 slots for class C1 under load=0.9, the weight of C1 must be greater than 7, given the weights of three other classes of 6, 5, and 4,. respectively. We also investigate the impact of (ψ,τ) setting on mean burstification delay. In this simulation, all flows are of the same delay class (w1: w2: w3: w4 = 1:1:1:1), and served by a single wavelength. Simulation results are shown in Figure 12. While τ is large (see Figure 12(a)), burstification delay is relevant to the number of arriving packets. At low load the system queue size is less than ψ under most condition, and the burstification delay is relevant to the arrival time of the ψth packet. The delay can be controlled by appropriate τ value (see Figure 12(b)). Under high ψ value and lower. τ value (see Figure 12(c)), mean burstification delay is controlled by τ value. We conclude that the maximum burst assembly time (τ) serves the purpose of assuring bounded mean burst delay particularly under low to medium loads, despite the fact that a large ψ value is applied.. 24.

(38) Mean delay (slot). 3000 2500 2000. (ψ,τ)-Sched.: C1 (w1=40) (ψ,τ)-Sched.: C2 (w2=24) (ψ,τ)-Sched.: C3 (w3=20) (ψ,τ)-Sched.: C4 (w4=16) FIFO. 1500 1000. ψ = 100. 500 0 0.90 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99. Load. 99% delay bound (slot). (a) Mean delay. 3000 2500 2000. (ψ,τ)-Sched.: C1 (w1=40) (ψ,τ)-Sched.: C2 (w2=24) (ψ,τ)-Sched.: C3 (w3=20) (ψ,τ)-Sched.: C4 (w4=16) FIFO. 1500 1000. ψ = 100. 500 0 0.90 0.91 0.92 0.93 0.94 0.95 0.96 0.97 0.98 0.99. Load (b) 99% delay bound. Figure 10. Delay QoS provision under various loads.. 25.

(39) Mean delay (slot). 350 C1 C2 C3 C4. L = 0.9 ψ = 100. 280 210 140 70. w2 : w3 : w4 = 6:5:4. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight of C1 (w1). 99% delay bound (slot). (a) Mean delay. 1000. C1 C2 C3 C4. L = 0.9 ψ = 100. 800 600 400 200. w2 : w3 : w4 = 6:5:4. 0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Weight of C1 (w1). (b) 99% delay bound Figure 11. Delay QoS provision via the weight adjustment.. 26.

(40) Mean burstification delay. 200. τ=∞. ψ = 100 ψ = 80 ψ = 60 ψ = 40 ψ = 20. 160 120 80 40 0 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. Mean burstification delay. (a) Delay under τ = ∞ 200. 0.9. Load. ψ = 100 ψ = 80 ψ = 60 ψ = 40 ψ = 20. τ = 60. 160 120 80 40 0 0.3. 0.4. 0.5. 0.6. 0.7. 0.8. 0.9. Load. (b) Delay under τ = 60. Mean burstification delay. 30 ψ = 125. 25 20 15 10 5 0 0.4. τ = 15 τ = 10 τ=5. τ = 25 τ = 20. 0.5. 0.6. 0.7. 0.8. 0.9. Load. (c) Delay under ψ = 125 Figure 12. Mean burstification delay under different ψ and τ . 27.

(41) Chapter 4. (ψ,τ)-Shaper and Departure Process Analysis For clarity purposes, the operation of (ψ,τ)-Shaper is highlighted, particularly the BATr part of the system in the sequel. A burst of size ψ is generated and transmitted (see Figure 2(b)) if the total number of packets reaches ψ before the burst assembly time exceeds τ. Otherwise, a burst of size less than ψ is generated when BATr expires. The BATr is initialized as the τ value when it is activated or reset. The BATr is activated when the system is changed from being idle to busy due. to new packet arrivals. The BATr is immediately reset when a burst departs leaving behind a non-empty queue. In the sequel, we derive the departure process of a (ψ,τ)-Shaper system. The aggregate packet arrivals are modeled as a two-state Markov Modulated Bernoulli Process (MMBP) with batch arrivals. Then we carried out analytic computation and event-based simulation to validate the analysis and capture the departure process behavior under various parameter settings and traffic arrivals. Finally we observe the coefficient of variation between the burst size and the burst inter-departure time. 4.1 Departure Process Analysis. In a (ψ,τ)-Shaper system, bursts are served (transported) by one wavelength and forwarded via the same OLSP. In the analysis, (ψ,τ)-Shaper is considered on a discrete-time single-server queueing system, MMBP/G/1, in which a time slot is equal to the transmission of a fixed-length packet. The aggregate packet arrivals are assumed to follow a two-state MMBP that allows batch arrivals at each state. The two 28.

(42) states are the H and L states, which correspond to high and low mean arrival rates, respectively. The MMBP is characterized by four parameters (α, β, λH, λL), where α is the probability of changing from state H to L in a slot, β is the probability of changing from state L to H in a slot, λH represents the probability of having a batch arrival at state H, and λL represents the probability of having a batch arrival at state L. For ease of description, the state change probability is denoted as Pi , j , i, j ∈ { H , L} . Namely, PH , L = 1 − PH , H = α and PL , H = 1 − PL , L = β . The batch sizes at state H and L possess distributions bH(m) and bL(m), with mean sizes bH and bL , respectively. Let L represent the mean arrival rate (packets/slot) (i.e., the load), and B the burstiness of the arrival process, it thus have. B=. λH ⋅ b H L. =. β α +β. λH ⋅ b H ⋅ λH ⋅ b H +. α. α +β. ⋅ λL ⋅ b L. .. (4). Figure 13 is drawn in aid of comprehension throughout the analysis. There are five possible events that sequentially occur in a slot as follows: (1) arrival process state change, (2) begin-of-burst departure, (3) packet arrivals, (4) end-of-burst departure, and (5) BATr activation/reset. While Events (1) and (2) occur at the beginning of a slot, Event (3) takes place at any time within a slot, and Events (4) and (5) occur at the end of a slot. The departure process distribution consists of two parts: burst inter-departure time (t ) and burst size ( s ) distributions. The burst inter-departure time takes values which are integer multiples of a slot. It is defined as the interval from the end of a previous burst to the beginning of the following burst. The goal is to. 29.

(43) System setting: ψ = 4; τ=5; Departure. t = 0. t. BoB. s (< ψ ). EoB. k System states. Arrival. t. k+1. q kyk = 0 …. s (= ψ ). k+2. k+3. 0 < q kyk++11 < ψ. τ. yk. s (= ψ ). zk+1. yk+1. <τ. q kyk++22 ≥ ψ. …. zk+2. yk+2. yk+3. tk+2. tk+3. v yψk +2 |zk +2. v yψk +3| yk +2. tk+1. tk. u zk +1| yk. q k +u. z |y v yky+k1|zk +k1+1 k. u zk +2 | yk +1. Legend: : Imbedded Markov chain epochs; BoB : Begin-of-Burst; EoB : End-of-Burst; Figure 13. (ψ,τ)-Shaper: departure process analysis.. 30. q kyk++33. Slot time.

(44) find the joint distribution of t and s , i.e., Pt , s (t , s ), t ≥ 0, 0 ≤ s ≤ ψ . To approach it, we first obtain the queue length distribution seen by departing bursts, based on an imbedded Markov chain analysis placing the imbedded points at burst departure instants, as shown by the arrows in Figure 13. Define random variable q ykk to be the number of packets left in queue behind by the kth departing burst, say at time slot tk, under the condition that the arrival process is in state yk (=H or L) at tk. Let random variable u z| y represent the number of packets that arrive during the burst inter-departure interval, under the condition that the arrival process changes from state y prior to the beginning of the interval, to state z at the end of the interval. Moreover, let random variable vzn| y denote the number of packets that arrive during the transmission time of an n-packet burst, namely n slots, under the condition that the arrival process changes from state y prior to the beginning of the time interval, to state z at the end of the interval. In Figure 13, the kth burst depart at tk, and there are no packet left in the queue. The next packet arrives at tk +3. BATr is activated and set by τ. Since the traffic arrival is under low load, there are not enough packets arrival during tk +3 and. tk +3+τ. At tk +3+τ the BATr is expired, and the (k+1)st burst starts transmission at the next slot. The burst size is u zk +1| yk . At the end of the (k+1)st burst transmission, there have some packets in the queue. BATr is reset at tk+1. The (k+2)nd burst is generated while the queue size is more than ψ value. Finally at the end of the (k+2)nd burst transmitted, since the queue size q ykk++22 is still more than ψ value, the (k+3)rd burst is immediately generated and transmits behind the (k+2)nd burst.. 31.

(45) Accordingly, the next queue length q ykk++11 is determined by the current queue length q ykk , number of arrival during the inter-departure time u z| y , number of departure packets, and number of arrival packets during transmission vzn| y . we find that. (. q ykk++11 = q ykk + u zk +1| yk −ψ where yk , yk +1 , zk +1 ∈ { H , L} , and. (a). +. ). +. {. min q ky + u zk +1| yk , ψ. + v yk +1| zk +k1. }. ,. (5). = max {a, 0} . In Equation (5), a non-negative. term within the parentheses corresponds to the departure of a full-size (=ψ) burst; whereas a negative value corresponds to the departure of a burst due to BATr expiration. Significantly, since BATr is reset or activated after the kth burst departure. { time, and u zk +1| yk and v yk +1| zk y+k1. min q k + u zk +1| yk , ψ. to time index k,. {q. k yk. } are independent of any events that occur prior. }. , yk ∈ { H , L} , k ≥ 1. is hence an imbedded Markov chain.. Based on Equation (5), we can derive the limiting distributions of the queue length seen by departing bursts, rather than at all points in time. Notice that fortunately, such distribution is sufficient enough to determine the departure process distribution. Before we proceed, let us first derive the distribution for the number of packets that arrive in any given interval. Let crtt |r0 (m) denote the probability that m packets have arrived in an interval of t slots, under the condition the arrival process changes from state r0 (=H or L) prior to the beginning of the interval, to state rt (=H or. L) at the end of the interval. For t = 0 , there is no packet arrived. we immediately have cr00 |r0 (m) =1 if m=0, and cr00 |r0 (m) =0, otherwise. For t ≥ 1 , crtt |r0 (m) can be recursively computed as 32.

(46) crtt |r0 (m) =. m ⎡ ⎤ Px , rt ⋅ ⎢ cxt −|r10 (m) ⋅ 1 − λrt + ∑ cxt −|r10 ( m − n) ⋅ λrt ⋅ brt (n) ⎥ , x∈{ H , L} n =1 ⎣ ⎦. (. ∑. ). (6). where r0 , rt ∈ { H , L} , Px , rt is the probability that the arrival process changes from state x to state rt . The first term within the square bracket in Equation (6) corresponds to that all m packets arrive in the first t-1 slots and no packet arrives in the last slot. The second term represents that m-n packets arrived in the first t-1 slots and a batch of. n. ( n ≤ m). packets that arrive in the last slot with probability λrt ⋅ brt ( n) .. With the “ (. ). +. ” sign removed, Equation (5) can be expanded into three. cases, as. q ykk++11. ⎧q k −ψ + vψ , if q ykk ≥ ψ yk +1 | yk ⎪ yk ⎪ ⎪ = ⎨q ykk + u zk +1| yk −ψ + vψyk +1 |zk +1 , if q ykk < ψ , q ykk + u zk +1| yk ≥ ψ . ⎪ ⎪ ⎪v q kyk +uzk +1| yk , if q ykk + u zk +1 | yk < ψ ⎪⎩ yk +1| zk +1. (7). Notice that u zk +1| yk is absent from the first case of Equation (7) due to that the inter-departure time is zero if a departing burst leaves behind a system with ψ or more packets. we now compute the queue length distribution by first conditioning on the value of q ykk and separating case one from cases two and three in Equation (7), as. ψ +d. P ⎡⎣ q ykk++11 = d ⎤⎦ = ∑. ∑. q =ψ yk ∈{ H , L}. ψ −1. F1 ⋅ P ⎡⎣ q ykk = q ⎤⎦ + ∑. ∑. q = 0 yk , zk +1∈{ H , L}. where. 33. F2 ⋅ P ⎡⎣ q ykk = q ⎤⎦ ,. (8).

(47) F1 ≡ P ⎡⎣ q ykk −ψ + vψyk +1| yk = d | q ykk = q ⎤⎦ = P ⎡⎣ vψyk +1| yk = d − q + ψ ⎤⎦. (9). = cψyk +1| yk ( d − q + ψ ) and. {. F2 ≡ P ⎡( q ykk + u zk +1| yk −ψ ) + v yk +1| zk +k1 ⎢⎣ +. =. ψ − q −1. ∑ u =0. +. d + (ψ − q ). ∑ ψ. ψ − q −1. ∑c u =0. +. }. = d | q ykk = q ⎤ ⎥⎦. P ⎡⎣ v yqk++1u|zk +1 = d ⎤⎦ ⋅ P ⎡⎣u zk +1 | yk = u | q ykk = q ⎤⎦. u = −q. =. min q ky + u zk +1| yk ,ψ. P ⎡⎣ vψyk +1| zk +1 = d − ( q + u −ψ ) ⎤⎦ ⋅ P ⎡⎣u zk +1| yk = u | q ykk = q ⎤⎦ .. q +u yk +1 | zk +1. d + (ψ − q ). ∑ ψ. u = −q. ( d ) ⋅ P ⎡⎣uz. k +1 | yk. (10). = u | q ykk = q ⎤⎦. P ⎡⎣ cψyk +1| zk +1 ( d − q − u + ψ ) ⎤⎦ ⋅ P ⎡⎣u zk +1| yk = u | q ykk = q ⎤⎦. To proceed, P ⎣⎡u zk +1| yk = u | q ykk = q ⎦⎤ in Equation (10) needs to solve first. It can be resolved by considering five cases depending on different ranges of u and q values as given in Equation (11) below. First of all, in case (1) when q ≥ ψ a full-size burst is immediately transmitted, yielding t = 0 . Thus, the probability under u = 0 is one. In case (2), when 0 < q < ψ but u + q ≥ ψ , the total number of packets in the queue must exceed ψ the first time at a particular slot before the BATr expires. Namely, within an interval t of less than or equal to τ, there arrives a total of m. ( 0 ≤ m ≤ ψ − q − 1). packets during t-1 slots, and exactly at this final slot, a batch of. u − m packets arrives, making m + ( u − m ) + q ≥ ψ . The total number of packets exceed ψ the first time at the tth slot. As opposed to case (2), in case (3) BATr expires.. 34.

(48) That is, the total number of packets that arrive within an interval of τ is u. (u <ψ − q ). and u + q < ψ . The probability is cτzk +1| yk (u ) . Case (4) in Equation (11) under q = 0 corresponds to the termination of a busy period of the system. Notice that BATr is not activated until the arrival of the first batch with m. (0 < m ≤ u ). packets. This explains the term within the square. bracket. Under such condition, this case becomes identical to that when a departing burst leaves behind a system with m packets, with the probability shown before the product sign. Notice that, this probability can be obtained by applying cases (1) to (3) once, depending on the m value. Combining the results from the cases discussed above, it has. P ⎡⎣u zk +1 | yk = u | q ykk = q ⎤⎦ ⎧ ⎪ ⎪1 ⎪ ⎪ τ ψ − q −1 ⎪ cxt −| y1k ( m ) ⋅ Px , zk +1 ⋅ λzk +1 ⋅ bzk +1 ( u − m ) ∑ ∑ ⎪∑ t =1 m = 0 x∈{H , L} ⎪ ⎪ ⎪ = ⎨cτzk +1 | yk ( u ) ⎪ ⎪ ⎧ P ⎡u z |r = u − m | qrk = m ⎤ ⋅ ⎫ ⎪ ⎦ u ⎪ ⎣ k +1 ⎪ ⎪ ∞ ⎨ ⎬ ∑ ∑ ⎪ r∈ H , L m =1 cxt −| y1k ( 0 ) ⋅ Px , r ⋅ λr ⋅ br ( m ) ⎪ { } ∑ ∑ ⎪ ⎪ ⎩ t =1 x∈{H , L} ⎭ ⎪ ⎪ ⎪⎩0. , if q ≥ ψ , u = 0, zk +1 = yk , if 0 < q < ψ , u ≥ ψ − q , if 0 < q < ψ , u < ψ − q. (11). , if q = 0. , otherwise. With Equations (6) and (8)-(11), the limiting queue length distribution under the arrival process being at state H or L, can be given by. 35.

(49) P ⎡⎣ q y = d ⎤⎦ = lim P ⎡⎣ q yk = d ⎤⎦ , y ∈ { H , L} . k →∞. (12). We are now in the position to determine the departure process distribution,. Pt ,s ( t , s ) . There are four cases depending on different t and s values to be considered. First, in Case I when t = 0 , it is clear that the queue length is larger than ψ behind the burst departure. We get that. Case I: t = 0. ⎧ ∑ P ⎡⎣ q y ≥ ψ ⎤⎦ , if s = ψ ⎪ Pt , s ( t , s ) = ⎨ y∈{H , L} . ⎪ 0 , if s < ψ ⎩. (13). Second, Case II corresponds to the transmission of a full-size burst due to having a total of ψ or more packets before the BATr expires. Hence, we obtain that. Case II: 0 < t < τ. ⎧ ⎡ t −1 ⎤ ⎪ ∑ ⎢ ci| y ( m ) ⋅ Pi , j ⋅ λ j ⋅ ∑ b j ( n ) ⎥ ⋅ P ⎡⎣ q y = q ⎤⎦ , if s = ψ ⎪ n ≥ψ − q − m ⎦ Pt , s ( t , s ) = ⎨ y ,qi ,+j∈m{<Hψ,;L} ⎣ . ⎪ ⎪⎩ 0 , if s < ψ. (14). Third, in Case III when t = τ and s = ψ , the total number of packets in the system exceeds ψ exactly at the same time when the BATr expires. Otherwise, if s < ψ , a burst of size less than ψ is transmitted due to BATr time-out. That means,. Case III: t = τ. 36.

(50) ⎧ ⎡ t −1 ⎤ ⎪ ∑ ⎢ ci| y ( m ) ⋅ Pi , j ⋅ λ j ⋅ ∑ b j ( n ) ⎥ ⋅ P ⎡⎣ q y = q ⎤⎦ , if s = ψ n ≥ψ − q − m ⎦ ⎪⎪ y ,qi ,+j∈m<Hψ,;L ⎣ { } Pt ,s ( t , s ) = ⎨ . τ ⎪ ci| y ( s − q ) ⋅ P ⎡⎣ q y = q ⎤⎦ , if s < ψ ⎪ 0<∑ q <ψ ; ⎪⎩ y ,i∈{H , L}. (15). Finally, under the last case when t > τ , the departing burst must have left an empty system. ( P ⎡⎣q. y. = 0 ⎤⎦. ). resulting in the deactivation of the BATr. The timer. remains deactivated until the arrival of the first batch of packets. Then, whether the next departing burst is a full-size one or not depends on the total number of arriving packets, as. Case IV: t > τ. ⎧ ⎡ t −τ −1 ⎤ τ ⎪ ∑ ⎢ ci| y ( 0 ) ⋅ c j|i ( m ) ⋅ Pj ,h ⋅ λh ⋅ ∑ bh ( n ) ⎥ ⋅ P ⎡⎣ q y = 0 ⎤⎦ n ≥ψ − m ⎦ ⎪ y ,i , jm,h<∈ψ{H; , L} ⎣ ⎪⎪ , if s = ψ Pt , s ( t , s ) = ⎨ . ⎪ ⎡ ⎤ ⎪ ∑ ⎢ cit|−yτ −1 ( 0 ) ⋅ Pi , j ⋅ λ j ⋅ ∑ b j ( n ) ⋅ cτh| j ( s − n ) ⎥ ⋅ P ⎡⎣ q y = 0 ⎤⎦ ⎪ y ,i , j ,h∈{H , L} ⎣ n ≥1 ⎦ , if s < ψ ⎩⎪. (16). Combining Equations (13)-(16), we achieve the joint-form departure process distribution.. 37.

(51) 4.2 Numerical Results. We carried out analytic computation and event-based simulation to validate the analysis and capture the departure process behavior under various parameter settings and traffic arrivals. Analytical and simulation results of the queue length distribution and departure process distributions (inter-departure and burst size distributions) are shown in Figures 14, 15, 16, and 17 respectively. In the system setting, we adopt ψ = 25 or 100, and τ = 10, 20, 30, or ∞ . In the MMBP, we adopt. α = 0.225, β = 0.025 ; λH = 0.36 and λL = 0.0933 at load 0.6; and λH = 0.48 and λL = 0.1244 at load 0.8. The batch size in any of states H and L was uniformly distributed between 1 and 9 ( bH = bL = 5). Accordingly, the burstiness of traffic is B = 3 under both loads. First, all analytical results are in profound agreement with simulation results. As shown in Figures 14(a) and 14(b), the queue length observed at burst departure time is small under lower load and lower τ value. It is caused by that most of the bursts are generated while the BATr is expired. If the τ value is large enough, the system accumulates ψ packets to assemble a burst. Since the large burst takes more transmission time than small burst, the number of packets arriving during burst transmission in large τ value is more than that in small τ value. The distribution of queue length in large τ value is to center on large queue size. As shown in Figure 14(c), the queue size distribution under large ψ value is expands to a greater scope. Finally, it is interesting that there are some spikes at queue-length=9 in the queue length distribution (see Figure 14). The phenomenon is caused by the maximum batch size of 9 in the arrival process. 38.

(52) In addition, we observe that the inter-departure time distribution is sensitive to ψ and τ. Under a medium load ( L =0.6) or high load ( L =0.8) condition, we observe the inter-departure time of zero (burst size=ψ=25 or 100) occurs with the larger probability under all τ values. It can be shown that during the burst transmission, there are enough packets (>ψ) accumulate in the queue under a high load. The other larger probability for different τ settings occurs at the inter-departure time being equal to the corresponding τ value. It is reasonable for that while system finish a burst transmission and queue is not empty, next burst wait at most τ slots. The results are shown by the spikes in Figures 15(a), 16(a) and 17(a). The burst size distribution is also sensitive to ψ and τ. As shown in Figures 15(b), 16(b) and 17(b), if the τ value is small (=10), the system does not accumulate enough packets before BATr expired. The probability of burst size less than ψ is large under lower load (see Figure 15(b)) or under large ψ value. If the τ value is large enough (approached to limit), burst is always generated under the ψth packet arrived. The probability of burst size equal to ψ is one. Deciding an appropriate τ value can make the burst almost complete and the delay could be controlled. For example, if we want to get 95% complete burst under ψ=25 and load=0.8, we must set τ=30. In the last, it has similar result with Figure 14 that there is a turning point at burst size 9 duo to the maximum batch size is 9. 39.

(53) Probability density. 0.06. 0.04. τ = 10 (P0= 0.204) τ = 20 (P0= 0.082) τ = 30 (P0= 0.037) τ = ∞ (P0= 0.007). 0.03. Simulation Analysis. 0.05. 0.02 Load = 0.6 ψ = 25. 0.01 0.00 0. 5. 10 15 20 25 30 35 40 45 50 55 60. Probability density. Queue length (a) ψ=25 under medium load (0.6) 0.06. τ = 10 (P0= 0.045) τ = 20 (P0= 0.010) τ = 30 (P0= 0.004) τ = ∞ (P0= 0.001). 0.05 0.04. Simulation Analysis. 0.03 0.02 0.01. Load = 0.8 ψ = 25. 0.00 0. 5. 10 15 20 25 30 35 40 45 50 55 60. Queue length. Probability density. (b) ψ=25 under high load (0.8) 0.06. 0.04. τ = 10 (P0= 0.033) τ = 20 (P0= 0.002) -4 τ = 30 (P0= 1.6x10 ) -9 τ = ∞ (P0= 4.2x10 ). 0.03. Simulation Analysis. Load = 0.8 ψ = 100. 0.05. 0.02 0.01 0.00 0. 5. 10 15 20 25 30 35 40 45 50 55 60. Queue length. (c) ψ=100 under high load (0.8) Figure 14. System queue length distribution. 40.

(54) Probability density. 0. 10. -1. 10. Load = 0.6 ψ = 25. -2. 10. -3. 10. τ = 10 τ = 20 τ = 30 τ=∞. -4. 10. -5. 10. 0. 5. 10. Simulation Analysis 15. 20. 25. 30. 35. 40. Slot. Probability density. (a) Inter-departure time ( t ) distribution. 0.08. τ = 10 (P25= 0.22) τ = 20 (P25= 0.54) τ = 30 (P25= 0.76) τ = ∞ (P25= 1.00). 0.07 0.06 0.05. Simulation Analysis. Load = 0.6 ψ = 25. 0.04 0.03 0.02 0.01 0.00 1. 4. 7. 10. 13. 16. 19. 22. 25. Burst size (b) Burst size ( s ) distribution Figure 15. Departure process distributions (ψ=25 under medium load).. 41.

(55) Probability density. 0. 10. Simulation Analysis. -1. 10. Load = 0.8 ψ = 25. -2. 10. -3. 10. τ = 10 (P0= 0.401) τ = 20 (P0= 0.518) τ = 30 (P0= 0.553) τ = ∞ (P0= 0.571). -4. 10. -5. 10. 0. 5. 10. 15. 20. 25. 30. 35. 40. Slot. Probability density. (a) Inter-departure time ( t ) distribution. 0.05. τ = 10 (P25= 0.61) τ = 20 (P25= 0.86) τ = 30 (P25= 0.95) τ = ∞ (P25= 1.00). 0.04 0.03. Load = 0.8 ψ = 25. Simulation Analysis. 0.02 0.01 0.00 1. 4. 7. 10. 13. 16. 19. 22. 25. Burst size (b) Burst size ( s ) distribution Figure 16. Departure process distributions (ψ=25 under high load).. 42.

(56) Probability density. 0. 10. Simulation Analysis. -1. 10. Load = 0.8 ψ = 100. -2. 10. -3. 10. τ = 10 (P0= 0.012) τ = 20 (P0= 0.075) τ = 30 (P0= 0.148) τ = ∞ (P0= 0.263). -4. 10. -5. 10. 0. 5. 10. 15. 20. 25. 30. 35. 40. Slot. Probability density. (a) Inter-departure time ( t ) distribution. 0.05. τ = 10 (P100= 0.022) τ = 20 (P100= 0.186) τ = 30 (P100= 0.440) τ = ∞ (P100= 1.000). 0.04 0.03. Load = 0.8 ψ = 100. Simulation Analysis. 0.02 0.01 0.00 0. 10. 20. 30. 40. 50. 60. 70. 80. 90 100. Burst size (b) Burst size ( s ) distribution Figure 17. Departure process distributions (ψ=100 under high load). 43.

(57) To examine the effectiveness of shaping, we further compute the Coefficient of Variation (CoV) for the inter-departure time and burst size, under three. ψ values (ψ = 1, 10, and 100), three τ values (τ = 20, 40, and 80) and various MMBP arrivals (B = 1, 3, and 5; bH = bL = 5, 7, and 9) under α = 0.225, β = 0.025 . The CoV is a measure of dispersion of a probability distribution. It is defined as.  = CoV(a).  Var[a] Standard deviation of a = ,  Mean of a E[a]. where a is a random variable. Distributions with CoV < 1 (such as an Erlang distribution) are considered low-variance, while those with CoV > 1 (such as a two-state MMBP distribution) are considered high-variance. Notice that the setting of. ψ = 1 corresponds to a FIFO system with no shaping. Numerical results are plotted in Figures 18 and 19. As shown in Figure 18, as expected, the CoV of the inter-departure time increases with the offered load. Crucially, under any MMBP arrival, we discover that CoV of inter-departure time is very large under ψ = 1. It means that departure process is of high variance. Then the CoV declines significantly with larger ψ values, yielding substantial reduction in burst loss probability. This fact will be again revealed in the network-wide simulation results presented in the Chapter 5. Moreover, we observe from Figures 18 and 19 that the burstiness and batch size of the original MMBP arrival has impact on any of the CoVs- the higher the burstiness and batch size, the greater the CoV. Nevertheless, the impact is insignificant compared to the effect of using different ψ and τ values. As displayed in. 44.

(58) Figure 19, the CoV of the burst size declines with larger τ values under any MMBP arrival. Notice that greater τ values imply larger burst sizes, namely better shaping effect. We then investigate the impact of (ψ,τ) setting on mean burst size. In this simulation, we adopted the batch size being uniformly distributed between 1 and 9 (i.e., bH = bL = 5) for MMBP arrivals. By the result of Figures 18 and 19, we have learned that the larger ψ and τ values results in better shaping. To satisfy a given mean burst size, the results in Figure 20 can serve as a guideline for the selection of appropriate τ values under different traffic loads. For example, if ψ = 200, to achieve a mean burst size of 100 under load 0.6, the applicable values of τ are 40 and above. The results of the mean burst size associated with a set of (ψ,τ) pairs are indicated in Figure 21. Under medium load (see Figure 21(a)), τ value must be set large enough to achieve large burst size. Under high load, ψ has acted the main role to decide the mean burst size. For example (see Figure 21(b)), if τ > 20, mean burst size is almost equal to the ψ value.. 45.

數據

Figure 1. Optical Coarse Packet Switching (OCPS).QoSProcessing Header  Regeneration HeaderProcessingFDLSwitch Fabric E/O FDLO/EPacket Assembly  Packet  DisassemblyPayload Header Optical power spectrum density PayloadHHER HET Legend:
Figure 3. ( ψ , τ )-Scheduler/Shaper design concept. (b) (ψ,τ)-Shaper: functional design
Figure 4. ( ψ , τ )-Scheduler: an example.
Figure 7. ( ψ , τ )-Scheduler’s stepwise service curves for two classes.
+7

參考文獻

相關文件

分區技能競賽 資訊與網路技術. 正式賽

你是 Dora 公司裡的 IT Expert,日前收到Dora的委託架設內部 dora.local 網路,最近 Dora 公司業績長紅,Dora 的合作夥伴 Diego 想要拓展分公司,但是搗蛋鬼不相信你的技術所 以想要說服

1、 網路管理與通信技術整合實務、機電控制、網拍多媒體行銷及物流從業人員

The hashCode method for a given class can be used to test for object equality and object inequality for that class. The hashCode method is used by the java.util.SortedSet

The PE curriculum contributes greatly to enabling our students to lead a healthy lifestyle with an interest and active participation in physical and aesthetic

For the proposed algorithm, we establish its convergence properties, and also present a dual application to the SCLP, leading to an exponential multiplier method which is shown

進而能自行分析、設計與裝配各 種控制電路,並能應用本班已符 合機電整合術科技能檢定的實習 設備進行實務上的實習。本課程 可習得習得氣壓-機構連結控制

„ Signaling over standard IP uses a common transport protocol that ensures reliable signaling delivery. „ Error-free