CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2016/05/03 08:52:39

Modified files:
        sys/conf       : files 
        sys/kern       : init_main.c 
        sys/net        : if.c netisr.h 
Removed files:
        sys/net        : netisr.c 

Log message:
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@

Reply via email to