diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-05-03 14:52:40 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-05-03 14:52:40 +0000 |
commit | 3d0b8d6e7a44e43ce59c7d5f5f75856a5bf5b741 (patch) | |
tree | e788d7751c024bf57b47ec6accce3bc7e171877a /etc/Makefile.inc | |
parent | 7bdb7a16a9a6ea445b9c102be7d3a8458865e3ed (diff) |
Stop using a soft-interrupt context to process incoming network packets.
Use a new task that runs holding the KERNEL_LOCK to execute mp-unsafe
code. Our current goal is to progressively move input functions to the
unlocked task.
This gives a small performance boost confirmed by Hrvoje Popovski's
IPv4 forwarding measurement:
before: after:
send receive send receive
400kpps 400kpps 400kpps 400kpps
500kpps 500kpps 500kpps 500kpps
600kpps 600kpps 600kpps 600kpps
650kpps 650kpps 650kpps 640kpps
700kpps 700kpps 700kpps 700kpps
720kpps 640kpps 720kpps 710kpps
800kpps 640kpps 800kpps 650kpps
1.4Mpps 570kpps 1.4Mpps 590kpps
14Mpps 570kpps 14Mpps 590kpps
ok kettenis@, bluhm@, dlg@
Diffstat (limited to 'etc/Makefile.inc')
0 files changed, 0 insertions, 0 deletions