Overview
Syllabus
Intro
Let's try to run sketches on programmable switches
Sketch is inefficient or infeasible on programmable switch
Our work: Sketchlib bridges the gap!
Outline
Two background questions for bottleneck analysis
Sketches have four common steps
Sketch imposes burden on hardware resources
Hash calls and SALUs are resource bottlenecks
Overview of optimizations and SketchLib API
01. Consolidate short hash calls
05. Remove unnecessary SALU allocation
End-to-end code example
Applicability of SketchLib
Sketchlib reduces resource bottlenecks
Sketch Lib preserves accuracy
Conclusion
Taught by
USENIX