Date: Mon, 20 Jun 2016 15:07:46 +0200 From: Yuri Iozzelli <y.iozzelli@gmail.com> To: soc-status@freebsd.org Subject: High Performance P4 Software Switch - Week 4 Message-ID: <CAPSqqEntfvKqcc6NP%2B6Vos007qWc-z9v3S6drUiks1Qw3Y1R4Q@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 4 ========================= I replaced default malloc implementation with tcmalloc, because it performs better when most object are created in one thread and destroyed in another. I implemented a lock-free single producer/single consumer queue to replace the default one (which uses a mutex for push/pop operations), for a substantial performance improvement. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* branches): 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?CAPSqqEntfvKqcc6NP%2B6Vos007qWc-z9v3S6drUiks1Qw3Y1R4Q>