一种改进的EPON动态带宽分配算法
- 格式:pdf
- 大小:290.96 KB
- 文档页数:4
2009年第11期,第42卷 通 信 技 术 Vol.42,No.11,2009 总第215期Communications Technology No.215,TotallyEPON和GPON的几种动态带宽分配算法比较张晓敏, 李维民(空军工程大学 电讯工程学院,陕西 西安 710077)【摘 要】PON技术是下一代光接入网发展的关键技术,目前发展的PON技术主要是EPON和GPON。
EPON是基于Ethernet 的PON,因其成本低、容易运行和维护等优点而被称为下一代光接入网的首选;GPON英文全称为Gigabit-capable Passive Optical Network,它能为数据、TDM以及各种QoS业务提供很好的支持,是一种很有前途的光接入网技术。
文中在简单介绍EPON和GPON基本工作原理的基础上,对EPON和GPON目前提出的动态带宽分配算法进行比较。
【关键词】PON;EPON;GPON;动态带宽分配;QoS【中图分类号】TN915 【文献标识码】A【文章编号】1002-0802(2009)11-0127-03Comparison of Several Dynamic Bandwidth Allocation Algorithmsin EPON and GPONZHANG Xiao-Min, LI Wei-Min(Telecommunication Engineering Institute, Air Force Engineering University, Xi’an Shaanxi 710077, China)【Abstract】PON technology is the key technology for the development of next-generation Optical Access Network. At present, it mainly includes EPON and GPON.EPON is the PON based on Ethernet. Due to its low cost, easy implementation and maintenance, EPON is regarded as the best choice for next-generation Optical Access Network. GPON is the abbreviation for Gigabit-capable Passive Optical Network. GPON could provide strong support for data, TDM and various QoS business. Consequently it is a technology with great potential for Optical Access Network. Based on introduction of fundamental principles of EPON and GPON, this paper compares the present dynamic bandwidth allocation algorithms of EPON and GPON.【Key words】PON; EPON; GPON; dynamic bandwidth allocation; QoS0 引言无源光网络(PON)技术被称为是下一代网络发展的关键。
文章编号:1002-2082(2009)06-1016-04一种改进的EPON 动态带宽分配算法张晓敏1,李维民1,李法庆2(1.空军工程大学电讯工程学院,陕西西安710077; 2.陕西省生产力促进中心,陕西西安710077)摘 要:在分析了现有带宽分配算法的基础上,结合已有算法的优缺点,提出一种新的区分业务等级的、保证服务质量的动态带宽分配算法。
新算法动态确定轮询周期,分配给高优先级业务请求带宽,按权重对中、低优先级业务进行带宽分配,并考虑到了剩余带宽的再分配。
经仿真验证:该方案充分保证了高优先级业务的带宽需求,考虑到了低等级业务可能分不到带宽的情况,体现了带宽分配的公平性,全面提高了上行带宽的利用率,提高了系统的服务质量保证。
关键词:以太无源光网络;动态带宽分配;区分业务等级;服务质量;OPNET 仿真中图分类号:T N 915 文献标志码:AImproving dynamic bandwidth distribution algorithm in EPONZHANG Xiao -min 1,LI Wei -m in 1,LI Fa -qing2(1.T eleco mmunica tio n Eng ineering Institute,A ir F or ce Eng ineer ing U niver sity ,Xi ’an 710077,China;2.Shaanxi Pr ov ince Pr oductivity P ro motion Center ,Xi ’an 710077,China )Abstract :Dynamic bandw idth allo cation o f the uplink is a hot technique in EPON system .By analy zing the merits and w eaknesses o f the ex isting alg orithms ,a nov el dynamic bandw idth allocation alg orithm is pr opo sed,w hich suppor ts differentiating service levels and g uarantees the quality o f the serv ice.The new alg orithm deter mines the polling cycle,allo cates the requested bandw idth to high -priority services ,and allo cates bandw idth to middle and low priority sevices by w eight.It also takes the reallocation o f the excess bandw idth into acco unt.Simulation results show that this scheme can m eet the bandw idth need of high priority service w hile taking low prior ity serv ice into account.T he algorithm makes the distribution of system bandw idth mo re ratio nal and improv es the efficiency o f up -link bandw idth and the quality of service .Key words :Ethernet passive o ptical netw ork;dynamic bandwidth allocation;differentiated classes of ser vice;quality of serv ice;OPNET simulation引言动态带宽分配是以太无源光网络(Ethernet passive optical netw or k,EPON )研究的关键技术之一,采用怎样的动态带宽分配算法,最大程度地提高系统的带宽利用率,是EPON 系统研究的热点问题。
Kramer G,M ukherjee B,Pesavento G 等人提出的IPA CT (interleaved po lling w ith adaptiv ecycle time )算法[1-2]是基于授权和请求的有自适应循环周期时间的交织轮询方案,它是以OLT (optical line term inal,光线路终端)为控制中心,按固定周期内网络的实时情况来改变时隙安排,并考虑了系统中OLT 与各个ONU (optical netw o rk unit ,光网络单元)之间由实际距离所带来的传输时延。
但是,IPACT 算法轮询周期不固定,导致轻负载时带宽利用率低,且对业务的QoS(quality o f ser vice,服务质收稿日期:2009-06-19; 修回日期:2009-06-28作者简介:张晓敏(1982-),女,河南商丘人,硕士研究生,主要从事宽带通信网络技术的研究。
E-mail:546080598@第30卷第6期2009年11月 应用光学Jo ur nal o f A pplied O ptics V ol.30N o.6N ov.2009量)保证不高。
Choi S 提出的ETRI (electronics and telecomm unicatio ns research institute)算法[3]中将轮询周期固定,对高优先级业务的带宽需求固定分配,上行带宽的利用率大大提高,但不能有效保证低优先级业务的带宽分配[4],带宽分配的公平性得不到体现。
针对这两种算法存在的不足,提出一种区分业务等级的ETRI 改进算法(DS-ET RI)。
通过分析推导和仿真验证,新算法提高了带宽利用率,提高了QoS 保证。
1 DS-ET RI 算法为了全面保证各优先等级业务的带宽需求,提高系统的QoS 保证,文章提出一种改良的算法,改善上面两种算法存在的问题。
算法的主要思想是动态确定轮询周期,也就是不固定轮询的周期,在轮询之前根据网络的负载轻重动态调整轮询周期的长短。
负载轻时把轮询周期缩小,负载重时增大轮询周期。
这样避免了在网络负载轻时上行信道利用率低的问题,也降低了网络负载重时所出现问题的机率,动态地控制轮询周期,提高了上行信道的利用率。
具体算法表述如图1所示。
图1 算法流程图Fig .1 Procedure of algorithm 假设OLT 上有N 个ONU 处于正常工作状态,上行信道的传输速率为R bit/s,T cycle 是进行一次完整的周期轮询的时间,T cycle 太大将增大数据的延时[5],T cycle 太小则会有更多的带宽被浪费在数据帧的保护时间上,因此要选择合适的T cycle 。
在本文中,把使B report ≤B total 的T cycle 取值范围定为{125 s ,2000 s},T g 为保护时间,N 为ONU 的个数,B R 是为维护和管理信息流以及请求消息等的预留带宽,B total 为当前网络总的可用带宽。
它们的关系式为B total =(T cycle -N ×T g )×R /8-B R(1)1)动态确定轮询周期T cycle [5]:如果发送到OLT 的带宽请求B report ≤B total ,则按业务优先等级进行带宽分配;如果发送到OLT 的带宽请求B report >B total ,则增大T cycle ,使B r eport ≤B total ,再按业务等级进行带宽分配;若将T cycle 调整到最大值2000 s,仍未满足B repor t ≤B total ,则先充分保证高优先级业务的带宽需求,然后中、低优先级业务按权重分配带宽。
其中,B report 为总的请求带宽。
2)高优先级EF(ex pedited forw arding,加速转发)业务的带宽分配:在确定有EF 业务需发送时,充分保证其所需带宽,R Hi 为高优先级业务的请求带宽,G Hi 为高优先级业务的最终授权带宽。
则分配的带宽为G Hi =R Hi(2)若无EF 业务需发送,则从AF 业务开始分配带宽。
3)中优先级A F (assured forw arding ,保证转发)业务按下面的公式进行带宽分配:如果 R Mi ≤B total -∑ni =1BHi G Mi =R Mi(3)按步骤4)和5)进行其他业务的带宽分配。
如果 R Mi >B total -∑ni =1BHi则中优先级业务和低优先级业务按所占权重进行带宽分配,分配公式如下:G M i =R M i∑ni =1(RMi+R Li )(B total -∑ni =1GHi)G Li =R Li∑ni =1(RM i+R Li )(B total -∑ni =1GHi)(4)4)低优先级BE(best effort,尽力而为)业务的动态带宽分配:若满足R Mi ≤B total -∑ni =1BHi,则・1017・应用光学 2009,30(6) 张晓敏,等:一种改进的EP ON 动态带宽分配算法低优先级业务按下面公式进行带宽分配:G Li =R Li∑ni =1RLiB total -∑ni =1(G Hi +G Mi )(5)5)剩余带宽的再分配:按步骤1)~4)分配带宽后若有剩余带宽,则剩余带宽为B excess =B total -∑ni =1(GHi+G Mi +G Li )(6)因为高、中优先级业务均分配给其所需的带宽,故剩余带宽可全部分配给低优先级业务,满足其所请求的全部带宽。
在R Mi >B total -∑ni =1BHi的情况下,为高优先级业务分配后余下的全部带宽按比例分配给了中、低优先级业务,所以不存在剩余带宽,无须进行剩余带宽的再分配。
2 仿真结果及性能分析为了验证以上算法,采用OPNET 仿真软件对DS-ET RI 算法和ETRI 算法进行建模仿真:仿真系统由1个OLT 和16个ONU 组成。
用户到ONU 的接入链路速率(R u )最大为100Mbit /s ,EPON 中上下行链路速率(R n )均为1000M bit /s ,保护时间T g 取为1 s 。
每一个ONU 都分3种优先等级:高优先级EF 业务、中优先级AF 业务和低优先级BE 业务。