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 /sys/conf | |
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 'sys/conf')
-rw-r--r-- | sys/conf/files | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/conf/files b/sys/conf/files index d22604bc13b..a061c7f0a0e 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -1,4 +1,4 @@ -# $OpenBSD: files,v 1.618 2016/04/25 20:09:14 tedu Exp $ +# $OpenBSD: files,v 1.619 2016/05/03 14:52:39 mpi Exp $ # $NetBSD: files,v 1.87 1996/05/19 17:17:50 jonathan Exp $ # @(#)files.newconf 7.5 (Berkeley) 5/10/93 @@ -763,7 +763,6 @@ file net/if_spppsubr.c sppp file net/if_loop.c loop file net/if_media.c ifmedia file net/if_ppp.c ppp needs-count -file net/netisr.c file net/ppp_tty.c ppp file net/bsd-comp.c ppp_bsdcomp file net/ppp-deflate.c ppp_deflate |