Skip to content

p4-programs/SketchLearn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SketchLearn

OpenVSwitch

  1. Install SketchLearn extensions for OpenVSwitch 2.7.3

Move all files in openvswtich/ to your OpenVSwitch directory

  • openvswitch/datapath includes kernel-based OpenVSwitch Datapath extension
  • openvswitch/lib includes OpenVSwitch DPDK extension
  1. Compile user-space data plane programs

Run make, two files will be generated:

  • dp_ovs extracts packets from kernel-based Datapath and updates SketchLearn multi-level sketch
  • dp_ovs extracts packets from OVS-DPDK and updates SketchLearn multi-level sketch

Simulation

Run make to generate dp_simulate, it reads packets from traces and updates SketchLearn multi-level sketch

P4

all in p4/ directory, it can be compiled and executed in bmv2 target

Controller

Run make to generate the controller program, it reads sketch results specified in config.ini and performs inference and queries

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 53.5%
  • Makefile 43.8%
  • P4 2.7%