created | 2024-07-29T20:13:01Z |
---|---|
begin | 2024-07-26T07:55:23Z |
end | 2024-07-26T14:38:20Z |
path | src/sys |
commits | 1 |
date | 2024-07-26T14:38:20Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in_proto.c | log | diff | annotate |
src/sys/netinet6/in6_proto.c | log | diff | annotate | |
message |
Run UDP input on multiple CPU in parallel. The socket layer of UDP has been made fully MP safe. UDP output is MP safe for a while. mvs@ has fixed the missing pieces in socket splicing recently. This means that complete UDP stack can be processed by multiple threads now. Activate multi processing for udp_input() when called with IPv4 or IPv6 packets. Usually IP processing runs on multiple softnet threads with shared net lock. From there local packets are queued and processed by one thread with exclusive net lock. If the PR_MPINPUT flag is set, protocol input is called directly from IP input on multiple threads, with shared net lock and no additional queueing. tested by Hrvoje Popovski; OK mvs@ |