Towards Machine Learning Inference in the Data Plane
2019 (engelsk)Independent thesis Basic level (degree of Bachelor), 10 poäng / 15 hp
Oppgave
Abstract [en]
Recently, machine learning has been considered an important tool for various networkingrelated use cases such as intrusion detection, flow classification, etc. Traditionally, machinelearning based classification algorithms run on dedicated machines that are outside of thefast path, e.g. on Deep Packet Inspection boxes, etc. This imposes additional latency inorder to detect threats or classify the flows.With the recent advance of programmable data planes, implementing advanced function-ality directly in the fast path is now a possibility. In this thesis, we propose to implementArtificial Neural Network inference together with flow metadata extraction directly in thedata plane of P4 programmable switches, routers, or Network Interface Cards (NICs).We design a P4 pipeline, optimize the memory and computational operations for our dataplane target, a programmable NIC with Micro-C external support. The results show thatneural networks of a reasonable size (i.e. 3 hidden layers with 30 neurons each) can pro-cess flows totaling over a million packets per second, while the packet latency impact fromextracting a total of 46 features is 1.85μs.
sted, utgiver, år, opplag, sider
2019.
Emneord [en]
Machine learning Data Plane SmartNIC Artificial Neural Network Inference Flow Classification
HSV kategori
Identifikatorer
URN: urn:nbn:se:kau:diva-72875OAI: oai:DiVA.org:kau-72875DiVA, id: diva2:1328601
Fag / kurs
Computer Science
Utdanningsprogram
Engineering: Computer Engineering (300 ECTS credits)
Presentation
2019-06-03, 10:00 (engelsk)
Veileder
Examiner
Prosjekter
HITS, 47072019-06-262019-06-212020-02-14bibliografisk kontrollert