Cora: Accelerating Stateful Network Applications with SmartNICs
With the growing performance requirements on networked applications, there is a new trend of offloading stateful network applications to SmartNICs to improve performance and reduce the total cost of ownership. However, offloading stateful network applications is non-trivial due to state operation co...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Xi, Shaoke Gao, Jiaqi Liu, Mengqi Cao, Jiamin Li, Fuliang Bu, Kai Ren, Kui Yu, Minlan Cai, Dennis Zhai, Ennan |
description | With the growing performance requirements on networked applications, there is
a new trend of offloading stateful network applications to SmartNICs to improve
performance and reduce the total cost of ownership. However, offloading
stateful network applications is non-trivial due to state operation complexity,
state resource consumption, and the complicated relationship between traffic
and state. Naively partitioning the program by state or traffic can result in a
suboptimal partition plan with higher CPU usage or even packet drops. In this
paper, we propose Cora, a compiler and runtime that offloads stateful network
applications to SmartNIC-accelerated hosts. Cora compiler introduces an
accurate performance model for each SmartNIC and employs an efficient compiling
algorithm to search the offloading plan. Cora runtime can monitor traffic
dynamics and adapt to minimize CPU usage. Cora is built atop Netronome Agilio
and BlueField 2 SmartNICs. Our evaluation shows that for the same throughput
target, Cora can propose partition plans saving up to 94.0% CPU cores, 1.9
times more than baseline solutions. Under the same resource constraint, Cora
can accelerate network functions by 44.9%-82.3%. Cora runtime can adapt to
traffic changes and keep CPU usage low. |
doi_str_mv | 10.48550/arxiv.2410.22229 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2410_22229</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2410_22229</sourcerecordid><originalsourceid>FETCH-arxiv_primary_2410_222293</originalsourceid><addsrcrecordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMgEKGAGBJSeDvXN-UaKVgmNycmpOalFiSWZeukJwSWJJalppjoJfakl5flG2gmNBQU5mMlAyP69YoTyzJEMhODexqMTP07mYh4E1LTGnOJUXSnMzyLu5hjh76IKtii8oygSqrIwHWRkPttKYsAoAoFE2JQ</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Cora: Accelerating Stateful Network Applications with SmartNICs</title><source>arXiv.org</source><creator>Xi, Shaoke ; Gao, Jiaqi ; Liu, Mengqi ; Cao, Jiamin ; Li, Fuliang ; Bu, Kai ; Ren, Kui ; Yu, Minlan ; Cai, Dennis ; Zhai, Ennan</creator><creatorcontrib>Xi, Shaoke ; Gao, Jiaqi ; Liu, Mengqi ; Cao, Jiamin ; Li, Fuliang ; Bu, Kai ; Ren, Kui ; Yu, Minlan ; Cai, Dennis ; Zhai, Ennan</creatorcontrib><description>With the growing performance requirements on networked applications, there is
a new trend of offloading stateful network applications to SmartNICs to improve
performance and reduce the total cost of ownership. However, offloading
stateful network applications is non-trivial due to state operation complexity,
state resource consumption, and the complicated relationship between traffic
and state. Naively partitioning the program by state or traffic can result in a
suboptimal partition plan with higher CPU usage or even packet drops. In this
paper, we propose Cora, a compiler and runtime that offloads stateful network
applications to SmartNIC-accelerated hosts. Cora compiler introduces an
accurate performance model for each SmartNIC and employs an efficient compiling
algorithm to search the offloading plan. Cora runtime can monitor traffic
dynamics and adapt to minimize CPU usage. Cora is built atop Netronome Agilio
and BlueField 2 SmartNICs. Our evaluation shows that for the same throughput
target, Cora can propose partition plans saving up to 94.0% CPU cores, 1.9
times more than baseline solutions. Under the same resource constraint, Cora
can accelerate network functions by 44.9%-82.3%. Cora runtime can adapt to
traffic changes and keep CPU usage low.</description><identifier>DOI: 10.48550/arxiv.2410.22229</identifier><language>eng</language><subject>Computer Science - Computation and Language ; Computer Science - Networking and Internet Architecture</subject><creationdate>2024-10</creationdate><rights>http://arxiv.org/licenses/nonexclusive-distrib/1.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,780,885</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2410.22229$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2410.22229$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Xi, Shaoke</creatorcontrib><creatorcontrib>Gao, Jiaqi</creatorcontrib><creatorcontrib>Liu, Mengqi</creatorcontrib><creatorcontrib>Cao, Jiamin</creatorcontrib><creatorcontrib>Li, Fuliang</creatorcontrib><creatorcontrib>Bu, Kai</creatorcontrib><creatorcontrib>Ren, Kui</creatorcontrib><creatorcontrib>Yu, Minlan</creatorcontrib><creatorcontrib>Cai, Dennis</creatorcontrib><creatorcontrib>Zhai, Ennan</creatorcontrib><title>Cora: Accelerating Stateful Network Applications with SmartNICs</title><description>With the growing performance requirements on networked applications, there is
a new trend of offloading stateful network applications to SmartNICs to improve
performance and reduce the total cost of ownership. However, offloading
stateful network applications is non-trivial due to state operation complexity,
state resource consumption, and the complicated relationship between traffic
and state. Naively partitioning the program by state or traffic can result in a
suboptimal partition plan with higher CPU usage or even packet drops. In this
paper, we propose Cora, a compiler and runtime that offloads stateful network
applications to SmartNIC-accelerated hosts. Cora compiler introduces an
accurate performance model for each SmartNIC and employs an efficient compiling
algorithm to search the offloading plan. Cora runtime can monitor traffic
dynamics and adapt to minimize CPU usage. Cora is built atop Netronome Agilio
and BlueField 2 SmartNICs. Our evaluation shows that for the same throughput
target, Cora can propose partition plans saving up to 94.0% CPU cores, 1.9
times more than baseline solutions. Under the same resource constraint, Cora
can accelerate network functions by 44.9%-82.3%. Cora runtime can adapt to
traffic changes and keep CPU usage low.</description><subject>Computer Science - Computation and Language</subject><subject>Computer Science - Networking and Internet Architecture</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNpjYJA0NNAzsTA1NdBPLKrILNMzMgEKGAGBJSeDvXN-UaKVgmNycmpOalFiSWZeukJwSWJJalppjoJfakl5flG2gmNBQU5mMlAyP69YoTyzJEMhODexqMTP07mYh4E1LTGnOJUXSnMzyLu5hjh76IKtii8oygSqrIwHWRkPttKYsAoAoFE2JQ</recordid><startdate>20241029</startdate><enddate>20241029</enddate><creator>Xi, Shaoke</creator><creator>Gao, Jiaqi</creator><creator>Liu, Mengqi</creator><creator>Cao, Jiamin</creator><creator>Li, Fuliang</creator><creator>Bu, Kai</creator><creator>Ren, Kui</creator><creator>Yu, Minlan</creator><creator>Cai, Dennis</creator><creator>Zhai, Ennan</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20241029</creationdate><title>Cora: Accelerating Stateful Network Applications with SmartNICs</title><author>Xi, Shaoke ; Gao, Jiaqi ; Liu, Mengqi ; Cao, Jiamin ; Li, Fuliang ; Bu, Kai ; Ren, Kui ; Yu, Minlan ; Cai, Dennis ; Zhai, Ennan</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-arxiv_primary_2410_222293</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Computation and Language</topic><topic>Computer Science - Networking and Internet Architecture</topic><toplevel>online_resources</toplevel><creatorcontrib>Xi, Shaoke</creatorcontrib><creatorcontrib>Gao, Jiaqi</creatorcontrib><creatorcontrib>Liu, Mengqi</creatorcontrib><creatorcontrib>Cao, Jiamin</creatorcontrib><creatorcontrib>Li, Fuliang</creatorcontrib><creatorcontrib>Bu, Kai</creatorcontrib><creatorcontrib>Ren, Kui</creatorcontrib><creatorcontrib>Yu, Minlan</creatorcontrib><creatorcontrib>Cai, Dennis</creatorcontrib><creatorcontrib>Zhai, Ennan</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Xi, Shaoke</au><au>Gao, Jiaqi</au><au>Liu, Mengqi</au><au>Cao, Jiamin</au><au>Li, Fuliang</au><au>Bu, Kai</au><au>Ren, Kui</au><au>Yu, Minlan</au><au>Cai, Dennis</au><au>Zhai, Ennan</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Cora: Accelerating Stateful Network Applications with SmartNICs</atitle><date>2024-10-29</date><risdate>2024</risdate><abstract>With the growing performance requirements on networked applications, there is
a new trend of offloading stateful network applications to SmartNICs to improve
performance and reduce the total cost of ownership. However, offloading
stateful network applications is non-trivial due to state operation complexity,
state resource consumption, and the complicated relationship between traffic
and state. Naively partitioning the program by state or traffic can result in a
suboptimal partition plan with higher CPU usage or even packet drops. In this
paper, we propose Cora, a compiler and runtime that offloads stateful network
applications to SmartNIC-accelerated hosts. Cora compiler introduces an
accurate performance model for each SmartNIC and employs an efficient compiling
algorithm to search the offloading plan. Cora runtime can monitor traffic
dynamics and adapt to minimize CPU usage. Cora is built atop Netronome Agilio
and BlueField 2 SmartNICs. Our evaluation shows that for the same throughput
target, Cora can propose partition plans saving up to 94.0% CPU cores, 1.9
times more than baseline solutions. Under the same resource constraint, Cora
can accelerate network functions by 44.9%-82.3%. Cora runtime can adapt to
traffic changes and keep CPU usage low.</abstract><doi>10.48550/arxiv.2410.22229</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2410.22229 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2410_22229 |
source | arXiv.org |
subjects | Computer Science - Computation and Language Computer Science - Networking and Internet Architecture |
title | Cora: Accelerating Stateful Network Applications with SmartNICs |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-03T10%3A48%3A50IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Cora:%20Accelerating%20Stateful%20Network%20Applications%20with%20SmartNICs&rft.au=Xi,%20Shaoke&rft.date=2024-10-29&rft_id=info:doi/10.48550/arxiv.2410.22229&rft_dat=%3Carxiv_GOX%3E2410_22229%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |