FlowShader: a Generalized Framework for GPU-accelerated VNF Flow Processing

Xiaodong Yi, Junjie Wang, Jingpu Duan, Wei Bai, Chuan Wu, Y. Xiong, Dongsu Han
{"title":"FlowShader: a Generalized Framework for GPU-accelerated VNF Flow Processing","authors":"Xiaodong Yi, Junjie Wang, Jingpu Duan, Wei Bai, Chuan Wu, Y. Xiong, Dongsu Han","doi":"10.1109/ICNP.2019.8888129","DOIUrl":null,"url":null,"abstract":"GPU acceleration has been widely investigated for packet processing in virtual network functions (NFs), but not for L7 flow-processing NFs. In L7 NFs, reassembled TCP messages of the same flow should be processed in order in the same processing thread, and the uneven sizes among flows pose a major challenge for full realization of GPU’s parallel computation power.To exploit GPUs for L7 NF processing, this paper presents FlowShader, a GPU acceleration framework to achieve both high generality and throughput even under skewed flow size distributions. We carefully design an efficient scheduling algorithm that fully exploits available GPU and CPU capacities; in particular, we dispatch large flows which seriously break up the size balance to CPU and the rest of flows to GPU. Furthermore, FlowShader allows similar NF logic (as CPU-based NFs) to run on individual threads in a GPU, which is more generalized and easy to take on as compared to redesigning an NF for operation parallelism on GPU. We implemented a number of L7 flow processing NFs based on FlowShader. Evaluations are conducted under both synthetic and real-world traffic traces and results show that the throughput achieved by FlowShader is up to 6x that of the CPU-only baseline and 3x of the GPU-only design.","PeriodicalId":385397,"journal":{"name":"2019 IEEE 27th International Conference on Network Protocols (ICNP)","volume":"117 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-10-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 27th International Conference on Network Protocols (ICNP)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICNP.2019.8888129","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

GPU acceleration has been widely investigated for packet processing in virtual network functions (NFs), but not for L7 flow-processing NFs. In L7 NFs, reassembled TCP messages of the same flow should be processed in order in the same processing thread, and the uneven sizes among flows pose a major challenge for full realization of GPU’s parallel computation power.To exploit GPUs for L7 NF processing, this paper presents FlowShader, a GPU acceleration framework to achieve both high generality and throughput even under skewed flow size distributions. We carefully design an efficient scheduling algorithm that fully exploits available GPU and CPU capacities; in particular, we dispatch large flows which seriously break up the size balance to CPU and the rest of flows to GPU. Furthermore, FlowShader allows similar NF logic (as CPU-based NFs) to run on individual threads in a GPU, which is more generalized and easy to take on as compared to redesigning an NF for operation parallelism on GPU. We implemented a number of L7 flow processing NFs based on FlowShader. Evaluations are conducted under both synthetic and real-world traffic traces and results show that the throughput achieved by FlowShader is up to 6x that of the CPU-only baseline and 3x of the GPU-only design.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
FlowShader: gpu加速VNF流处理的通用框架
GPU加速在虚拟网络函数(NFs)中的数据包处理方面已经得到了广泛的研究,但在L7流处理NFs方面还没有得到广泛的研究。在L7 NFs中,同一流的重组TCP消息需要在同一处理线程中依次处理,流之间的大小不均匀对GPU的并行计算能力的充分实现提出了重大挑战。为了利用GPU进行L7 NF处理,本文提出了FlowShader,一个GPU加速框架,即使在扭曲的流量大小分布下也能实现高通用性和吞吐量。我们精心设计了一个高效的调度算法,充分利用可用的GPU和CPU容量;特别是,我们调度的大流量严重破坏了CPU的大小平衡,而其余的流量则分配给GPU。此外,FlowShader允许类似的NF逻辑(作为基于cpu的NFs)在GPU的单个线程上运行,这比在GPU上为操作并行性重新设计NF更通用,更容易实现。我们基于FlowShader实现了许多L7流处理NFs。在合成和真实流量跟踪下进行评估,结果表明FlowShader实现的吞吐量高达仅cpu基线的6倍和仅gpu设计的3倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
FlowShader: a Generalized Framework for GPU-accelerated VNF Flow Processing Programmable Optical x-Haul Network in the COSMOS Testbed SAFE-ME: Scalable and Flexible Middlebox Policy Enforcement with Software Defined Networking Unveil the Hidden Presence: Characterizing the Backend Interface of Content Delivery Networks Graph-based Namespaces and Load Sharing for Efficient Information Dissemination in Disasters
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1