Graphed and measured: running TCP input in parallel
by from OpenBSD Journal on (#6WQ6Y)
Over on tech@, Alexander Bluhm (bluhm@) is airing a patch to improve parallel TCP input, and is looking for testers:
List: openbsd-techSubject: running TCP input in parallelFrom: Alexander Bluhm <bluhm () openbsd ! org>Date: 2025-04-17 16:53:19Hi,To run tcp_input() in parallel efficently, we have to lock thesocket in a smart way. I have measured multiple variants.http://bluhm.genua.de/perform/results/2025-04-16T09:33:58Z/perform.htmlThe relevant TCP graph is here.http://bluhm.genua.de/perform/results/2025-04-16T09:33:58Z/gnuplot/tcp.htmlhttp://bluhm.genua.de/perform/results/2025-04-16T09:33:58Z/gnuplot/tcp6.htmlFirst column (left) is no locking at all, just exclusive net lock.