使用DDPG的NFV缩放的算法感知阈值调整
Traffic-aware Threshold Adjustment for NFV Scaling using DDPG
摘要:
目前的解决方案主要集中在如何预测流量,而不是观察特定NFV场景中的流量特征。因此,它们中的大多数使用统一的阈值来扩展/缩小。在真实的NFV场景中,每个VNF可以服务一个或多个流,并且这些流的特性完全不同,在这种场景中使用的统一阈值是不合适的,因为每个VNF具有取决于事件网络流量和事件的不同处理逻辑。即使某些VNF共享分组处理功能,例如分组报头分析,上层处理和实现的差异也可以表现出独特的资源使用模式。我们提出了一种动态阈值缩放机制,可以根据每个VNF的特性来定制阈值。由于设置阈值是每个VNF的任务,并且需要深入了解工作负载趋势和每个VNF的多样性,因此我们为传统的动态机制添加了量身定制的功能。此外,我们还通过预测负载预留资源,并增加了一个应急模块来应对异常流量,即我们开发了一个主动和被动扩展相结合的混合扩展策略。此外,网络流量的急剧上升不仅可以由大量新的传入流引起,也可以由现有流的增长引起。如果流量的增加主要是由于现有流的增长,那么仅仅重路由新的流不能快速缓解过载,并且可能违反SLA \cite{zhang2016co}。避免违反SLA的唯一方法是快速、安全地将流和相关的NF内部状态从现有实例迁移到新的扩展实例,因此状态迁移是扩展过程的重要部分。为了保证缩放的准确性和时间轴,我们在openNF上实现了缩放过程中的流迁移。
英文摘要:
Current solutions mostly focus on how to predict traffic, rather than observing traffic characteristics in a specific NFV scenario. So, most of them use a uniform threshold to scale in/out. In real NFV scenario, each VNF may serve the one or more flows, and the characteristics of these flows are completely different, a uniform threshold used in this scenario is not suitable, because each VNF has a distinct processing logic depending on incident network traffic and events. Even if certain VNFs share packet processing functionality such as packet header analysis, the differences in upper-layer processing and implementation can exhibit unique resource usage patterns. We proposes a dynamic threshold scaling mechanism that can tailor thresholds according to each VNF's characteristic. As setting thresholds is a per-VNF task, and requires a deep understanding of workload trends and the diversity of each VNF, so we have added tailor-made features to the traditional dynamic mechanism. Besides, we also reserve resources by predicting workload and add an emergency module to cope with anomaly traffic, that is to say we develop a hybrid scaling policy combining proactive and reactive scaling together. Moreover, the sharp rise of network traffic not only can be caused by large amount of new incoming flows, but also can be induced by the growing of existing flows. If the traffic arises mainly due to the growing of existing flows, then only rerouting new flows can not alleviate the overload quickly and SLAs may be violated \cite{zhang2016co}. The only method to avoid SLA violations is to migrate flows and associated NF internal states quickly and safely from existing instances to new scaled instances, so state migration is an important part of the scaling procedure. We achieved the flow migration in scaling process on openNF to guarantee the accuracy and timeline of scaling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。