SlideShare a Scribd company logo
TiReX: Tiled Regular eXpressions
matching architecture
Virtual NGC - Taverne d’Arbia (SI)
July 19, 2020
Filippo Carloni, Davide Conficconi, Alessandro Comodi, Alberto Scolari, Marco Santambrogio
{filippo.carloni, alessandro.comodi} @mail.polimi.it,
{davide.conficconi, alberto.scolari, marco.santambrogio} @polimi.it
2
Context Definition
3
Context Definition
Search Engine
Web PagesUsers
4
Context Definition
Search Engine
Web Pages
Packets Analysis
Accepted
Packets
Rejected
Packets
Entering
PacketsUsers
5
Context Definition
Search Engine
Web Pages
Packets Analysis
Accepted
Packets
Rejected
Packets
Entering
Packets
Genetic Market Research
Patient DNA Personalized MedicineDNA Analysis
Users
6
Context Definition
Regular Expressions
(ACGT|AC)*TT
7
Current Issues
Flexibility
Performance
8
Current Issues
Flexibility
Performance
Possible Solution
9
Related Works
NFA Directly implemented
Fixed architecture relative to one RE
Very fast
Too Space for the NFA for large RE
One character at time for base
implementation
10
Proposed Solution
Customized Instruction Set Architecture (ISA)
Custom processor written in VHDL and implemented on a FPGA
Multi-core architecture
11
Flow of RE
Regular
Expression
Compiler
1 & ACGT
2 JIM offset
3 (
4 |)* AC
5 & TT
ACGTCGGGGCGTGCAAATGCCCCGTGCGATTTGCGTGACGTCGGGGCGTGCAAATGCCCC
GTGCGATTTGCGTGACGTCGGGGCGTGCAAATGCCCCGTGCGATTTGCGTGACGTCGGGG
CGTGCAAATGCCCCGTGCGATTTGCGTGCGTGCGATTTGCGTGACGTCGGGGCGTGCAAA
CGTGCGATTTGCGTGACGTCGGGGCGTGCAAAGCTCGATCGATCGATCGA.
Data
Instruction
Set
Match results
12
The Compiler
Regular Expression Compiler
1 & ACGT
2 JIM
offset
3 (
4 |)* AC
5 & TT
Instruction Set
(ACGT|AC)*TT
1. Lexical Analyzer
2. Code Transformation
3. Code Optimization
13
Single Core
Architecture
14
Board Test 1 Test 2 Test 3
Flex
Intel i7, 2.80 GHz
Exec. Time [µs] 271 121 263
Speedup 1X 1X 1X
Grep (Xeon)
Exec. Time [µs] 205 108.11 336.73
Speedup 1.32X 1.11X 0.78X
PYNQ-Z1
8-core, 70.5 MHz
Exec. Time [µs] 7.2 8.21 30.3
Speedup 37.63X 14.73X 8.67X
VC707
16-core, 130.1 MHz
Exec. Time [µs] 2.07 4.54 3.36
Speedup 130.9X 26.65X 78.27X
VU9P (AWS)
16-core, 202.7 MHz
Exec.Time [µs] 1.03 0.75 2.96
Speedup 263.11X 161.33X 88.85X
Performance Analysis
Latency Dataset
Baseline
15
Summary
Fast
Flexible (Customized ISA)
Cross-Platform Design
Strength Points
Multi-core possibility
16
Summary
Fast
Flexible (Customized ISA)
Cross-Platform Design
Strength Points
Multi-core possibility
Cover more types of regular
expression
Fix corner case bugs
Work in progress ...
Nondeterministic version
17
Thank you
Questions?
Contacts
Filippo Carloni, Davide Conficconi, Alessandro Comodi, Alberto Scolari, Marco Santambrogio
{filippo.carloni, alessandro.comodi} @mail.polimi.it,
{davide.conficconi, alberto.scolari, marco.santambrogio} @polimi.it

More Related Content

Similar to TiReX: Tiled Regular eXpressionsmatching architecture (20)

PDF
SDVIs and In-Situ Visualization on TACC's Stampede
Intel® Software
 
PDF
tezos_hands-on-training.pdf
Neven6
 
PDF
Michael_Kogan_portfolio
Michael Kogan
 
PDF
Michael_Kogan_portfolio
Michael Kogan
 
PDF
Richard - 6G Symposium.pdf
Richard Renwei Li
 
PDF
High Performance Reconfigurable Computing at NECSTLab
NECST Lab @ Politecnico di Milano
 
PDF
DReAMS: High Performance Reconfigurable Computing at NECSTLab
NECST Lab @ Politecnico di Milano
 
PDF
Saving Human Lives with the IoT
Dat Tran
 
PPTX
Modeling self-adaptative IoT architectures
Iván Alfonso
 
PDF
Database Research at TU Berlin DIMA and DFKI IAM - USA Excursion Slides 2019
Jonas Traub
 
PDF
Horizontal Requirement Engineering in Integration of Multiple IoT Use Cases o...
Toshihiko Yamakami
 
PDF
OpenShift Kubernetes Native Infrastructure for 5GC and Telco Edge Cloud
Hidetsugu Sugiyama
 
PDF
Transforming deep into transformers – a computer vision approach
Ferdin Joe John Joseph PhD
 
PDF
DRACO - Domain specific Reconfigurable Architecture Computer Organization
NECST Lab @ Politecnico di Milano
 
PDF
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
inside-BigData.com
 
PPTX
Container Networking Meetup March 31 2016
Andrew Randall
 
PDF
An Architecture for Implementing Private Local Automation Clouds Built by CPS
FAST-Lab. Factory Automation Systems and Technologies Laboratory, Tampere University of Technology
 
PDF
Introduction of IPv6NET in Tridentcom 2014
Marius Georgescu
 
PDF
Shantanu's Resume
Shantanu Telharkar
 
PDF
Data Plane Evolution: Towards Openness and Flexibility
APNIC
 
SDVIs and In-Situ Visualization on TACC's Stampede
Intel® Software
 
tezos_hands-on-training.pdf
Neven6
 
Michael_Kogan_portfolio
Michael Kogan
 
Michael_Kogan_portfolio
Michael Kogan
 
Richard - 6G Symposium.pdf
Richard Renwei Li
 
High Performance Reconfigurable Computing at NECSTLab
NECST Lab @ Politecnico di Milano
 
DReAMS: High Performance Reconfigurable Computing at NECSTLab
NECST Lab @ Politecnico di Milano
 
Saving Human Lives with the IoT
Dat Tran
 
Modeling self-adaptative IoT architectures
Iván Alfonso
 
Database Research at TU Berlin DIMA and DFKI IAM - USA Excursion Slides 2019
Jonas Traub
 
Horizontal Requirement Engineering in Integration of Multiple IoT Use Cases o...
Toshihiko Yamakami
 
OpenShift Kubernetes Native Infrastructure for 5GC and Telco Edge Cloud
Hidetsugu Sugiyama
 
Transforming deep into transformers – a computer vision approach
Ferdin Joe John Joseph PhD
 
DRACO - Domain specific Reconfigurable Architecture Computer Organization
NECST Lab @ Politecnico di Milano
 
40 Powers of 10 - Simulating the Universe with the DiRAC HPC Facility
inside-BigData.com
 
Container Networking Meetup March 31 2016
Andrew Randall
 
An Architecture for Implementing Private Local Automation Clouds Built by CPS
FAST-Lab. Factory Automation Systems and Technologies Laboratory, Tampere University of Technology
 
Introduction of IPv6NET in Tridentcom 2014
Marius Georgescu
 
Shantanu's Resume
Shantanu Telharkar
 
Data Plane Evolution: Towards Openness and Flexibility
APNIC
 

More from NECST Lab @ Politecnico di Milano (20)

PDF
Mesticheria Team - WiiReflex
NECST Lab @ Politecnico di Milano
 
PPTX
Punto e virgola Team - Stressometro
NECST Lab @ Politecnico di Milano
 
PDF
BitIt Team - Stay.straight
NECST Lab @ Politecnico di Milano
 
PDF
BabYodini Team - Talking Gloves
NECST Lab @ Politecnico di Milano
 
PDF
printf("Nome Squadra"); Team - NeoTon
NECST Lab @ Politecnico di Milano
 
PPTX
BlackBoard Team - Motion Tracking Platform
NECST Lab @ Politecnico di Milano
 
PDF
#include<brain.h> Team - HomeBeatHome
NECST Lab @ Politecnico di Milano
 
PDF
Flipflops Team - Wave U
NECST Lab @ Politecnico di Milano
 
PDF
Bug(atta) Team - Little Brother
NECST Lab @ Politecnico di Milano
 
PDF
#NECSTCamp: come partecipare
NECST Lab @ Politecnico di Milano
 
PDF
NECSTLab101 2020.2021
NECST Lab @ Politecnico di Milano
 
PDF
TreeHouse, nourish your community
NECST Lab @ Politecnico di Milano
 
PDF
Embedding based knowledge graph link prediction for drug repurposing
NECST Lab @ Politecnico di Milano
 
PDF
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
NECST Lab @ Politecnico di Milano
 
PDF
EMPhASIS - An EMbedded Public Attention Stress Identification System
NECST Lab @ Politecnico di Milano
 
PDF
Luns - Automatic lungs segmentation through neural network
NECST Lab @ Politecnico di Milano
 
PDF
BlastFunction: How to combine Serverless and FPGAs
NECST Lab @ Politecnico di Milano
 
PDF
Maeve - Fast genome analysis leveraging exact string matching
NECST Lab @ Politecnico di Milano
 
PDF
EMoCy - Emotions Monitoring via wearable Computing System
NECST Lab @ Politecnico di Milano
 
Mesticheria Team - WiiReflex
NECST Lab @ Politecnico di Milano
 
Punto e virgola Team - Stressometro
NECST Lab @ Politecnico di Milano
 
BitIt Team - Stay.straight
NECST Lab @ Politecnico di Milano
 
BabYodini Team - Talking Gloves
NECST Lab @ Politecnico di Milano
 
printf("Nome Squadra"); Team - NeoTon
NECST Lab @ Politecnico di Milano
 
BlackBoard Team - Motion Tracking Platform
NECST Lab @ Politecnico di Milano
 
#include<brain.h> Team - HomeBeatHome
NECST Lab @ Politecnico di Milano
 
Flipflops Team - Wave U
NECST Lab @ Politecnico di Milano
 
Bug(atta) Team - Little Brother
NECST Lab @ Politecnico di Milano
 
#NECSTCamp: come partecipare
NECST Lab @ Politecnico di Milano
 
NECSTLab101 2020.2021
NECST Lab @ Politecnico di Milano
 
TreeHouse, nourish your community
NECST Lab @ Politecnico di Milano
 
Embedding based knowledge graph link prediction for drug repurposing
NECST Lab @ Politecnico di Milano
 
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
NECST Lab @ Politecnico di Milano
 
EMPhASIS - An EMbedded Public Attention Stress Identification System
NECST Lab @ Politecnico di Milano
 
Luns - Automatic lungs segmentation through neural network
NECST Lab @ Politecnico di Milano
 
BlastFunction: How to combine Serverless and FPGAs
NECST Lab @ Politecnico di Milano
 
Maeve - Fast genome analysis leveraging exact string matching
NECST Lab @ Politecnico di Milano
 
EMoCy - Emotions Monitoring via wearable Computing System
NECST Lab @ Politecnico di Milano
 
Ad

Recently uploaded (20)

PPTX
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PDF
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPT
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Product Development & DevelopmentLecture02.pptx
zeeshanwazir2
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Day2 B2 Best.pptx
helenjenefa1
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Basic_Concepts_in_Clinical_Biochemistry_2018كيمياء_عملي.pdf
AdelLoin
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPT2_Metal formingMECHANICALENGINEEIRNG .ppt
Praveen Kumar
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Ad

TiReX: Tiled Regular eXpressionsmatching architecture