On the (dis)Advantages of Programmable NICs for Network Security Services

Jack Zhao, M. Neves, I. Haque
{"title":"On the (dis)Advantages of Programmable NICs for Network Security Services","authors":"Jack Zhao, M. Neves, I. Haque","doi":"10.23919/IFIPNetworking57963.2023.10186433","DOIUrl":null,"url":null,"abstract":"Emerging programmable network interface cards (a.k.a. SmartNICs) are a viable alternative to reduce the gap between network bandwidths, currently at the scale of multi-hundred Gbps, and the server CPU processing capacity. This has rapidly led to many efforts exploring SmartNICs for offloading or accelerating applications that traditionally run solely on servers (e.g., key-value stores, data analytics). Despite the success of this paradigm, the suitability of SmartNICs for running security applications, specially those that heavily rely on cryptographic operations, still remains largely unstudied. In this paper, we aim at filling this gap and provide the first in-depth analysis of current SmartNICs' crypto capabilities. Our experiments with an ARM-based multi-core SmartNIC show that the device depends heavily on architecture enhancements (e.g., cryptographic instructions and hardware accelerators) to meet server performance on crypto-workloads. Moreover, data movements between the SmartNIC and crypto-hardware accelerator cores can introduce significant overhead and make the latter ineffective, particularly for short living tasks. From a service perspective, SmartNICs can take advantage of their privileged position (i.e., closer to client devices than server CPUs) to speed up crypto-based functions. However, the SmartNIC benefits can be easily outweighed if the application is too much data-intensive or includes several noncrypto tasks.","PeriodicalId":31737,"journal":{"name":"Edutech","volume":"1 1","pages":"1-9"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Edutech","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/IFIPNetworking57963.2023.10186433","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Emerging programmable network interface cards (a.k.a. SmartNICs) are a viable alternative to reduce the gap between network bandwidths, currently at the scale of multi-hundred Gbps, and the server CPU processing capacity. This has rapidly led to many efforts exploring SmartNICs for offloading or accelerating applications that traditionally run solely on servers (e.g., key-value stores, data analytics). Despite the success of this paradigm, the suitability of SmartNICs for running security applications, specially those that heavily rely on cryptographic operations, still remains largely unstudied. In this paper, we aim at filling this gap and provide the first in-depth analysis of current SmartNICs' crypto capabilities. Our experiments with an ARM-based multi-core SmartNIC show that the device depends heavily on architecture enhancements (e.g., cryptographic instructions and hardware accelerators) to meet server performance on crypto-workloads. Moreover, data movements between the SmartNIC and crypto-hardware accelerator cores can introduce significant overhead and make the latter ineffective, particularly for short living tasks. From a service perspective, SmartNICs can take advantage of their privileged position (i.e., closer to client devices than server CPUs) to speed up crypto-based functions. However, the SmartNIC benefits can be easily outweighed if the application is too much data-intensive or includes several noncrypto tasks.
论可编程网卡在网络安全服务中的优势
新兴的可编程网络接口卡(又称smartnic)是缩小网络带宽与服务器CPU处理能力之间差距的可行选择,目前网络带宽的规模为数百Gbps。这迅速导致许多人努力探索smartnic,以卸载或加速传统上仅在服务器上运行的应用程序(例如,键值存储,数据分析)。尽管这种模式取得了成功,但smartnic对于运行安全应用程序的适用性,特别是那些严重依赖加密操作的应用程序的适用性,在很大程度上仍未得到研究。在本文中,我们旨在填补这一空白,并对当前smartnic的加密功能进行首次深入分析。我们对基于arm的多核SmartNIC的实验表明,该设备在很大程度上依赖于架构增强(例如,加密指令和硬件加速器)来满足加密工作负载上的服务器性能。此外,SmartNIC和加密硬件加速器核心之间的数据移动可能会带来巨大的开销,并使后者无效,特别是对于短期任务。从服务的角度来看,smartnic可以利用其特权地位(即,比服务器cpu更接近客户端设备)来加速基于加密的功能。然而,如果应用程序过于数据密集型或包含多个非加密任务,那么SmartNIC的好处很容易被抵消。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
审稿时长
4 weeks
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书