d2k17 hackathon report: Martin Pieuchot on moving the network stack out of the big lock
Contributed by pitrh on Thu Jun 29 09:39:23 2017 (GMT)
from the forward me unlocked dept.
Our next report from the d2k17 hackathon comes from Martin Pieuchot, who writes:
Hackathons are generally good to start or finish something, at Starnberg
I managed to do both.
I came to unlock the forwarding path and thanks to the multiple reviews
from bluhm@, sashan@ and claudio@ it happened! It started as a boring
hackathon because I had to review and fix all the abuses of splnet() in
pseudo drivers but then it went very smoothly. I still haven't seen
a bug report about the unlock and Hrvoje Popovski even reported a 20%
forwarding performance increase.
Then I started discussing and planning the next big step with claudio@
and bluhm@. How to unlock the socket layer? Well it's happening!
During the hackathon Claudio sent some diffs to start unlocking pfkey
and routing sockets and since then I started working on TCP receive
In the meantime I had to commit my futex(2) based mutex and
implementations for our libpthread. This improves the
performance of threaded applications a lot, which means most of ports.
I also did some cleanups to help towards having MI mutex and kernel
lock implementations. This should allow all our archs to benefit
from the lock instrumentations visa@ and jmatthew@ are working on.
Finally I committed some ddb(4) cleanups, mostly CTF related.
Thanks to mpf@ and genua for organizing this hackathon!
Thanks for the report, Martin!
It is worth noting that most, if not all, of the code mentioned here is already doing good work in recent snapshots.
<< d2k17 Hackathon Report: Alexander Bluhm on Network Stack Improvements and more | Reply | Threaded | BSDCan 2017 - Trip report double-p >>
Add Story |
Copyright © 2004-2008
All rights reserved.
Articles and comments are copyright their respective authors,
submission implies license to publish on this web site.
Contents of the archive prior to April 2nd 2004 as well as images
and HTML templates were copied from the fabulous original
Jim's kind permission.
Some icons from slashdot.org
used with permission from Kathleen.
This journal runs as CGI with
on OpenBSD, the
source code is
Search engine is ht://Dig.
undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]