High Performance P4 Software Switch - Week 3

Yuri Iozzelli y.iozzelli at gmail.com
Tue Jun 14 07:20:20 UTC 2016


Hi

Project summary
========================

In this project I would like to implement a modified version of the
reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for
faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude
speed (current reference implementation is limited to 150 Kpps for a simple
l2 switch with 2 hosts).


Week 2
=========================

I identified the main bottlenecks in the memory management, and wrote
custom new and delete operator for the most allocated classes.
I ran several performance tests and optimized the allocation strategy for
the application. The new bottleneck seems to be the queuing mechanism, that
is currently impemented with locks. I am investigating the use of a
lockless queue.


Links:
  Wiki page:
https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview
 Code (gsoc-* branches):
https://github.com/zarghul/behavioral-model

Regards,
Yuri Iozzelli


More information about the soc-status mailing list