Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jun 2016 14:55:58 +0200
From:      Yuri Iozzelli <y.iozzelli@gmail.com>
To:        soc-status@freebsd.org
Subject:   High Performance P4 Software Switch - Week 2
Message-ID:  <CAPSqqEkcUxNJY9CMWvTFjQLSDNZztpXY78y-yFpU-yJK%2BYEjAw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 fixed compilation in freebsd and tested it successfully.

I added support for netmap in packet I/O handling, and it is switchable
with original pcap with a command line argument.

I added some functions to collect performance data and using netmap indeed
speeds up the system.

Overall it is still slow so I am working to find the new bottlenecks.


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

Regards,
Yuri Iozzelli



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPSqqEkcUxNJY9CMWvTFjQLSDNZztpXY78y-yFpU-yJK%2BYEjAw>